Closed BruceShi2006 closed 1 month ago
TASK [calico : 创建 calico证书和私钥] ** changed: [172.31.7.112] changed: [172.31.7.101] changed: [172.31.7.102] changed: [172.31.7.111]
TASK [calico : 分发calico证书相关] **** ok: [172.31.7.111] => (item=ca.pem) ok: [172.31.7.112] => (item=ca.pem) ok: [172.31.7.101] => (item=ca.pem) changed: [172.31.7.112] => (item=calico.pem) changed: [172.31.7.111] => (item=calico.pem) changed: [172.31.7.112] => (item=calico-key.pem) changed: [172.31.7.101] => (item=calico.pem) changed: [172.31.7.111] => (item=calico-key.pem) ok: [172.31.7.102] => (item=ca.pem) changed: [172.31.7.101] => (item=calico-key.pem) changed: [172.31.7.102] => (item=calico.pem) changed: [172.31.7.102] => (item=calico-key.pem)
TASK [calico : get calico-etcd-secrets info] **** fatal: [172.31.7.101]: FAILED! => {"changed": true, "cmd": "/opt/kube/bin/kubectl get secrets -n kube-system", "delta": "0:00:11.301104", "end": "2024-08-05 06:47:24.441823", "msg": "non-zero return code", "rc": 1, "start": "2024-08-05 06:47:13.140719", "stderr": "Unable to connect to the server: net/http: TLS handshake timeout", "stderr_lines": ["Unable to connect to the server: net/http: TLS handshake timeout"], "stdout": "", "stdout_lines": []}
NO MORE HOSTS LEFT **
PLAY RECAP ** 172.31.7.101 : ok=5 changed=2 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0 172.31.7.102 : ok=5 changed=2 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 172.31.7.111 : ok=5 changed=2 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 172.31.7.112 : ok=5 changed=2 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
希望大神能帮我解决这个错误
执行 ./ezctl setup k8s-cluster1 06 报错
No response
Client Version: version.Info{Major:"1", Minor:"24", GitVersion:"v1.24.2", GitCommit:"f66044f4361b9f1f96f0053dd46cb7dce5e990a8", GitTreeState:"clean", BuildDate:"2022-06-15T14:22:29Z", GoVersion:"go1.18.3", Compiler:"gc", Platform:"linux/amd64"} Kustomize Version: v4.5.4 Server Version: version.Info{Major:"1", Minor:"24", GitVersion:"v1.24.2", GitCommit:"f66044f4361b9f1f96f0053dd46cb7dce5e990a8", GitTreeState:"clean", BuildDate:"2022-06-15T14:15:38Z", GoVersion:"go1.18.3", Compiler:"gc", Platform:"linux/amd64"}
3.3.1
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? 发生了什么问题?
TASK [calico : 创建 calico证书和私钥] ** changed: [172.31.7.112] changed: [172.31.7.101] changed: [172.31.7.102] changed: [172.31.7.111]
TASK [calico : 分发calico证书相关] **** ok: [172.31.7.111] => (item=ca.pem) ok: [172.31.7.112] => (item=ca.pem) ok: [172.31.7.101] => (item=ca.pem) changed: [172.31.7.112] => (item=calico.pem) changed: [172.31.7.111] => (item=calico.pem) changed: [172.31.7.112] => (item=calico-key.pem) changed: [172.31.7.101] => (item=calico.pem) changed: [172.31.7.111] => (item=calico-key.pem) ok: [172.31.7.102] => (item=ca.pem) changed: [172.31.7.101] => (item=calico-key.pem) changed: [172.31.7.102] => (item=calico.pem) changed: [172.31.7.102] => (item=calico-key.pem)
TASK [calico : get calico-etcd-secrets info] **** fatal: [172.31.7.101]: FAILED! => {"changed": true, "cmd": "/opt/kube/bin/kubectl get secrets -n kube-system", "delta": "0:00:11.301104", "end": "2024-08-05 06:47:24.441823", "msg": "non-zero return code", "rc": 1, "start": "2024-08-05 06:47:13.140719", "stderr": "Unable to connect to the server: net/http: TLS handshake timeout", "stderr_lines": ["Unable to connect to the server: net/http: TLS handshake timeout"], "stdout": "", "stdout_lines": []}
NO MORE HOSTS LEFT **
PLAY RECAP ** 172.31.7.101 : ok=5 changed=2 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
172.31.7.102 : ok=5 changed=2 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
172.31.7.111 : ok=5 changed=2 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
172.31.7.112 : ok=5 changed=2 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
What did you expect to happen? 期望的结果是什么?
希望大神能帮我解决这个错误
How can we reproduce it (as minimally and precisely as possible)? 尽可能最小化、精确地描述如何复现问题
执行 ./ezctl setup k8s-cluster1 06 报错
Anything else we need to know? 其他需要说明的情况
No response
Kubernetes version k8s 版本
Client Version: version.Info{Major:"1", Minor:"24", GitVersion:"v1.24.2", GitCommit:"f66044f4361b9f1f96f0053dd46cb7dce5e990a8", GitTreeState:"clean", BuildDate:"2022-06-15T14:22:29Z", GoVersion:"go1.18.3", Compiler:"gc", Platform:"linux/amd64"} Kustomize Version: v4.5.4 Server Version: version.Info{Major:"1", Minor:"24", GitVersion:"v1.24.2", GitCommit:"f66044f4361b9f1f96f0053dd46cb7dce5e990a8", GitTreeState:"clean", BuildDate:"2022-06-15T14:15:38Z", GoVersion:"go1.18.3", Compiler:"gc", Platform:"linux/amd64"}
Kubeasz version
3.3.1
OS version 操作系统版本
Related plugins (CNI, CSI, ...) and versions (if applicable) 其他网络插件等需要说明的情况