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

All-in-one发生报错,node is noReady #1427

Open
sunminming opened this issue Nov 23, 2024 · 1 comment
Open

All-in-one发生报错,node is noReady #1427

sunminming opened this issue Nov 23, 2024 · 1 comment

Comments

@sunminming
Copy link

What happened? 发生了什么问题?

执行all-in-one脚本时,节点一直处于notready状态导致执行失败。kubelet日志如下:

root@k8s-10-10-40-34:/home/sunminming# journalctl -u kubelet -f
11月 24 00:20:38 k8s-10-10-40-34 kubelet[12447]: E1124 00:20:38.181949   12447 kubelet.go:2900] "Container runtime network not ready" networkReady="NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: cni plugin not initialized"
11月 24 00:20:43 k8s-10-10-40-34 kubelet[12447]: E1124 00:20:43.183088   12447 kubelet.go:2900] "Container runtime network not ready" networkReady="NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: cni plugin not initialized"
11月 24 00:20:48 k8s-10-10-40-34 kubelet[12447]: E1124 00:20:48.184364   12447 kubelet.go:2900] "Container runtime network not ready" networkReady="NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: cni plugin not initialized"
11月 24 00:20:53 k8s-10-10-40-34 kubelet[12447]: E1124 00:20:53.186022   12447 kubelet.go:2900] "Container runtime network not ready" networkReady="NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: cni plugin not initialized"
11月 24 00:20:58 k8s-10-10-40-34 kubelet[12447]: E1124 00:20:58.187547   12447 kubelet.go:2900] "Container runtime network not ready" networkReady="NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: cni plugin not initialized"
11月 24 00:21:03 k8s-10-10-40-34 kubelet[12447]: E1124 00:21:03.189435   12447 kubelet.go:2900] "Container runtime network not ready" networkReady="NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: cni plugin not initialized"
11月 24 00:21:08 k8s-10-10-40-34 kubelet[12447]: E1124 00:21:08.192488   12447 kubelet.go:2900] "Container runtime network not ready" networkReady="NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: cni plugin not initialized"
11月 24 00:21:13 k8s-10-10-40-34 kubelet[12447]: E1124 00:21:13.193692   12447 kubelet.go:2900] "Container runtime network not ready" networkReady="NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: cni plugin not initialized"

What did you expect to happen? 期望的结果是什么?

节点状态Ready,cni pod正常启动

How can we reproduce it (as minimally and precisely as possible)? 尽可能最小化、精确地描述如何复现问题

按教程执行脚本

Anything else we need to know? 其他需要说明的情况

No response

Kubernetes version k8s 版本

kubernetes: v1.30.1

Kubeasz version

3.6.4

OS version 操作系统版本

# On Linux:
$ cat /etc/os-release
# paste output here
$ uname -a
# paste output here

root@k8s-10-10-40-34:/home/sunminming# cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.4 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.4 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy

Related plugins (CNI, CSI, ...) and versions (if applicable) 其他网络插件等需要说明的情况

*** Component Version ********************* ******************************************* * kubernetes: v1.30.1 * etcd: v3.5.12 * calico: v3.26.4 *******************************************
@sunminming
Copy link
Author

root@k8s-10-10-40-34:/home/sunminming# uname -a
Linux k8s-10-10-40-34 6.5.0-18-generic #18~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Feb 7 11:40:03 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant