Rancher 2.7.5 新建集群,Waiting for node 一直等待中,集群创建不出来。No image provided, creating empty working directory /var/lib/rancher/agent/work/20240902-145258/ab9c800838bc4306048456f1953098894a0e0caed07c35f6054e815fc4c554e7_0"

Rancher Server 设置

  • Rancher 版本:2.7.5
  • 安装选项 (Docker install/Helm Chart): Docker install
    • 如果是 Helm Chart 安装,需要提供 Local 集群的类型(RKE1, RKE2, k3s, EKS, 等)和版本:
  • 在线或离线部署:

下游集群信息

  • Kubernetes 版本: 1.26.5
  • Cluster Type (Local/Downstream):
    • 如果 Downstream,是什么类型的集群?(自定义/导入或为托管 等):

用户信息

  • 登录用户的角色是什么? (管理员/集群所有者/集群成员/项目所有者/项目成员/自定义):
    • 如果自定义,自定义权限集:

**主机操作系统:**Centos 7.9

问题描述:
创建集群一直updating
image

image

使用 journalctl -u rancher-system-agent.service -f 查看日志如下:
image

重现步骤:

结果:

预期结果:

截图:

其他上下文信息:

日志
-bash-4.2# journalctl -u rancher-system-agent.service -f
-- Logs begin at Thu 2024-08-29 03:52:03 CST. --
Sep 02 14:52:58 k8s-master rancher-system-agent[27410]: time="2024-09-02T14:52:58+08:00" level=info msg="[Applyinator] No image provided, creating empty working directory /var/lib/rancher/agent/work/20240902-145258/ab9c800838bc4306048456f1953098894a0e0caed07c35f6054e815fc4c554e7_0"
Sep 02 14:52:58 k8s-master rancher-system-agent[27410]: time="2024-09-02T14:52:58+08:00" level=info msg="[Applyinator] Running command: sh [-c rke2 etcd-snapshot list --etcd-s3=false 2>/dev/null]"
Sep 02 14:52:58 k8s-master rancher-system-agent[27410]: time="2024-09-02T14:52:58+08:00" level=info msg="[ab9c800838bc4306048456f1953098894a0e0caed07c35f6054e815fc4c554e7_0:stdout]: Name   Location                                                                             Size     Created"
Sep 02 14:52:58 k8s-master rancher-system-agent[27410]: time="2024-09-02T14:52:58+08:00" level=info msg="[ab9c800838bc4306048456f1953098894a0e0caed07c35f6054e815fc4c554e7_0:stdout]: etcd-snapshot-k8s-master-1725174003 file:///var/lib/rancher/rke2/server/db/snapshots/etcd-snapshot-k8s-master-1725174003 10031136 2024-09-01T15:00:04+08:00"
Sep 02 14:52:58 k8s-master rancher-system-agent[27410]: time="2024-09-02T14:52:58+08:00" level=info msg="[ab9c800838bc4306048456f1953098894a0e0caed07c35f6054e815fc4c554e7_0:stdout]: etcd-snapshot-k8s-master-1725192002 file:///var/lib/rancher/rke2/server/db/snapshots/etcd-snapshot-k8s-master-1725192002 10100768 2024-09-01T20:00:03+08:00"
Sep 02 14:52:58 k8s-master rancher-system-agent[27410]: time="2024-09-02T14:52:58+08:00" level=info msg="[ab9c800838bc4306048456f1953098894a0e0caed07c35f6054e815fc4c554e7_0:stdout]: etcd-snapshot-k8s-master-1725206404 file:///var/lib/rancher/rke2/server/db/snapshots/etcd-snapshot-k8s-master-1725206404 10100768 2024-09-02T00:00:05+08:00"
Sep 02 14:52:58 k8s-master rancher-system-agent[27410]: time="2024-09-02T14:52:58+08:00" level=info msg="[ab9c800838bc4306048456f1953098894a0e0caed07c35f6054e815fc4c554e7_0:stdout]: etcd-snapshot-k8s-master-1725224401 file:///var/lib/rancher/rke2/server/db/snapshots/etcd-snapshot-k8s-master-1725224401 10256416 2024-09-02T05:00:01+08:00"
Sep 02 14:52:58 k8s-master rancher-system-agent[27410]: time="2024-09-02T14:52:58+08:00" level=info msg="[ab9c800838bc4306048456f1953098894a0e0caed07c35f6054e815fc4c554e7_0:stdout]: etcd-snapshot-k8s-master-1725242403 file:///var/lib/rancher/rke2/server/db/snapshots/etcd-snapshot-k8s-master-1725242403 10256416 2024-09-02T10:00:03+08:00"
Sep 02 14:52:58 k8s-master rancher-system-agent[27410]: time="2024-09-02T14:52:58+08:00" level=info msg="[Applyinator] Command sh [-c rke2 etcd-snapshot list --etcd-s3=false 2>/dev/null] finished with err: <nil> and exit code: 0"
Sep 02 14:52:58 k8s-master rancher-system-agent[27410]: time="2024-09-02T14:52:58+08:00" level=info msg="[K8s] updated plan secret fleet-default/custom-f86a296c95d9-machine-plan with feedback"
Sep 02 15:03:02 k8s-master rancher-system-agent[27410]: time="2024-09-02T15:03:02+08:00" level=info msg="[Applyinator] No image provided, creating empty working directory /var/lib/rancher/agent/work/20240902-150302/ab9c800838bc4306048456f1953098894a0e0caed07c35f6054e815fc4c554e7_0"
Sep 02 15:03:02 k8s-master rancher-system-agent[27410]: time="2024-09-02T15:03:02+08:00" level=info msg="[Applyinator] Running command: sh [-c rke2 etcd-snapshot list --etcd-s3=false 2>/dev/null]"
Sep 02 15:03:02 k8s-master rancher-system-agent[27410]: time="2024-09-02T15:03:02+08:00" level=info msg="[ab9c800838bc4306048456f1953098894a0e0caed07c35f6054e815fc4c554e7_0:stdout]: Name   Location                                                                             Size     Created"
Sep 02 15:03:02 k8s-master rancher-system-agent[27410]: time="2024-09-02T15:03:02+08:00" level=info msg="[ab9c800838bc4306048456f1953098894a0e0caed07c35f6054e815fc4c554e7_0:stdout]: etcd-snapshot-k8s-master-1725260403 file:///var/lib/rancher/rke2/server/db/snapshots/etcd-snapshot-k8s-master-1725260403 10338336 2024-09-02T15:00:04+08:00"
Sep 02 15:03:02 k8s-master rancher-system-agent[27410]: time="2024-09-02T15:03:02+08:00" level=info msg="[ab9c800838bc4306048456f1953098894a0e0caed07c35f6054e815fc4c554e7_0:stdout]: etcd-snapshot-k8s-master-1725192002 file:///var/lib/rancher/rke2/server/db/snapshots/etcd-snapshot-k8s-master-1725192002 10100768 2024-09-01T20:00:03+08:00"
Sep 02 15:03:02 k8s-master rancher-system-agent[27410]: time="2024-09-02T15:03:02+08:00" level=info msg="[ab9c800838bc4306048456f1953098894a0e0caed07c35f6054e815fc4c554e7_0:stdout]: etcd-snapshot-k8s-master-1725206404 file:///var/lib/rancher/rke2/server/db/snapshots/etcd-snapshot-k8s-master-1725206404 10100768 2024-09-02T00:00:05+08:00"
Sep 02 15:03:02 k8s-master rancher-system-agent[27410]: time="2024-09-02T15:03:02+08:00" level=info msg="[ab9c800838bc4306048456f1953098894a0e0caed07c35f6054e815fc4c554e7_0:stdout]: etcd-snapshot-k8s-master-1725224401 file:///var/lib/rancher/rke2/server/db/snapshots/etcd-snapshot-k8s-master-1725224401 10256416 2024-09-02T05:00:01+08:00"
Sep 02 15:03:02 k8s-master rancher-system-agent[27410]: time="2024-09-02T15:03:02+08:00" level=info msg="[ab9c800838bc4306048456f1953098894a0e0caed07c35f6054e815fc4c554e7_0:stdout]: etcd-snapshot-k8s-master-1725242403 file:///var/lib/rancher/rke2/server/db/snapshots/etcd-snapshot-k8s-master-1725242403 10256416 2024-09-02T10:00:03+08:00"
Sep 02 15:03:02 k8s-master rancher-system-agent[27410]: time="2024-09-02T15:03:02+08:00" level=info msg="[Applyinator] Command sh [-c rke2 etcd-snapshot list --etcd-s3=false 2>/dev/null] finished with err: <nil> and exit code: 0"
Sep 02 15:03:03 k8s-master rancher-system-agent[27410]: time="2024-09-02T15:03:03+08:00" level=info msg="[K8s] updated plan secret fleet-default/custom-f86a296c95d9-machine-plan with feedback"

有可能是镜像拉不下来导致

有什么办法可以解决吗?

想办法从 dockerhub 拉下来呗,去查查

试了试国内的镜像源都不行 服务器翻墙吗?

自己想办法呗,为啥别人就行