Rancher Server 设置
- Rancher 版本:2.6.6
- 安装选项 (Docker install/Helm Chart): RKE1
- 在线或离线部署:在线部署
下游集群信息
- Kubernetes 版本: v1.21.13-rancher1-1
- Cluster Type (Local/Downstream):
- 如果 Downstream,是什么类型的集群?(自定义/导入或为托管 等): local
主机操作系统:
Centos7.8
问题描述:
Rancher2.6.6 版本上面使用RKE1 新建集群后,一直显示无法 Waiting for API to be available
日志显示 [Disconnected] Cluster agent is not connected
我们项目正在进行,需要马上部署好服务器,很急!!! 大神们赶紧帮帮忙
截图:
其他上下文信息:
日志
kubelet 里面一直有报错日志
I1206 09:36:23.701062 24564 scope.go:110] "RemoveContainer" containerID="8e5d9a8b4f5580d5716c41cc68f2960a79686114e400f5ba514b8eebd6451635"
I1206 09:36:23.701392 24564 scope.go:110] "RemoveContainer" containerID="a675e7942523c05e58b97bd768327410a599bee98ff1f3af3bc02f692870969a"
E1206 09:36:23.701600 24564 pod_workers.go:951] "Error syncing pod, skipping" err="failed to \"StartContainer\" for \"cluster-register\" with CrashLoopBackOff: \"back-off 5m0s restarting failed container=cluster-register pod=cattle-cluster-agent-5647775bd4-z66pf_cattle-system(a14b8612-692f-418b-b24f-a3d67c587596)\"" pod="cattle-system/cattle-cluster-agent-5647775bd4-z66pf" podUID=a14b8612-692f-418b-b24f-a3d67c587596
I1206 09:36:34.304729 24564 scope.go:110] "RemoveContainer" containerID="a675e7942523c05e58b97bd768327410a599bee98ff1f3af3bc02f692870969a"
E1206 09:36:34.304952 24564 pod_workers.go:951] "Error syncing pod, skipping" err="failed to \"StartContainer\" for \"cluster-register\" with CrashLoopBackOff: \"back-off 5m0s restarting failed container=cluster-register pod=cattle-cluster-agent-5647775bd4-z66pf_cattle-system(a14b8612-692f-418b-b24f-a3d67c587596)\"" pod="cattle-system/cattle-cluster-agent-5647775bd4-z66pf" podUID=a14b8612-692f-418b-b24f-a3d67c587596
I1206 09:36:49.305169 24564 scope.go:110] "RemoveContainer" containerID="a675e7942523c05e58b97bd768327410a599bee98ff1f3af3bc02f692870969a"
E1206 09:36:49.305409 24564 pod_workers.go:951] "Error syncing pod, skipping" err="failed to \"StartContainer\" for \"cluster-register\" with CrashLoopBackOff: \"back-off 5m0s restarting failed container=cluster-register pod=cattle-cluster-agent-5647775bd4-z66pf_cattle-system(a14b8612-692f-418b-b24f-a3d67c587596)\"" pod="cattle-system/cattle-cluster-agent-5647775bd4-z66pf" podUID=a14b8612-692f-418b-b24f-a3d67c587596
I1206 09:37:03.304580 24564 scope.go:110] "RemoveContainer" containerID="a675e7942523c05e58b97bd768327410a599bee98ff1f3af3bc02f692870969a"
E1206 09:37:03.304830 24564 pod_workers.go:951] "Error syncing pod, skipping" err="failed to \"StartContainer\" for \"cluster-register\" with CrashLoopBackOff: \"back-off 5m0s restarting failed container=cluster-register pod=cattle-cluster-agent-5647775bd4-z66pf_cattle-system(a14b8612-692f-418b-b24f-a3d67c587596)\"" pod="cattle-system/cattle-cluster-agent-5647775bd4-z66pf" podUID=a14b8612-692f-418b-b24f-a3d67c587596
I1206 09:37:15.304338 24564 scope.go:110] "RemoveContainer" containerID="a675e7942523c05e58b97bd768327410a599bee98ff1f3af3bc02f692870969a"
E1206 09:37:15.304573 24564 pod_workers.go:951] "Error syncing pod, skipping" err="failed to \"StartContainer\" for \"cluster-register\" with CrashLoopBackOff: \"back-off 5m0s restarting failed container=cluster-register pod=cattle-cluster-agent-5647775bd4-z66pf_cattle-system(a14b8612-692f-418b-b24f-a3d67c587596)\"" pod="cattle-system/cattle-cluster-agent-5647775bd4-z66pf" podUID=a14b8612-692f-418b-b24f-a3d67c587596
I1206 09:37:29.304068 24564 scope.go:110] "RemoveContainer" containerID="a675e7942523c05e58b97bd768327410a599bee98ff1f3af3bc02f692870969a"
E1206 09:37:29.304638 24564 pod_workers.go:951] "Error syncing pod, skipping" err="failed to \"StartContainer\" for \"cluster-register\" with CrashLoopBackOff: \"back-off 5m0s restarting failed container=cluster-register pod=cattle-cluster-agent-5647775bd4-z66pf_cattle-system(a14b8612-692f-418b-b24f-a3d67c587596)\"" pod="cattle-system/cattle-cluster-agent-5647775bd4-z66pf" podUID=a14b8612-692f-418b-b24f-a3d67c587596
I1206 09:37:44.304003 24564 scope.go:110] "RemoveContainer" containerID="a675e7942523c05e58b97bd768327410a599bee98ff1f3af3bc02f692870969a"
E1206 09:37:44.304272 24564 pod_workers.go:951] "Error syncing pod, skipping" err="failed to \"StartContainer\" for \"cluster-register\" with CrashLoopBackOff: \"back-off 5m0s restarting failed container=cluster-register pod=cattle-cluster-agent-5647775bd4-z66pf_cattle-system(a14b8612-692f-418b-b24f-a3d67c587596)\"" pod="cattle-system/cattle-cluster-agent-5647775bd4-z66pf" podUID=a14b8612-692f-418b-b24f-a3d67c587596
I1206 09:37:56.303872 24564 scope.go:110] "RemoveContainer" containerID="a675e7942523c05e58b97bd768327410a599bee98ff1f3af3bc02f692870969a"
E1206 09:37:56.304160 24564 pod_workers.go:951] "Error syncing pod, skipping" err="failed to \"StartContainer\" for \"cluster-register\" with CrashLoopBackOff: \"back-off 5m0s restarting failed container=cluster-register pod=cattle-cluster-agent-5647775bd4-z66pf_cattle-system(a14b8612-692f-418b-b24f-a3d67c587596)\"" pod="cattle-system/cattle-cluster-agent-5647775bd4-z66pf" podUID=a14b8612-692f-418b-b24f-a3d67c587596
I1206 09:38:07.304629 24564 scope.go:110] "RemoveContainer" containerID="a675e7942523c05e58b97bd768327410a599bee98ff1f3af3bc02f692870969a"
E1206 09:38:07.304848 24564 pod_workers.go:951] "Error syncing pod, skipping" err="failed to \"StartContainer\" for \"cluster-register\" with CrashLoopBackOff: \"back-off 5m0s restarting failed container=cluster-register pod=cattle-cluster-agent-5647775bd4-z66pf_cattle-system(a14b8612-692f-418b-b24f-a3d67c587596)\"" pod="cattle-system/cattle-cluster-agent-5647775bd4-z66pf" podUID=a14b8612-692f-418b-b24f-a3d67c587596
I1206 09:38:19.304954 24564 scope.go:110] "RemoveContainer" containerID="a675e7942523c05e58b97bd768327410a599bee98ff1f3af3bc02f692870969a"
E1206 09:38:19.305192 24564 pod_workers.go:951] "Error syncing pod, skipping" err="failed to \"StartContainer\" for \"cluster-register\" with CrashLoopBackOff: \"back-off 5m0s restarting failed container=cluster-register pod=cattle-cluster-agent-5647775bd4-z66pf_cattle-system(a14b8612-692f-418b-b24f-a3d67c587596)\"" pod="cattle-system/cattle-cluster-agent-5647775bd4-z66pf" podUID=a14b8612-692f-418b-b24f-a3d67c587596
I1206 09:38:30.303782 24564 scope.go:110] "RemoveContainer" containerID="a675e7942523c05e58b97bd768327410a599bee98ff1f3af3bc02f692870969a"
E1206 09:38:30.304047 24564 pod_workers.go:951] "Error syncing pod, skipping" err="failed to \"StartContainer\" for \"cluster-register\" with CrashLoopBackOff: \"back-off 5m0s restarting failed container=cluster-register pod=cattle-cluster-agent-5647775bd4-z66pf_cattle-system(a14b8612-692f-418b-b24f-a3d67c587596)\"" pod="cattle-system/cattle-cluster-agent-5647775bd4-z66pf" podUID=a14b8612-692f-418b-b24f-a3d67c587596
I1206 09:38:45.304680 24564 scope.go:110] "RemoveContainer" containerID="a675e7942523c05e58b97bd768327410a599bee98ff1f3af3bc02f692870969a"
E1206 09:38:45.304907 24564 pod_workers.go:951] "Error syncing pod, skipping" err="failed to \"StartContainer\" for \"cluster-register\" with CrashLoopBackOff: \"back-off 5m0s restarting failed container=cluster-register pod=cattle-cluster-agent-5647775bd4-z66pf_cattle-system(a14b8612-692f-418b-b24f-a3d67c587596)\"" pod="cattle-system/cattle-cluster-agent-5647775bd4-z66pf" podUID=a14b8612-692f-418b-b24f-a3d67c587596