-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
Panics when joining new a 3.0.17 node to an existing 2.3 cluster #7429
Comments
Was
Where does this data directory come from? |
@gyuho no, it was not, and I could fix this issue by adding 2.3.7 and then updating it locally to 3.0 (a more normal migration). After doing that things didn't panic and it was all okay.
I realized I missed a step. I accidentally started version 3.1.2, and it errored with "2017-03-06 08:23:55.391805 W | etcdserver: the running cluster version(2.3.0) is lower than the minimal cluster version(3.0.0) supported" and exited cleanly. I guess it created a data directory. I thought it hadn't, good catch. This might be a documentation problem. The docs make it sound like a cluster of mixed 2.3 and 3.0 can run, but if you can only do that by upgrading existing 2.3 -> 3.0 nodes using the same data directory, that should just be documented more clearly. |
@xiang90 Any suggestion to make doc clearer? |
The line I found most confusing was:
To me, that implied I could add a 3.0 etcd node to a 2.3 cluster, remove a 2.3 member, and repeat until I was done to upgrade. It sounds like that doesn't work. |
I feel like the remove/add way should work, but I'm not surprised it's broken since it's an unusual upgrade path. |
@heyitsanthony I remembered there is a known bug in the unusually path for 2.3. -> 3.0 only. We did not try to fix it since on one really blocks by it (our infra team did hit it... but they then switched to normal upgrade path to work around it) until know. |
@gyuho the upgrade doc probably needs a |
Fix etcd-io#7429. Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
Fix etcd-io#7429. Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
Fix etcd-io#7429. Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
Fix etcd-io#7429. Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
Bug report
I have an existing 3-node etcd cluster running
2.3.7
on Container Linux (various versions).I ran
etcdctl member add etcd1 http://192.168.131.3:2380
and configured a new node, running etcd v3.0.17 on a fresh Container Linux machine.This resulted in the following panic.
Afterwords, restarting it (with the same configuration), results in a new panic:
The text was updated successfully, but these errors were encountered: