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

"resourceVersion now: 13748114" and processing old versions of CRD resources #4

Closed
max-rocket-internet opened this issue Jan 15, 2019 · 1 comment

Comments

@max-rocket-internet
Copy link
Owner

The problem is that often the controller that is watching a CRD starts processing old versions of the CRD resources.

This is potentially disastrous.

Example log output:

{"time":"2019-01-15 11:21:50,490", "level":"DEBUG", "resource_name":"-", "new_relic_app":"-", "message":"Error code 410"}
{"time":"2019-01-15 11:21:50,491", "level":"DEBUG", "resource_name":"-", "new_relic_app":"-", "message":"Updating resource version to 18726332 due to "too old" error"}
{"time":"2019-01-15 11:21:51,229", "level":"DEBUG", "resource_name":"-", "new_relic_app":"-", "message":"Error code 410"}
{"time":"2019-01-15 11:21:51,229", "level":"DEBUG", "resource_name":"-", "new_relic_app":"-", "message":"Updating resource version to 20220905 due to "too old" error"}
{"time":"2019-01-15 11:21:51,927", "level":"DEBUG", "resource_name":"-", "new_relic_app":"-", "message":"resourceVersion now: 20220906"}

I tried to use an a function to parse the 410 error correctly but it still doesn't work correctly.

I opened an issue here with the kubernetes-client/python project: kubernetes-client/python#693

@juliantaylor created a PR to fix it in the kubernetes-client/python-base project: kubernetes-client/python-base#109

Another issue: kubernetes-client/python#609

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