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

Agent waiting for ok to reboot will hammer API server without backoff if API server responds with errors #119

Open
invidian opened this issue Jan 14, 2022 · 1 comment
Labels
bug Something isn't working component/agent Agent-related issue

Comments

@invidian
Copy link
Member

https://github.com/flatcar-linux/flatcar-linux-update-operator/blob/c180704dde101d2c8313c7beabfdfec24fbe8920/pkg/agent/agent.go#L192-L202 this loop should have some kind of backoff on error, as it may fail in the following conditions:

@invidian invidian added bug Something isn't working component/agent Agent-related issue labels Jan 14, 2022
@invidian
Copy link
Member Author

Not only this, but once this happens it also won't stop gracefully after closing the control channel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working component/agent Agent-related issue
Projects
None yet
Development

No branches or pull requests

1 participant