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

Downgrade between two minor releases is not possible when etcd version change #1750

Open
sayf-eddine-scality opened this issue Sep 21, 2019 · 5 comments
Labels
kind:bug Something isn't working state:question Further information is requested topic:etcd Anything related to etcd

Comments

@sayf-eddine-scality
Copy link
Contributor

Component:
etcd, downgrade

What happened:
Downgrade failed from 2.3 to 2.2 because etcd does not support downgrading the cluster from 3.3 to 3.2 if all the cluster members are on 3.3
Check: etcd-io/etcd#10461

What was expected:
Downgrade to be successful

Steps to reproduce
Install a metalk8s 2.3 bootstrap node and downgrade to 2.2

Resolution proposal (optional):
TBD

@sayf-eddine-scality sayf-eddine-scality added kind:bug Something isn't working moonshot topic:etcd Anything related to etcd labels Sep 21, 2019
@gdemonet
Copy link
Contributor

Given this doc, it's impossible to downgrade, unless we create some snapshot of data while having the etcd cluster in v3.2

How would we handle this? I guess downgrade is necessary only after a breaking upgrade, right? We would need to warn users during the 2.2 -> 2.3 upgrade, wouldn't we?

@sayf-eddine-scality sayf-eddine-scality added the state:question Further information is requested label Sep 21, 2019
@sayf-eddine-scality
Copy link
Contributor Author

sayf-eddine-scality commented Sep 21, 2019

Given this doc, it's impossible to downgrade, unless we create some snapshot of data while having the etcd cluster in v3.2

How would we handle this? I guess downgrade is necessary only after a breaking upgrade, right? We would need to warn users during the 2.2 -> 2.3 upgrade, wouldn't we?

the operations and the api are obviously backward incompatible, so so the only way is to backup the cluster before going through this path to be able to restore a 2.2 working cluster if things went south

Or (bit complicated), we can have an intermediate state where we only upgrade the etcd and keep the rest on 2.2 then upgrade to 2.3 thus if the upgrade fail we will have a working 3.3 etcd on a 2.2 cluster, not sure if this is totally supported thought

@sayf-eddine-scality
Copy link
Contributor Author

keeping this open due the possibility of having future versions of etcd non backward compatible.

@gdemonet
Copy link
Contributor

gdemonet commented Oct 9, 2019

What should be the course of action? We disabled downgrade tests for now, but I guess we'd still want to support it in the long run, no?

@sayf-eddine-scality
Copy link
Contributor Author

yes I deactivated the downgrade test on the 2.3 branch but we need to find a definitive fix for this

sayf-eddine-scality added a commit that referenced this issue Oct 17, 2019
This reverts commit 0ce6b42.
because downgrade is possible on the 2.4 branch
@thomasdanan thomasdanan changed the title Downgrade path from 2.3 to 2.2 is not possible due to etcd Downgrade between two minor releases is not possible when etcd version change Apr 6, 2020
TeddyAndrieux added a commit that referenced this issue Jan 5, 2021
Since we bump etcd version in development/2.8 we cannot downgrade from
development/2.8 to a version 2.7.x, so deactivate downgrade test for
minor version in the CI

Sees: #1750
TeddyAndrieux added a commit that referenced this issue Jan 5, 2021
Since we bump etcd version in development/2.8 we cannot downgrade from
development/2.8 to a version 2.7.x, so deactivate downgrade test for
minor version in the CI

Sees: #1750
TeddyAndrieux added a commit that referenced this issue Sep 7, 2021
Since we bump etcd version in development/2.11 we cannot downgrade from
development/2.11 to a version 2.10.x, so deactivate downgrade test for
minor version in the CI and in Salt orchestrate

Sees: #1750
TeddyAndrieux added a commit that referenced this issue Sep 7, 2021
Since we bump etcd version in development/2.11 we cannot downgrade from
development/2.11 to a version 2.10.x, so deactivate downgrade test for
minor version in the CI and in Salt orchestrate

Sees: #1750
TeddyAndrieux added a commit that referenced this issue Sep 9, 2021
Since we bump etcd version in development/2.11 we cannot downgrade from
development/2.11 to a version 2.10.x, so deactivate downgrade test for
minor version in the CI and in Salt orchestrate

Sees: #1750
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:bug Something isn't working state:question Further information is requested topic:etcd Anything related to etcd
Projects
None yet
Development

No branches or pull requests

2 participants