how to properly configure a 2 node cluster with etcd-member ?

1,846 views
Skip to first unread message

kfir ozer

unread,
Apr 5, 2017, 3:37:03 AM4/5/17
to CoreOS User
Hello.
I'm trying to configure etcd-member.service to start etcd3 daemons in both of my coreos nodes.

when I run 'etcdctl member list' I get:

8e9e05c52164694d: name=2169a0943a5443d1905b195039f609e6 peerURLs=http://localhost:2380 clientURLs=http://localhost:2379 isLeader=true

in both of the nodes I get that the only member is the localhost.


thank you

paul...@coreos.com

unread,
Apr 21, 2017, 3:36:32 PM4/21/17
to CoreOS User
Hi Kfir,

It looks like your override may have an issue. I'm spot checking your SO link against this guide https://coreos.com/etcd/docs/latest/op-guide/clustering.html#tls.

One thing I immediately see are the `--initial-cluster` flag seems to be missing values. Each node contains a reference to itself in the docs version.

The other apparent thing is TLS and cert stuff looks different. Have you tried following the example in the guide? It links to https://github.com/coreos/etcd/tree/v3.1.5/hack/tls-setup

It'd either closely follow the documentation, or double check your configs to see if there are any other discrepancies.

Cheers,

Brandon Philips

unread,
Apr 22, 2017, 5:06:24 AM4/22/17
to paul...@coreos.com, CoreOS User

--
You received this message because you are subscribed to the Google Groups "CoreOS User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to coreos-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

kfir ozer

unread,
Apr 22, 2017, 8:20:05 AM4/22/17
to Brandon Philips, CoreOS User, paul...@coreos.com
Thank you!

You received this message because you are subscribed to a topic in the Google Groups "CoreOS User" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/coreos-user/fC78IlnWdq8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to coreos-user...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages