创建部署问题时,请参考下面模板,你提供的信息越多,越容易及时获得解答。
你只花一分钟创建的问题,不能指望别人花上半个小时给你解答。
发帖前请点击 发表主题 右边的 预览(👀) 按钮,确保帖子格式正确。
操作系统信息
虚拟机,Ubuntu22.04,4C/8G
Kubernetes版本信息
v1. 34.3。多节点。
容器运行时
containerd
KubeSphere版本信息
v4.050,离线安装,全套安装。
问题是什么
root@mypacker:/home/dpc# ./package.sh config.yaml命令执行失败,以下是日志:
04:13:55 CST [roles/download/package] Image | Ensure container images is available
⠙ [localhost] failed [3s]
I0513 04:13:58.591052 12541 task_executor.go:139] “end run task” task=“default/artifact-export-vgbq2-sddrr”
04:13:58 CST [Playbook default/artifact-export-vgbq2] finish. total: 64,success: 63,ignored: 0,failed: 1
Error: task Image | Ensure container images is available run failed:
[localhost][executor]: module run failed
[localhost][item=<nil>][0]:
stdout: failed
stderr: failed to transfer image
error: failed to copy platform image: failed to perform “Fetch” on source: GET “https://hub.kubesphere.com.cn/v2/calico/flannel-migration-controller/blobs/sha256:741d57dd6f5b75638f7e73c94beff5223d9e4eb006385c882f56a007ad8d60d9”: mismatch Content-Length
task Image | Ensure container images is available run failed:
[localhost][executor]: module run failed
[localhost][item=<nil>][0]:
stdout: failed
stderr: failed to transfer image
error: failed to copy platform image: failed to perform “Fetch” on source: GET “https://hub.kubesphere.com.cn/v2/calico/flannel-migration-controller/blobs/sha256:741d57dd6f5b75638f7e73c94beff5223d9e4eb006385c882f56a007ad8d60d9”: mismatch Content-Length