kubekey icon indicating copy to clipboard operation
kubekey copied to clipboard

升级提示错误

Open wwtao1024 opened this issue 2 years ago • 0 comments

What is version of KubeKey has the issue?

3.0.13

What is your os environment?

Anolis OS 7.9

KubeKey config file

No response

A clear and concise description of what happend.

使用kk升级命令失败

Relevant log output

Cluster nodes status:
NAME    STATUS   ROLES                  AGE   VERSION   INTERNAL-IP      EXTERNAL-IP   OS-IMAGE        KERNEL-VERSION                    CONTAINER-RUNTIME
node1   Ready    control-plane,worker   60d   v1.26.5   192.168.56.104   <none>        Anolis OS 7.9   3.10.0-1160.99.1.0.1.an7.x86_64   containerd://1.6.4

Additional information

13:13:57 CST [SetUpgradePlanModule 1/2] Generate kubeadm config 13:13:57 CST message: [node1] Failed to get container runtime cgroup driver.: Failed to exec command: sudo -E /bin/bash -c "docker info | grep 'Cgroup Driver'" /bin/bash: docker: 未找到命令: Process exited with status 1 13:13:57 CST retry: [node1] 13:14:02 CST message: [node1] Failed to get container runtime cgroup driver.: Failed to exec command: sudo -E /bin/bash -c "docker info | grep 'Cgroup Driver'" /bin/bash: docker: 未找到命令: Process exited with status 1 13:14:02 CST retry: [node1] 13:14:07 CST message: [node1] Failed to get container runtime cgroup driver.: Failed to exec command: sudo -E /bin/bash -c "docker info | grep 'Cgroup Driver'" /bin/bash: docker: 未找到命令: Process exited with status 1 13:14:07 CST failed: [node1] error: Pipeline[UpgradeClusterPipeline] execute failed: Module[SetUpgradePlanModule 1/2] exec failed: failed: [node1] [GenerateKubeadmConfig] exec failed after 3 retries: Failed to get container runtime cgroup driver.: Failed to exec command: sudo -E /bin/bash -c "docker info | grep 'Cgroup Driver'"

wwtao1024 avatar Dec 04 '23 05:12 wwtao1024