-
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
Why am I failing that check? #8079
Comments
That's v2 documentation. Try https://github.com/coreos/etcd/blob/master/Documentation/op-guide/container.md? |
Oh, did you mean to pass Not |
The advertise url for etcd01 is http://172.28.0.4:2380 (only one url), but in the initial cluster you provide The error message is a little bit confusing when users provide the two urls separately. probably worth to fix. |
Thanks, yes. With all the numbers I couldn't see it anymore. This confusion is removed. Another problem was that if one starts the three docker containers on a single host, the part |
…se urls The old error was not clear about what URLs needed to be added, sometimes truncating the list. To make it clearer, print out the missing entries for --initial-cluster and print the full list of initial advertise peers. Fixes etcd-io#8079 and etcd-io#7927
…se urls The old error was not clear about what URLs needed to be added, sometimes truncating the list. To make it clearer, print out the missing entries for --initial-cluster and print the full list of initial advertise peers. Fixes etcd-io#8079 and etcd-io#7927
Can you be more specific? If you run 3-node cluster in a single host with the same port, ports would conflict? |
Yes, one host, my laptop. Not technically reasonable. Just learning. |
Then I would just use different ports for each node. |
…se urls The old error was not clear about what URLs needed to be added, sometimes truncating the list. To make it clearer, print out the missing entries for --initial-cluster and print the full list of initial advertise peers. Fixes etcd-io#8079 and etcd-io#7927
Getting same issue, still don't understand why
Trying to setup |
Hi,
I'm following this guide in trying to set up a small etcd cluster with docker.
The following is my shell script:
The containers always die with logs like this:
For some reason the first container even worked for some time. So I probably added a spelling error somewhere or something. Sorry that I can't find it. Can you see it?
Btw. is it a bug that the final log message is of type
info
and noterror
as indicated in the code? Also I have to admit that I don't really understand it. At first it says one variable doesn't seem to contain the expected content, but then it shows the contents of another variable. Shouldn't it show what is currently in--initial-cluster
instead so that I can check what the difference is?Please also note that there need to be quite a few changes to get this to run at all. The guide is not really sufficient yet. For instance that it just expects to use static IPs but doesn't show how static IPs are set up with docker, or that the developer probably used another image (as mentioned in #8078).
All this is not to say that etcd would be bad. It's a pillar of modern cluster management and I'm very happy that it exists. That's why I want to learn to use it even outside of k8s. I'd appreciate any help.
The text was updated successfully, but these errors were encountered: