我正试图在停电后恢复etcd快照,但出现以下错误。
FATA[0020] [etcd] Failed to restore etcd snapshot: Failed to run etcd restore container, exit status is: 128, container logs: Error: snapshot missing hash but --skip-hash-check=false
我正在运行rke etcd snapshot-restore --config rancher-cluster.yaml --name 202008091207.zip
此问题是由快照名称参数中不正确包含.zip文件扩展名引起的。
快照名称参数(--name(应包含快照名称,不包括文件扩展名。
请尝试以下命令。
rke etcd snapshot-restore --config rancher-cluster.yaml --name 202008091207