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

Detect cluster version mismatches #4185

Open
agoddard opened this issue Jan 26, 2021 · 0 comments
Open

Detect cluster version mismatches #4185

agoddard opened this issue Jan 26, 2021 · 0 comments
Labels
component:backend Sensu Backend improvements

Comments

@agoddard
Copy link
Contributor

Feature Suggestion

In rare cases where a user is unable to upgrade all backends at the same time, such as due to a network or config management failure, a sensu-backed cluster might end up with mismatched sensu-backend version members. Depending on the version mismatch, this could cause unexpected results w/ the API, backend, or Web UI.

Possible Implementation

Perhaps it would suffice for backends to write an error to their logs if they detect a member of their cluster with a version mismatch. If this could be raised to the /health endpoint or somewhere similar, the Web UI might also be able to catch this state and display an error

Context

We saw a situation where mismatched clusters resulted in an error in the UI when the UI was viewed via a load balancer, presumably because a version of the web UI requested web assets from a backend which didn't have the correct assets, this resulted in a consistent error state and unusable web UI.

@calebhailey calebhailey added the component:backend Sensu Backend improvements label Jan 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:backend Sensu Backend improvements
Projects
None yet
Development

No branches or pull requests

2 participants