Skip to content

getting connection refused error with etcd member add command #16332

Answered by jmhbnz
inkkim asked this question in Q&A
Discussion options

You must be logged in to vote

So based on the logs it looks like an issue with starting member 4 which is not coming up successfully. I note in the environment variables you have specified initial cluster as

ETCD_INITIAL_CLUSTER="etcd4=http://etcd4:2380,etcd5=http://etcd5:2380,etcd1=http://etcd1:2380,etcd2=http://etcd2:2380,etcd3=http://etcd3:2380"

However in the command line parameters you have initial cluster specified as:

--initial-cluster etcd1=http://etcd1:2379,etcd2=http://etcd2:2379,etcd3=http://etcd3:2379,etcd4=http://etcd4:2379,etcd5=http://etcd5:2379

Can you try with --initial-cluster using port 2380 as per https://etcd.io/docs/v3.5/op-guide/clustering.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@inkkim
Comment options

@jmhbnz
Comment options

Comment options

You must be logged in to vote
2 replies
@jmhbnz
Comment options

Answer selected by jmhbnz
@inkkim
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants
Converted from issue

This discussion was converted from issue #16329 on July 31, 2023 08:18.