步骤./ezctl setup k8s-cluster1 04报错
BruceShi2006 opened this issue · 2 comments
What happened? 发生了什么问题?
TASK [kube-master : 创建 kubernetes 证书签名请求] **************************************************************************************************************************************************
fatal: [172.31.7.101]: FAILED! => {"changed": false, "msg": "AnsibleUndefinedVariable: {{ SERVICE_CIDR.split('.')[0] }}.{{ SERVICE_CIDR.split('.')[1] }}.{{ SERVICE_CIDR.split('.')[2] }}.{{ SERVICE_CIDR.split('.')[3]|int + 1 }}: 'SERVICE_CIDR' is undefined"}
fatal: [172.31.7.102]: FAILED! => {"changed": false, "msg": "AnsibleUndefinedVariable: {{ SERVICE_CIDR.split('.')[0] }}.{{ SERVICE_CIDR.split('.')[1] }}.{{ SERVICE_CIDR.split('.')[2] }}.{{ SERVICE_CIDR.split('.')[3]|int + 1 }}: 'SERVICE_CIDR' is undefined"}
PLAY RECAP *********************************************************************************************************************************************************************************
172.31.7.101 : ok=10 changed=3 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
172.31.7.102 : ok=10 changed=3 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
What did you expect to happen? 期望的结果是什么?
求助
How can we reproduce it (as minimally and precisely as possible)? 尽可能最小化、精确地描述如何复现问题
求助
Anything else we need to know? 其他需要说明的情况
求助
Kubernetes version k8s 版本
Kubeasz version
OS version 操作系统版本
# On Linux:
$ cat /etc/os-release
# paste output here
$ uname -a
# Linux haproxy2 5.15.0-124-generic #134-Ubuntu SMP Fri Sep 27 20:20:17 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Related plugins (CNI, CSI, ...) and versions (if applicable) 其他网络插件等需要说明的情况
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.