Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

步骤./ezctl setup k8s-cluster1 04报错 #1415

Open
BruceShi2006 opened this issue Oct 29, 2024 · 1 comment
Open

步骤./ezctl setup k8s-cluster1 04报错 #1415

BruceShi2006 opened this issue Oct 29, 2024 · 1 comment
Labels

Comments

@BruceShi2006
Copy link

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 操作系统版本

# 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) 其他网络插件等需要说明的情况

Copy link

This issue is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale label Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant