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

etcd 3.2 does not boot when multiple listen peer URLs are defined #8630

Closed
Doridian opened this issue Sep 29, 2017 · 2 comments
Closed

etcd 3.2 does not boot when multiple listen peer URLs are defined #8630

Doridian opened this issue Sep 29, 2017 · 2 comments

Comments

@Doridian
Copy link

We recently tried upgrading our etcd cluster form 3.1 to 3.2. After each node restart, the affected node (we run a 9 node cluster) seemed to come back up and report its 3.2 version number correctly.

However, after the leader was restarted, the entire cluster fell apart.

Even removing the data folder and restarting from scratch could not restore operation.

We eventually traced this back to having multiple URLs defined in ETCD_LISTEN_PEER_URLS

We used to do:
ETCD_LISTEN_PEER_URLS=http://127.0.0.1:2380,http://SOMEIP:2380
which seems to have broken that listener somehow with 3.2
When changed to:
ETCD_LISTEN_PEER_URLS=http://SOMEIP:2380
the cluster bootstrapped correctly again and resumed operation with the 3.2 feature set.

In fact, on manual probings with curl in the above scenario, the HTTP server on 2380 accepted TCP connections but never replied with anything, the request just sat there and didn't get processed by etcd.

A downgrade to 3.1 in this broken state also worked and restored operation, so it seems to be a 3.2 exclusive regression / unintentional breaking change.

@gyuho
Copy link
Contributor

gyuho commented Sep 29, 2017

Seems duplicate with #8383?
Fix was released in v3.2.6 https://github.com/coreos/etcd/blob/master/NEWS#L9.

@Doridian
Copy link
Author

Ah, I searched but somehow github didn't come up with that one.

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

No branches or pull requests

2 participants