Open molixiaoge opened 2 months ago
./kk create cluster --with-kubernetes v1.22.12 --with-kubesphere v3.4.1
centos 7.9
No response
centos 7.9安装失败 ,提示
14:49:41 CST [ERRO] check remote file exist err: strconv.Atoi: parsing "/etc/profile.d/lang.sh: line 29: warning: setlocale: LC_TIME: cannot change locale (en_US.UTF-8)\r\n1": invalid syntax 14:49:41 CST message: [local-server] scp file /home/dy/test/kubekey/kubekey/local-server/initOS.sh to remote /usr/local/bin/kube-scripts/initOS.sh failed: validate md5sum failed 413f5dbc1189c90466d1e3d4a1f63d9f != /etc/profile.d/lang.sh: line 29: warning: setlocale: LC_TIME: cannot change locale (en_US.UTF-8)
[root@local-server kubekey]# ./kk create cluster --with-kubernetes v1.22.12 --with-kubesphere v3.4.1 _ __ _ _ __ | | / / | | | | / / | |/ / _ _| |__ ___| |/ / ___ _ _ | \| | | | '_ \ / _ \ \ / _ \ | | | | |\ \ |_| | |_) | __/ |\ \ __/ |_| | \_| \_/\__,_|_.__/ \___\_| \_/\___|\__, | __/ | |___/ 14:51:37 CST [GreetingsModule] Greetings 14:51:38 CST message: [local-server] bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf-8) /bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.utf-8) /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf-8) Greetings, KubeKey! 14:51:38 CST success: [local-server] 14:51:38 CST [NodePreCheckModule] A pre-check on nodes 14:51:38 CST success: [local-server] 14:51: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 | +--------------+------+------+---------+----------+-------+-------+---------+-----------+--------+--------+------------+------------+-------------+------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------+ | local-server | y | y | y | y | y | y | | y | y | y | y | | | | bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf-8) /bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.utf-8) CST 14:51: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 14:51:39 CST success: [LocalHost] 14:51:39 CST [NodeBinariesModule] Download installation binaries 14:51:39 CST message: [localhost] downloading amd64 kubeadm v1.22.12 ... 14:51:39 CST message: [localhost] kubeadm is existed 14:51:39 CST message: [localhost] downloading amd64 kubelet v1.22.12 ... 14:51:40 CST message: [localhost] kubelet is existed 14:51:40 CST message: [localhost] downloading amd64 kubectl v1.22.12 ... 14:51:41 CST message: [localhost] kubectl is existed 14:51:41 CST message: [localhost] downloading amd64 helm v3.9.0 ... 14:51:41 CST message: [localhost] helm is existed 14:51:41 CST message: [localhost] downloading amd64 kubecni v1.2.0 ... 14:51:41 CST message: [localhost] kubecni is existed 14:51:41 CST message: [localhost] downloading amd64 crictl v1.24.0 ... 14:51:41 CST message: [localhost] crictl is existed 14:51:41 CST message: [localhost] downloading amd64 etcd v3.4.13 ... 14:51:41 CST message: [localhost] etcd is existed 14:51:41 CST message: [localhost] downloading amd64 docker 24.0.6 ... 14:51:42 CST message: [localhost] docker is existed 14:51:42 CST message: [localhost] downloading amd64 calicoctl v3.26.1 ... 14:51:42 CST message: [localhost] calicoctl is existed 14:51:42 CST success: [LocalHost] 14:51:42 CST [ConfigureOSModule] Get OS release 14:51:42 CST success: [local-server] 14:51:42 CST [ConfigureOSModule] Prepare to init OS 14:51:43 CST success: [local-server] 14:51:43 CST [ConfigureOSModule] Generate init os script 14:51:43 CST [ERRO] check remote file exist err: strconv.Atoi: parsing "bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf-8)\r\n/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.utf-8)\r\n/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf-8)\r\n0": invalid syntax 14:51:43 CST message: [local-server] scp file /home/dy/test/kubekey/kubekey/local-server/initOS.sh to remote /usr/local/bin/kube-scripts/initOS.sh failed: validate md5sum failed 413f5dbc1189c90466d1e3d4a1f63d9f != bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf-8) /bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.utf-8) 413f5dbc1189c90466d1e3d4a1f63d9f 14:51:43 CST retry: [local-server] 14:51:48 CST [ERRO] check remote file exist err: strconv.Atoi: parsing "bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf-8)\r\n/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.utf-8)\r\n/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf-8)\r\n1": invalid syntax 14:51:48 CST message: [local-server] scp file /home/dy/test/kubekey/kubekey/local-server/initOS.sh to remote /usr/local/bin/kube-scripts/initOS.sh failed: validate md5sum failed 413f5dbc1189c90466d1e3d4a1f63d9f != bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf-8) /bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.utf-8) 413f5dbc1189c90466d1e3d4a1f63d9f 14:51:48 CST retry: [local-server] 14:51:53 CST [ERRO] check remote file exist err: strconv.Atoi: parsing "bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf-8)\r\n/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.utf-8)\r\n/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf-8)\r\n1": invalid syntax 14:51:53 CST message: [local-server] scp file /home/dy/test/kubekey/kubekey/local-server/initOS.sh to remote /usr/local/bin/kube-scripts/initOS.sh failed: validate md5sum failed 413f5dbc1189c90466d1e3d4a1f63d9f != bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf-8) /bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.utf-8) 413f5dbc1189c90466d1e3d4a1f63d9f 14:51:53 CST failed: [local-server] error: Pipeline[CreateClusterPipeline] execute failed: Module[ConfigureOSModule] exec failed: failed: [local-server] [GenerateScript] exec failed after 3 retries: scp file /home/dy/test/kubekey/kubekey/local-server/initOS.sh to remote /usr/local/bin/kube-scripts/initOS.sh failed: validate md5sum failed 413f5dbc1189c90466d1e3d4a1f63d9f != bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf-8) /bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.utf-8) 413f5dbc1189c90466d1e3d4a1f63d9f
What is version of KubeKey has the issue?
./kk create cluster --with-kubernetes v1.22.12 --with-kubesphere v3.4.1
What is your os environment?
centos 7.9
KubeKey config file
No response
A clear and concise description of what happend.
centos 7.9安装失败 ,提示
14:49:41 CST [ERRO] check remote file exist err: strconv.Atoi: parsing "/etc/profile.d/lang.sh: line 29: warning: setlocale: LC_TIME: cannot change locale (en_US.UTF-8)\r\n1": invalid syntax 14:49:41 CST message: [local-server] scp file /home/dy/test/kubekey/kubekey/local-server/initOS.sh to remote /usr/local/bin/kube-scripts/initOS.sh failed: validate md5sum failed 413f5dbc1189c90466d1e3d4a1f63d9f != /etc/profile.d/lang.sh: line 29: warning: setlocale: LC_TIME: cannot change locale (en_US.UTF-8)
Relevant log output
Additional information
No response