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

Ensure seamless and non-disruptive minor version upgrades #4486

Open
smitthakkar96 opened this issue Mar 5, 2024 · 2 comments
Open

Ensure seamless and non-disruptive minor version upgrades #4486

smitthakkar96 opened this issue Mar 5, 2024 · 2 comments

Comments

@smitthakkar96
Copy link
Contributor

Context

While upgrading from v3.0.0 to v3.1.0, we encountered an error that resulted in our Chaos Infra becoming inactive until the Infra version was upgraded. In environments with numerous clusters and namespaces, teams may opt for a phased rollout of Infra components across clusters, akin to a canary deployment. However, this approach is currently not feasible due to the validation of the infra version by the infraConnect endpoint, which relies solely on the VERSION specified in the litmus-portal-admin-config.

Error

time="2024-03-05T06:36:37Z" level=error msg="Error response from the server : {\"payload\":{\"errors\":[{\"message\":\"ERROR: infra VERSION MISMATCH (need 3.1.x got 3.0.0)\",\"path\":[\"infraConnect\"]}],\"data\":null},\"type\":\"data\"}\n"

Proposal

Use INFRA_COMPATIBLE_VERSIONS env var, which contains a list of compatible versions over using VERSION in infraConnect endpoint to validate if infra version is compatible.

@smitthakkar96
Copy link
Contributor Author

smitthakkar96 commented Mar 5, 2024

@SarthakJain26
Copy link
Contributor

We should not mandate the upgrade of infra for every chaos-center upgrade. It should only be mandated if the infra is not compatible with the installed chaos-center.

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

No branches or pull requests

2 participants