You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am building an etcd cluster of three nodes. If the three nodes are on the same machine(use different port), it is normal. If the three nodes are on different machines(the three machines can access each other), an error is reported: 'cluster ID mismatch',The detailed log is as follows:
Feb 20 20:33:13 VM-0-15-ubuntu etcd[26272]: request cluster ID mismatch (got 3652f05a66289861 want f633942361b97b7f)
Feb 20 20:33:13 VM-0-15-ubuntu etcd[26272]: request cluster ID mismatch (got 3652f05a66289861 want f633942361b97b7f)
Feb 20 20:33:13 VM-0-15-ubuntu etcd[26272]: request sent was ignored (cluster ID mismatch: peer[7a710abd2cc3d001]=3652f05a66289861, local=f633942361b97b7f)
Feb 20 20:33:13 VM-0-15-ubuntu etcd[26272]: request sent was ignored (cluster ID mismatch: peer[7a710abd2cc3d001]=3652f05a66289861, local=f633942361b97b7f)
Feb 20 20:33:13 VM-0-15-ubuntu etcd[26272]: request cluster ID mismatch (got 3652f05a66289861 want f633942361b97b7f)
Feb 20 20:33:13 VM-0-15-ubuntu etcd[26272]: request cluster ID mismatch (got 3652f05a66289861 want f633942361b97b7f)
Feb 20 20:33:13 VM-0-15-ubuntu etcd[26272]: request sent was ignored (cluster ID mismatch: peer[7a710abd2cc3d001]=3652f05a66289861, local=f633942361b97b7f)
Feb 20 20:33:13 VM-0-15-ubuntu etcd[26272]: request sent was ignored (cluster ID mismatch: peer[7a710abd2cc3d001]=3652f05a66289861, local=f633942361b97b7f)
Feb 20 20:33:13 VM-0-15-ubuntu etcd[26272]: request cluster ID mismatch (got 3652f05a66289861 want f633942361b97b7f)
Feb 20 20:33:13 VM-0-15-ubuntu etcd[26272]: request cluster ID mismatch (got 3652f05a66289861 want f633942361b97b7f)
node1:
/etc/systemd/system/etcd.service, The other two are the same
Description=Etcd Server
After=network.target
After=network-online.target
Wants=network-online.target
[Service]
Type=notify
WorkingDirectory=/var/lib/etcd/
EnvironmentFile=-/etc/etcd/etcd.conf
User=root
# set GOMAXPROCS to number of processors
ExecStart=/usr/bin/etcd \
--name=${ETCD_NAME} \
--data-dir=${ETCD_DATA_DIR} \
--listen-client-urls=${ETCD_LISTEN_CLIENT_URLS} \
--listen-peer-urls=${ETCD_LISTEN_PEER_URLS} \
--advertise-client-urls=${ETCD_ADVERTISE_CLIENT_URLS} \
--initial-cluster-token=${ETCD_INITIAL_CLUSTER_TOKEN} \
--initial-advertise-peer-urls=${ETCD_INITIAL_ADVERTISE_PEER_URLS} \
--initial-cluster-state=${ETCD_INITIAL_CLUSTER_STATE} \
--initial-cluster=${ETCD_INITIAL_CLUSTER}
Restart=on-failure
LimitNOFILE=65536
[Install]
WantedBy=multi-user.target
This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 21 days if no further activity occurs. Thank you for your contributions.
I am building an etcd cluster of three nodes. If the three nodes are on the same machine(use different port), it is normal. If the three nodes are on different machines(the three machines can access each other), an error is reported: 'cluster ID mismatch',The detailed log is as follows:
node1:
/etc/systemd/system/etcd.service, The other two are the same
/etc/etcd/etcd.conf
node2:
/etc/etcd/etcd.conf
node3:
/etc/etcd/etcd.conf
start command:
I tried to delete the data-dir and rebuild it ,then restart the etcd service, but it still didn't work
Please help me, what's wrong with me
etcd version is 3.3.18
system is ubuntu 16.04
The text was updated successfully, but these errors were encountered: