kubesphere / kubekey

Install Kubernetes/K3s only, both Kubernetes/K3s and KubeSphere, and related cloud-native add-ons, it supports all-in-one, multi-node, and HA 🔥 ⎈ 🐳
https://kubesphere.io
Apache License 2.0
2.36k stars 550 forks source link

Etcd backup failed for wrong ENDPOINTS #546

Open lshmouse opened 3 years ago

lshmouse commented 3 years ago
# bash /usr/local/bin/kube-scripts/etcd-backup.sh
2021-06-02 09:58:55.673881 I | ignoring v3 raft entry
2021-06-02 09:58:55.673892 I | ignoring v3 raft entry
2021-06-02 09:58:55.673899 I | ignoring v3 raft entry
Error: snapshot must be requested to one selected node, not multiple [https://10.38.201.221:2379 https://10.38.201.180:2379 https://10.38.201.90:2379]

# ls -al etcd-2021-06-02_09:58:55
total 12
drwxr-xr-x 3 root root 4096 Jun  2 09:58 .
drwxr-xr-x 6 root root 4096 Jun  2 09:59 ..
drwx------ 4 root root 4096 Jun  2 09:58 member
lshmouse commented 3 years ago

The dir name : etcd-2021-06-02_09:46:43 is not convenient for bash completion

lshmouse commented 3 years ago

Also see: https://bugzilla.redhat.com/show_bug.cgi?id=1822924

LinuxSuRen commented 3 years ago

hi @lshmouse , please help to check if #547 fixed this issue. I saw you just left the comment Ref #546.

/kind bug