etcd: can't get cluster going: etcdserver: publish error: etcdserver: request timed out
I’m trying to start a cluster with:
./etcd -name pi0 -initial-advertise-peer-urls http://10.248.0.1:2380 -listen-peer-urls \
http://localhost:2380,http://localhost:7001,http://10.248.0.1:2380 -listen-client-urls \
http://localhost:2379,http://localhost:4001,http://192.168.1.10:4001 -advertise-client-urls \
http://localhost:2379,http://localhost:4001,http://10.248.0.1:4001 \
-initial-cluster-token pi-etcd \
-initial-cluster pi0=http://10.248.0.1:2380,pi1=http://10.248.0.2:2380,pi2=http://10.248.0.3:2380\
-initial-cluster-state new
But this keeps failing with:
2015/02/14 12:23:39 etcdserver: publish error: etcdserver: request timed out
I’ve seen issue #/2276, but this seems again different. I am also not able to capture any network traffic and any interface. So that explain it’s timing out, but not sure where to go from here…
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Comments: 17 (6 by maintainers)
‘etcdctl cluster-health’ reported no problems.
I’m afraid I cannot open another issue because frankly Etcd has become a something of a time-suck for me. As such, I’ve decided to ditch it. I’ll revisit it in a few years when it’s had time to mature.
Sent from my iPhone
I’m experiencing the same issue trying to add a node to an existing cluster.
I run
etcdctl member add
, get the env vars, and run this on the CoreOS box of the new node:Initially, everything seems fine, but eventually this starts happening: