Open BruceShi2006 opened 3 weeks ago
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
求助
3.5.2
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
3.5.2
OS version 操作系统版本
Related plugins (CNI, CSI, ...) and versions (if applicable) 其他网络插件等需要说明的情况