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
Please read https://etcd.io/docs/latest/reporting_bugs/
Why is there inaccurate information on the official website? Why do I use the syntax specified in the off documentation, and it tells me that the syntax is incorrect?
When i use etcdctl member add infra4 --peer-urls=http://10.0.1.14:2380 --learne. i get an error " flag provided but not defined: -learner"
After i used etcdctl member add node_name, i get error #0: client: etcd member http://192.168.12.131:2379has no leader. etcdctl memner list
client: etcd cluster is unavailable or misconfigured; error #0: client: endpoint http://127.0.0.1:2379 exceeded header timeout
; error #1: dial tcp 127.0.0.1:4001: connect: connection refused
But after i used this commands( member add), it loked like
etcdctl member list
8e9e05c52164694d: name=pg_node3 peerURLs=http://localhost:2380 clientURLs=http://192.168.12.133:2379 isLeader=true
etcdctl cluster-health
cluster may be unhealthy: failed to list members
Error: client: etcd cluster is unavailable or misconfigured; error #0: client: endpoint http://127.0.0.1:2379 exceeded header timeout
; error #1: dial tcp 127.0.0.1:4001: connect: connection refused
[root@pg_node1 ~]# systemctl status etcd.service
● etcd.service - Etcd Server
Loaded: loaded (/usr/lib/systemd/system/etcd.service; enabled; vendor preset: disabled)
Active: activating (start) since Wed 2021-08-18 03:55:47 EDT; 45s ago
Main PID: 2045 (etcd)
CGroup: /system.slice/etcd.service
└─2045 /usr/bin/etcd --name=pg_node1 --data-dir=/var/lib/etcd/default.etcd --listen-client-urls=http://192.168.12.131:2379,http://127.0.0.1:2379
Aug 18 03:56:32 pg_node1 etcd[2045]: failed to find member 8e9e05c52164694d in cluster cdf818194e3a8c32
Aug 18 03:56:32 pg_node1 etcd[2045]: failed to find member 8e9e05c52164694d in cluster cdf818194e3a8c32
Aug 18 03:56:32 pg_node1 etcd[2045]: failed to dial f838e30c28c4af8e on stream Message (peer f838e30c28c4af8e failed to find local node 8e9e05c52164694d)
Aug 18 03:56:32 pg_node1 etcd[2045]: failed to dial f838e30c28c4af8e on stream MsgApp v2 (peer f838e30c28c4af8e failed to find local node 8e9e05c52164694d)
Aug 18 03:56:32 pg_node1 etcd[2045]: failed to find member 8e9e05c52164694d in cluster cdf818194e3a8c32
Aug 18 03:56:32 pg_node1 etcd[2045]: failed to find member 8e9e05c52164694d in cluster cdf818194e3a8c32
Aug 18 03:56:32 pg_node1 etcd[2045]: failed to dial f838e30c28c4af8e on stream Message (peer f838e30c28c4af8e failed to find local node 8e9e05c52164694d)
Aug 18 03:56:32 pg_node1 etcd[2045]: failed to dial f838e30c28c4af8e on stream MsgApp v2 (peer f838e30c28c4af8e failed to find local node 8e9e05c52164694d)
Aug 18 03:56:32 pg_node1 etcd[2045]: failed to find member 8e9e05c52164694d in cluster cdf818194e3a8c32
Aug 18 03:56:32 pg_node1 etcd[2045]: failed to find member 8e9e05c52164694d in cluster cdf818194e3a8c32
journalctl -xe
Aug 18 03:57:46 pg_node1 etcd[2063]: failed to dial f838e30c28c4af8e on stream MsgApp v2 (peer f838e30c28c4af8e failed to find local node 8e9e05c52164694d)
Aug 18 03:57:46 pg_node1 etcd[2063]: failed to dial f838e30c28c4af8e on stream Message (peer f838e30c28c4af8e failed to find local node 8e9e05c52164694d)
Aug 18 03:57:46 pg_node1 etcd[2063]: failed to find member 8e9e05c52164694d in cluster cdf818194e3a8c32
Aug 18 03:57:46 pg_node1 etcd[2063]: failed to find member 8e9e05c52164694d in cluster cdf818194e3a8c32
The text was updated successfully, but these errors were encountered:
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.
Please read https://etcd.io/docs/latest/reporting_bugs/
Why is there inaccurate information on the official website? Why do I use the syntax specified in the off documentation, and it tells me that the syntax is incorrect?
When i use etcdctl member add infra4 --peer-urls=http://10.0.1.14:2380 --learne. i get an error " flag provided but not defined: -learner"
After i used etcdctl member add node_name, i get error #0: client: etcd member http://192.168.12.131:2379 has no leader.
etcdctl memner list
client: etcd cluster is unavailable or misconfigured; error #0: client: endpoint http://127.0.0.1:2379 exceeded header timeout
; error #1: dial tcp 127.0.0.1:4001: connect: connection refused
But after i used this commands( member add), it loked like
etcdctl member list
8e9e05c52164694d: name=pg_node3 peerURLs=http://localhost:2380 clientURLs=http://192.168.12.133:2379 isLeader=true
etcdctl cluster-health
cluster may be unhealthy: failed to list members
Error: client: etcd cluster is unavailable or misconfigured; error #0: client: endpoint http://127.0.0.1:2379 exceeded header timeout
; error #1: dial tcp 127.0.0.1:4001: connect: connection refused
error #0: client: endpoint http://127.0.0.1:2379 exceeded header timeout
error #1: dial tcp 127.0.0.1:4001: connect: connection refused
systemctl start etcd.service
^Z
[1]+ Stopped systemctl start etcd.service
[root@pg_node1 ~]# ^C
[root@pg_node1 ~]# systemctl status etcd.service
● etcd.service - Etcd Server
Loaded: loaded (/usr/lib/systemd/system/etcd.service; enabled; vendor preset: disabled)
Active: activating (start) since Wed 2021-08-18 03:55:47 EDT; 45s ago
Main PID: 2045 (etcd)
CGroup: /system.slice/etcd.service
└─2045 /usr/bin/etcd --name=pg_node1 --data-dir=/var/lib/etcd/default.etcd --listen-client-urls=http://192.168.12.131:2379,http://127.0.0.1:2379
Aug 18 03:56:32 pg_node1 etcd[2045]: failed to find member 8e9e05c52164694d in cluster cdf818194e3a8c32
Aug 18 03:56:32 pg_node1 etcd[2045]: failed to find member 8e9e05c52164694d in cluster cdf818194e3a8c32
Aug 18 03:56:32 pg_node1 etcd[2045]: failed to dial f838e30c28c4af8e on stream Message (peer f838e30c28c4af8e failed to find local node 8e9e05c52164694d)
Aug 18 03:56:32 pg_node1 etcd[2045]: failed to dial f838e30c28c4af8e on stream MsgApp v2 (peer f838e30c28c4af8e failed to find local node 8e9e05c52164694d)
Aug 18 03:56:32 pg_node1 etcd[2045]: failed to find member 8e9e05c52164694d in cluster cdf818194e3a8c32
Aug 18 03:56:32 pg_node1 etcd[2045]: failed to find member 8e9e05c52164694d in cluster cdf818194e3a8c32
Aug 18 03:56:32 pg_node1 etcd[2045]: failed to dial f838e30c28c4af8e on stream Message (peer f838e30c28c4af8e failed to find local node 8e9e05c52164694d)
Aug 18 03:56:32 pg_node1 etcd[2045]: failed to dial f838e30c28c4af8e on stream MsgApp v2 (peer f838e30c28c4af8e failed to find local node 8e9e05c52164694d)
Aug 18 03:56:32 pg_node1 etcd[2045]: failed to find member 8e9e05c52164694d in cluster cdf818194e3a8c32
Aug 18 03:56:32 pg_node1 etcd[2045]: failed to find member 8e9e05c52164694d in cluster cdf818194e3a8c32
journalctl -xe
Aug 18 03:57:46 pg_node1 etcd[2063]: failed to dial f838e30c28c4af8e on stream MsgApp v2 (peer f838e30c28c4af8e failed to find local node 8e9e05c52164694d)
Aug 18 03:57:46 pg_node1 etcd[2063]: failed to dial f838e30c28c4af8e on stream Message (peer f838e30c28c4af8e failed to find local node 8e9e05c52164694d)
Aug 18 03:57:46 pg_node1 etcd[2063]: failed to find member 8e9e05c52164694d in cluster cdf818194e3a8c32
Aug 18 03:57:46 pg_node1 etcd[2063]: failed to find member 8e9e05c52164694d in cluster cdf818194e3a8c32
The text was updated successfully, but these errors were encountered: