Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V1PersistentVolumeClaim object has no attribute "code" #42

Open
bzurkowski opened this issue Apr 9, 2020 · 0 comments
Open

V1PersistentVolumeClaim object has no attribute "code" #42

bzurkowski opened this issue Apr 9, 2020 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@bzurkowski
Copy link
Member

20:57:26 probe.1 | Unhandled exception
20:57:26 probe.1 | Traceback (most recent call last):
20:57:26 probe.1 |   File "/usr/local/lib/python3.7/site-packages/cotyledon/_utils.py", line 95, in exit_on_exception
20:57:26 probe.1 |     yield
20:57:26 probe.1 |   File "/usr/local/lib/python3.7/site-packages/cotyledon/_service.py", line 139, in _run
20:57:26 probe.1 |     self.run()
20:57:26 probe.1 |   File "/usr/local/lib/python3.7/site-packages/orca/topology/probe.py", line 50, in run
20:57:26 probe.1 |     probe.run()
20:57:26 probe.1 |   File "/usr/local/lib/python3.7/site-packages/orca/topology/probe.py", line 141, in run
20:57:26 probe.1 |     self._upstream_proxy.get_events(handler=self)
20:57:26 probe.1 |   File "/usr/local/lib/python3.7/site-packages/orca/topology/infra/k8s/upstream.py", line 26, in get_events
20:57:26 probe.1 |     for event in self._client.watch():
20:57:26 probe.1 |   File "/usr/local/lib/python3.7/site-packages/orca/common/clients/k8s/client.py", line 133, in watch
20:57:26 probe.1 |     if event_type == 'ERROR' and event_obj.code == 410:
20:57:26 probe.1 | AttributeError: 'V1PersistentVolumeClaim' object has no attribute 'code'
20:57:26 probe.1 | 2020-04-09 20:57:26,732 - orca.topology.probe - INFO - Consuming events for entity: kubernetes/persistent_volume_claim
@bzurkowski bzurkowski added the bug Something isn't working label Apr 9, 2020
@bzurkowski bzurkowski self-assigned this Apr 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant