-
Notifications
You must be signed in to change notification settings - Fork 45
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
Unable to launch downgrade if label version already set to dest #2551
Labels
complexity:easy
Something that requires less than a day to fix
kind:bug
Something isn't working
priority:medium
Medium priority issues, should only be postponed if no other option
topic:lifecycle
Issues related to upgrade or downgrade of MetalK8s
Comments
TeddyAndrieux
added
kind:bug
Something isn't working
topic:lifecycle
Issues related to upgrade or downgrade of MetalK8s
complexity:easy
Something that requires less than a day to fix
priority:medium
Medium priority issues, should only be postponed if no other option
labels
May 15, 2020
TeddyAndrieux
changed the title
Unable to launch downgrade if label already set
Unable to launch downgrade if label version already set
May 15, 2020
TeddyAndrieux
changed the title
Unable to launch downgrade if label version already set
Unable to launch downgrade if label version already set to dest
May 15, 2020
TeddyAndrieux
added a commit
that referenced
this issue
May 15, 2020
Node version represent the version desired on a specific node and not the actual deployed version so if for any reason a downgrade failed after all node version being set to the destination one, we want to be able to run the downgrade again so the saltenv specified may be higher that all the node versions Fixes: #2551
bert-e
added a commit
that referenced
this issue
May 15, 2020
…octopus/w/2.6/bugfix/GH-2551-fix-downgrade-pre-check
TeddyAndrieux
added a commit
that referenced
this issue
May 15, 2020
Node version represent the version desired on a specific node and not the actual deployed version so if for any reason a downgrade failed after all node version being set to the destination one, we want to be able to run the downgrade again so the saltenv specified may be higher that all the node versions Fixes: #2551
bert-e
added a commit
that referenced
this issue
May 15, 2020
…octopus/w/2.6/bugfix/GH-2551-fix-downgrade-pre-check
bert-e
added a commit
that referenced
this issue
May 18, 2020
…octopus/w/2.6/bugfix/GH-2551-fix-downgrade-pre-check
bert-e
added a commit
that referenced
this issue
May 18, 2020
…s/w/2.1/bugfix/GH-2551-fix-downgrade-pre-check
bert-e
added a commit
that referenced
this issue
May 18, 2020
…octopus/w/2.2/bugfix/GH-2551-fix-downgrade-pre-check
bert-e
added a commit
that referenced
this issue
May 18, 2020
…octopus/w/2.3/bugfix/GH-2551-fix-downgrade-pre-check
bert-e
added a commit
that referenced
this issue
May 18, 2020
…octopus/w/2.4/bugfix/GH-2551-fix-downgrade-pre-check
bert-e
added a commit
that referenced
this issue
May 18, 2020
…octopus/w/2.5/bugfix/GH-2551-fix-downgrade-pre-check
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
complexity:easy
Something that requires less than a day to fix
kind:bug
Something isn't working
priority:medium
Medium priority issues, should only be postponed if no other option
topic:lifecycle
Issues related to upgrade or downgrade of MetalK8s
Component:
'lifecycle'
What happened:
If for whatever reason (downgrade already failed or ....) all the node already have the label version set to the destination version then downgrade fail.
NOTE: The label version is set before downgrading the node so this version does not necessarily represent the running version but the desired version!
What was expected:
This pre-check shouldn't fail if the script version is higher than ALL nodes versions
Steps to reproduce
Set label
metalk8s.scality.com/version
of all nodes to destination version and try to downgradeResolution proposal (optional):
Check for saltenv version to be higher than all nodes version and not strictly equal
Workaround:
Set
metalk8s.scality.com/version
of at least one node to the current running versionE.g.: Downgrading from 2.4.3 to 2.4.2 just set one node version to 2.4.3 and then you can run the downgrade script again
The text was updated successfully, but these errors were encountered: