创建部署问题时,请参考下面模板,你提供的信息越多,越容易及时获得解答。如果未按模板创建问题,管理员有权关闭问题。
确保帖子格式清晰易读,用 markdown code block 语法格式化代码块。
你只花一分钟创建的问题,不能指望别人花上半个小时给你解答。
操作系统信息
例如:Win11 子系统 Ubuntu18.04.5
Kubernetes版本信息
All-in-One 模式安装:
./kk create cluster –with-kubernetes v1.23.10 –with-kubesphere v3.3.2
问题是什么
23:22:38 CST [GreetingsModule] Greetings
23:22:38 CST message: [node1]
Greetings, KubeKey!
23:22:38 CST success: [node1]
23:22:38 CST [NodePreCheckModule] A pre-check on nodes
23:22:38 CST success: [node1]
23:22:38 CST [ConfirmModule] Display confirmation form
+——-+——+——+———+———-+——-+——-+———+———–+——–+——–+————+————+————-+——————+————–+
| name | sudo | curl | openssl | ebtables | socat | ipset | ipvsadm | conntrack | chrony | docker | containerd | nfs client | ceph client | glusterfs client | time |
+——-+——+——+———+———-+——-+——-+———+———–+——–+——–+————+————+————-+——————+————–+
| node1 | y | y | y | y | y | y | | y | | | | | | | CST 23:22:38 |
+——-+——+——+———+———-+——-+——-+———+———–+——–+——–+————+————+————-+——————+————–+
This is a simple check of your environment.
Before installation, ensure that your machines meet all requirements specified at
https://github.com/kubesphere/kubekey#requirements-and-recommendations
Continue this installation? [yes/no]: yes
23:22:41 CST success: [LocalHost]
23:22:41 CST [NodeBinariesModule] Download installation binaries
23:22:41 CST message: [localhost]
downloading amd64 kubeadm v1.23.10 …
23:22:41 CST message: [localhost]
kubeadm is existed
23:22:41 CST message: [localhost]
downloading amd64 kubelet v1.23.10 …
23:22:41 CST message: [localhost]
kubelet is existed
23:22:41 CST message: [localhost]
downloading amd64 kubectl v1.23.10 …
23:22:41 CST message: [localhost]
kubectl is existed
23:22:41 CST message: [localhost]
downloading amd64 helm v3.9.0 …
23:22:41 CST message: [localhost]
helm is existed
23:22:41 CST message: [localhost]
downloading amd64 kubecni v0.9.1 …
23:22:41 CST message: [localhost]
kubecni is existed
23:22:41 CST message: [localhost]
downloading amd64 crictl v1.24.0 …
23:22:41 CST message: [localhost]
crictl is existed
23:22:41 CST message: [localhost]
downloading amd64 etcd v3.4.13 …
23:22:41 CST message: [localhost]
etcd is existed
23:22:41 CST message: [localhost]
downloading amd64 docker 20.10.8 …
23:22:42 CST message: [localhost]
docker is existed
23:22:42 CST success: [LocalHost]
23:22:42 CST [ConfigureOSModule] Get OS release
23:22:42 CST success: [node1]
23:22:42 CST [ConfigureOSModule] Prepare to init OS
23:22:42 CST message: [node1]
Failed to override hostname: Failed to exec command: sudo -E /bin/bash -c “hostnamectl set-hostname node1 && sed -i ‘/127.0.1.1/s/.*/127.0.1.1 node1/g’ /etc/hosts”
Failed to create bus connection: No such file or directory: Process exited with status 1
23:22:42 CST retry: [node1]
23:22:47 CST message: [node1]
Failed to override hostname: Failed to exec command: sudo -E /bin/bash -c “hostnamectl set-hostname node1 && sed -i ‘/127.0.1.1/s/.*/127.0.1.1 node1/g’ /etc/hosts”
Failed to create bus connection: No such file or directory: Process exited with status 1
23:22:47 CST retry: [node1]
23:22:52 CST message: [node1]
Failed to override hostname: Failed to exec command: sudo -E /bin/bash -c “hostnamectl set-hostname node1 && sed -i ‘/127.0.1.1/s/.*/127.0.1.1 node1/g’ /etc/hosts”
Failed to create bus connection: No such file or directory: Process exited with status 1
23:22:52 CST failed: [node1]
error: Pipeline[CreateClusterPipeline] execute failed: Module[ConfigureOSModule] exec failed:
failed: [node1] [InitOS] exec failed after 3 retires: Failed to override hostname: Failed to exec command: sudo -E /bin/bash -c “hostnamectl set-hostname node1 && sed -i ‘/127.0.1.1/s/.*/127.0.1.1 node1/g’ /etc/hosts”
Failed to create bus connection: No such file or directory: Process exited with status 1