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

KeyError: 'resourceVersion' not defined in data["object"]["metadata"] (api/v1/sync/namespaces.py) #122

Open
marians opened this issue Oct 28, 2016 · 0 comments

Comments

@marians
Copy link

marians commented Oct 28, 2016

I just deployed elastickube and get the following error repeatedly in the log of pod elastickube-server-XXXX:

2016-10-28T13:23:17.621902011Z 2016-10-28 13:23:17,621 Reconnecting to kubeclient in SyncNamespaces
2016-10-28T13:23:24.731292083Z 2016-10-28 13:23:24,730 Calling data_callback for SyncNamespaces
2016-10-28T13:23:24.732105776Z 2016-10-28 13:23:24,731 Future exception was never retrieved: Traceback (most recent call last):
2016-10-28T13:23:24.732129483Z   File "/usr/local/lib/python2.7/site-packages/tornado/gen.py", line 285, in wrapper
2016-10-28T13:23:24.732133911Z     yielded = next(result)
2016-10-28T13:23:24.732137425Z   File "/opt/elastickube/api/v1/sync/namespaces.py", line 64, in data_callback
2016-10-28T13:23:24.732140966Z     self.resource_version = data["object"]["metadata"]["resourceVersion"]
2016-10-28T13:23:24.732144733Z KeyError: 'resourceVersion'
2016-10-28T13:23:24.915407927Z 2016-10-28 13:23:24,915 Disconnected from kubeclient in SyncNamespaces

As is also visible from the snipped, the log format wouldn't need date and time, since the Docker deamon adds these automatically in front of every line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant