easzlab / kubeasz

使用Ansible脚本安装K8S集群,介绍组件交互原理,方便直接,不受国内网络环境影响
https://github.com/easzlab/kubeasz
10.54k stars 3.53k forks source link

calico有问题 #1332

Closed wujunlin555 closed 11 months ago

wujunlin555 commented 1 year ago

What happened? 发生了什么问题?

Warning FailedCreatePodSandBox 5m57s kubelet Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "20d3feb0e9ed29a754fb921b8ae728d4b2d6035d2add28d7e1d4b1f7ce08be10": plugin type="calico" failed (add): Unauthorized Warning FailedCreatePodSandBox 5m42s kubelet Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "e8330d941880592e09b78c8bf293bb8506eb3fddcf95f6d90b131798e588011a": plugin type="calico" failed (add): Unauthorized Warning FailedCreatePodSandBox 5m29s kubelet Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "7fec20d745e1491a03e68ed792bf09eb02c75ddf1a03504f17eb270c6707062b": plugin type="calico" failed (add): Unauthorized Warning FailedCreatePodSandBox 5m14s kubelet Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "4cc6d3db6786b776309dd8030ebe9c51e03924df821da625250c405e49e9e748": plugin type="calico" failed (add): Unauthorized Warning FailedCreatePodSandBox 5m2s kubelet Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "525b05513d356d9e75097bd16c18b4466a6c3821d691eea68d8a0cee803cbbc8": plugin type="calico" failed (add): Unauthorized Warning FailedCreatePodSandBox 4m50s kubelet Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "e6b86093d60847a36b0ac99b174bd974b25ef65bd9de24b564e72338a027f4c7": plugin type="calico" failed (add): Unauthorized Warning FailedCreatePodSandBox 4m39s kubelet Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "7ca2f244aba0da32f5ae949e3b763edc2177a8dea6b628e6b44de711c674151d": plugin type="calico" failed (add): Unauthorized Warning FailedCreatePodSandBox 4m27s kubelet Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "5b8213492aec38752de6d05131d3eff2fc79fda8160926f6e97b8328a63cbbc7": plugin type="calico" failed (add): Unauthorized Warning FailedCreatePodSandBox 4m16s kubelet Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "dc4a148abce170f5a6592390f687bc6d67451605fb13eb8e8f9fb8dd1a38feec": plugin type="calico" failed (add): Unauthorized Warning FailedCreatePodSandBox 109s (x11 over 4m3s) kubelet (combined from similar events): Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "8cb6f6a738b174add6dc74c89e1ff7e03dac0ea3ec5593d4d93da52249ed02ac": plugin type="calico" failed (add): Unauthorized

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

时不时报这个错 删除calico 重建就解决了

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

不知道为啥经常报这个错

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

No response

Kubernetes version k8s 版本

v1.28.1

Kubeasz version

kubeasz-3.6.2

OS version 操作系统版本

centos7

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

github-actions[bot] commented 11 months ago

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

github-actions[bot] commented 11 months ago

This issue was closed because it has been inactive for 14 days since being marked as stale.