Closed haioa closed 10 months ago
[root@localhost ~]# ./ezdown -S 2023-12-07 21:46:25 INFO Action begin: start_kubeasz_docker Loaded image: easzlab/kubeasz:3.6.2 2023-12-07 21:46:25 INFO try to run kubeasz in a container 2023-12-07 21:46:25 DEBUG get host IP: 192.168.31.5 2023-12-07 21:46:25 DEBUG generate ssh key pair # 192.168.31.5:22 SSH-2.0-OpenSSH_7.4 97c188dee9a4a6fbd140b9843a0b253dee4426817a1b74f910ecfb87d4e1c6b4 2023-12-07 21:46:25 INFO Action successed: start_kubeasz_docker [root@localhost ~]# docker exec -it kubeasz ezctl start-aio 2023-12-07 21:46:40 INFO get local host ipadd: 192.168.31.5 2023-12-07 21:46:40 DEBUG generate custom cluster files in /etc/kubeasz/clusters/default 2023-12-07 21:46:40 DEBUG set versions 2023-12-07 21:46:40 DEBUG cluster default: files successfully created. 2023-12-07 21:46:40 INFO next steps 1: to config '/etc/kubeasz/clusters/default/hosts' 2023-12-07 21:46:40 INFO next steps 2: to config '/etc/kubeasz/clusters/default/config.yml' ansible-playbook -i clusters/default/hosts -e @clusters/default/config.yml playbooks/90.setup.yml *** Component Version ********************* ******************************************* * kubernetes: v1.28.1 * etcd: v3.5.9 * calico: v3.24.6 ******************************************* 2023-12-07 21:46:40 INFO cluster:default setup step:all begins in 5s, press any key to abort: PLAY [kube_master,kube_node,etcd,ex_lb,chrony] ****************************************************************************** TASK [Gathering Facts] ****************************************************************************************************** fatal: [192.168.31.5]: FAILED! => {"ansible_facts": {}, "changed": false, "failed_modules": {"ansible.legacy.setup": {"failed": true, "module_stderr": "/bin/sh: /usr/bin/python3: 没有那个文件或目录\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 127}}, "msg": "The following modules failed to execute: ansible.legacy.setup\n"} PLAY RECAP ****************************************************************************************************************** 192.168.31.5 : ok=0 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
成功运行
[root@localhost ~]# ./ezdown -S 2023-12-07 21:46:25 INFO Action begin: start_kubeasz_docker Loaded image: easzlab/kubeasz:3.6.2 2023-12-07 21:46:25 INFO try to run kubeasz in a container 2023-12-07 21:46:25 DEBUG get host IP: 192.168.31.5 2023-12-07 21:46:25 DEBUG generate ssh key pair
97c188dee9a4a6fbd140b9843a0b253dee4426817a1b74f910ecfb87d4e1c6b4 2023-12-07 21:46:25 INFO Action successed: start_kubeasz_docker [root@localhost ~]# docker exec -it kubeasz ezctl start-aio 2023-12-07 21:46:40 INFO get local host ipadd: 192.168.31.5 2023-12-07 21:46:40 DEBUG generate custom cluster files in /etc/kubeasz/clusters/default 2023-12-07 21:46:40 DEBUG set versions 2023-12-07 21:46:40 DEBUG cluster default: files successfully created. 2023-12-07 21:46:40 INFO next steps 1: to config '/etc/kubeasz/clusters/default/hosts' 2023-12-07 21:46:40 INFO next steps 2: to config '/etc/kubeasz/clusters/default/config.yml' ansible-playbook -i clusters/default/hosts -e @clusters/default/config.yml playbooks/90.setup.yml * Component Version ***
2023-12-07 21:46:40 INFO cluster:default setup step:all begins in 5s, press any key to abort:
PLAY [kube_master,kube_node,etcd,ex_lb,chrony] **
TASK [Gathering Facts] ** fatal: [192.168.31.5]: FAILED! => {"ansible_facts": {}, "changed": false, "failed_modules": {"ansible.legacy.setup": {"failed": true, "module_stderr": "/bin/sh: /usr/bin/python3: 没有那个文件或目录\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 127}}, "msg": "The following modules failed to execute: ansible.legacy.setup\n"}
PLAY RECAP ** 192.168.31.5 : ok=0 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
No response
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.
What happened? 发生了什么问题?
What did you expect to happen? 期望的结果是什么?
成功运行
How can we reproduce it (as minimally and precisely as possible)? 尽可能最小化、精确地描述如何复现问题
[root@localhost ~]# ./ezdown -S 2023-12-07 21:46:25 INFO Action begin: start_kubeasz_docker Loaded image: easzlab/kubeasz:3.6.2 2023-12-07 21:46:25 INFO try to run kubeasz in a container 2023-12-07 21:46:25 DEBUG get host IP: 192.168.31.5 2023-12-07 21:46:25 DEBUG generate ssh key pair
192.168.31.5:22 SSH-2.0-OpenSSH_7.4
97c188dee9a4a6fbd140b9843a0b253dee4426817a1b74f910ecfb87d4e1c6b4 2023-12-07 21:46:25 INFO Action successed: start_kubeasz_docker [root@localhost ~]# docker exec -it kubeasz ezctl start-aio 2023-12-07 21:46:40 INFO get local host ipadd: 192.168.31.5 2023-12-07 21:46:40 DEBUG generate custom cluster files in /etc/kubeasz/clusters/default 2023-12-07 21:46:40 DEBUG set versions 2023-12-07 21:46:40 DEBUG cluster default: files successfully created. 2023-12-07 21:46:40 INFO next steps 1: to config '/etc/kubeasz/clusters/default/hosts' 2023-12-07 21:46:40 INFO next steps 2: to config '/etc/kubeasz/clusters/default/config.yml' ansible-playbook -i clusters/default/hosts -e @clusters/default/config.yml playbooks/90.setup.yml * Component Version ***
2023-12-07 21:46:40 INFO cluster:default setup step:all begins in 5s, press any key to abort:
PLAY [kube_master,kube_node,etcd,ex_lb,chrony] **
TASK [Gathering Facts] ** fatal: [192.168.31.5]: FAILED! => {"ansible_facts": {}, "changed": false, "failed_modules": {"ansible.legacy.setup": {"failed": true, "module_stderr": "/bin/sh: /usr/bin/python3: 没有那个文件或目录\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 127}}, "msg": "The following modules failed to execute: ansible.legacy.setup\n"}
PLAY RECAP ** 192.168.31.5 : ok=0 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
Anything else we need to know? 其他需要说明的情况
No response
Kubernetes version k8s 版本
Kubeasz version
OS version 操作系统版本
Related plugins (CNI, CSI, ...) and versions (if applicable) 其他网络插件等需要说明的情况