创建部署问题时,请参考下面模板,你提供的信息越多,越容易及时获得解答。如果未按模板创建问题,管理员有权关闭问题。
确保帖子格式清晰易读,用 markdown code block 语法格式化代码块。
你只花一分钟创建的问题,不能指望别人花上半个小时给你解答。
操作系统信息
例如:虚拟机/物理机,Centos7.5/Ubuntu18.04,4C/8G
Kubernetes版本信息
将 kubectl version
命令执行结果贴在下方
容器运行时
将 docker version
/ crictl version
/ nerdctl version
结果贴在下方
nerdctl
version=v1.6.6
KubeSphere版本信息
例如:v3.4.1。离线安装。在已有K8s上安装
问题是什么
执行卸载了一次,再次ks-install就启动不起来了
Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox “c224d4dc8c5f19dee523af521d89773f674adada3631d8a7cfa96db74b77f483”: plugin type=“calico” failed (add): cannot find a qualified ippool
calico-node 日志
2024-07-03 02:21:04.102 [INFO][42409] felix/summary.go 100: Summarising 11 dataplane reconciliation loops over 1m2.3s: avg=21ms longest=103ms (resync-ipsets-v4)
2024-07-03 02:21:51.300 [INFO][42409] felix/watchercache.go 96: Watch channel closed by remote - recreate watcher ListRoot=“/calico/resources/v3/projectcalico.org/networksets”
2024-07-03 02:22:06.515 [INFO][42409] felix/summary.go 100: Summarising 10 dataplane reconciliation loops over 1m2.4s: avg=42ms longest=198ms (resync-raw-v4)
2024-07-03 02:22:36.033 [INFO][42409] felix/watchercache.go 96: Watch channel closed by remote - recreate watcher ListRoot=“/calico/resources/v3/projectcalico.org/hostendpoints”
2024-07-03 02:23:09.627 [INFO][42409] felix/summary.go 100: Summarising 10 dataplane reconciliation loops over 1m3.1s: avg=14ms longest=26ms ()
2024-07-03 02:23:31.439 [INFO][42409] felix/int_dataplane.go 1484: Received *proto.NamespaceUpdate update from calculation graph msg=id:<name:“kubesphere-system” > labels:<key:“kubernetes.io/metadata.name” value:“kubesphere-system” > labels:<key:“projectcalico.org/name” value:“kubesphere-system” >
2024-07-03 02:23:36.809 [INFO][42409] felix/int_dataplane.go 1484: Received *proto.ServiceAccountUpdate update from calculation graph msg=id:<namespace:“kubesphere-system” name:“default” > labels:<key:“projectcalico.org/name” value:“default” >
2024-07-03 02:23:36.813 [INFO][42409] felix/int_dataplane.go 1484: Received *proto.ServiceAccountUpdate update from calculation graph msg=id:<namespace:“kubesphere-system” name:“ks-installer” > labels:<key:“projectcalico.org/name” value:“ks-installer” >
2024-07-03 02:23:36.845 [INFO][42409] felix/int_dataplane.go 1484: Received *proto.ServiceAccountRemove update from calculation graph msg=id:<namespace:“kubesphere-system” name:“default” >
2024-07-03 02:23:36.848 [INFO][42409] felix/int_dataplane.go 1484: Received *proto.ServiceAccountRemove update from calculation graph msg=id:<namespace:“kubesphere-system” name:“ks-installer” >
2024-07-03 02:23:36.922 [INFO][42409] felix/int_dataplane.go 1484: Received *proto.NamespaceUpdate update from calculation graph msg=id:<name:“kubesphere-system” > labels:<key:“kubernetes.io/metadata.name” value:“kubesphere-system” > labels:<key:“projectcalico.org/name” value:“kubesphere-system” >
2024-07-03 02:23:36.934 [INFO][42409] felix/int_dataplane.go 1484: Received *proto.NamespaceRemove update from calculation graph msg=id:<name:“kubesphere-system” >
2024-07-03 02:24:00.001 [INFO][42409] felix/int_dataplane.go 1484: Received *proto.NamespaceUpdate update from calculation graph msg=id:<name:“kubesphere-system” > labels:<key:“kubernetes.io/metadata.name” value:“kubesphere-system” > labels:<key:“projectcalico.org/name” value:“kubesphere-system” >
2024-07-03 02:24:00.010 [INFO][42409] felix/int_dataplane.go 1484: Received *proto.ServiceAccountUpdate update from calculation graph msg=id:<namespace:“kubesphere-system” name:“default” > labels:<key:“projectcalico.org/name” value:“default” >
2024-07-03 02:24:00.013 [INFO][42409] felix/int_dataplane.go 1484: Received *proto.ServiceAccountUpdate update from calculation graph msg=id:<namespace:“kubesphere-system” name:“ks-installer” > labels:<key:“projectcalico.org/name” value:“ks-installer” >
2024-07-03 02:24:00.022 [INFO][42409] felix/int_dataplane.go 1484: Received *proto.ServiceAccountUpdate update from calculation graph msg=id:<namespace:“kubesphere-system” name:“default” > labels:<key:“projectcalico.org/name” value:“default” >
2024-07-03 02:24:00.028 [INFO][42409] felix/int_dataplane.go 1484: Received *proto.ServiceAccountUpdate update from calculation graph msg=id:<namespace:“kubesphere-system” name:“ks-installer” > labels:<key:“projectcalico.org/name” value:“ks-installer” >
2024-07-03 02:24:12.151 [INFO][42409] felix/summary.go 100: Summarising 23 dataplane reconciliation loops over 1m2.5s: avg=19ms longest=164ms (resync-ipsets-v4)
2024-07-03 02:25:14.572 [INFO][42409] felix/summary.go 100: Summarising 10 dataplane reconciliation loops over 1m2.4s: avg=44ms longest=197ms (resync-raw-v4)
2024-07-03 02:26:14.687 [INFO][42409] felix/summary.go 100: Summarising 9 dataplane reconciliation loops over 1m0.1s: avg=41ms longest=192ms (resync-ipsets-v4)
2024-07-03 02:26:31.918 [INFO][42409] felix/watchercache.go 96: Watch channel closed by remote - recreate watcher ListRoot=“/calico/resources/v3/projectcalico.org/clusterinformations”
2024-07-03 02:27:21.693 [INFO][42409] felix/summary.go 100: Summarising 11 dataplane reconciliation loops over 1m7s: avg=35ms longest=251ms (resync-routes-v4,resync-routes-v4,resync-rules-v4,resync-wg)
2024-07-03 02:28:24.947 [INFO][42409] felix/summary.go 100: Summarising 10 dataplane reconciliation loops over 1m3.3s: avg=19ms longest=81ms (resync-routes-v4,resync-routes-v4,resync-rules-v4,resync-wg)
2024-07-03 02:28:56.375 [INFO][104] confd/watchercache.go 96: Watch channel closed by remote - recreate watcher ListRoot=“/calico/resources/v3/projectcalico.org/bgppeers”
2024-07-03 02:29:27.899 [INFO][42409] felix/summary.go 100: Summarising 11 dataplane reconciliation loops over 1m3s: avg=27ms longest=86ms (resync-raw-v4)