rke - rke 错误:快照缺少哈希但 --skip-hash-check=false
问题描述
我正在尝试在断电后恢复 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
推荐阅读
- c# - 在 Unity3D 场景中更改 Android 状态栏颜色
- r - (Excel) 函数根据条件从表中返回特定值
- docker - devops:如何在 yaml 脚本中从 docker hub 拉取和运行 docker 映像?
- swift - 当 UITextView 需要滚动时,是否可以以某种方式跟踪状态?迅速
- jenkins - 计划构建 x 次
- ruby-on-rails - 需要从另一个表添加列
- sql - 在 Oracle Exadata 中仅访问表而非表中数据的角色
- laravel - Laravel 5.8:多用户身份验证问题
- r - 如何在函数中正确使用 do.call?
- airflow-scheduler - 气流网络服务器主页不断加载并在 html 页面中显示错误