在节点上执行注册,rancher 上一直卡住,很久之后,看到日志上有错误

Rancher Server 设置

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

下游集群信息

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

用户信息

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

主机操作系统:
ubuntu 22
问题描述:
在节点上执行注册,rancher 上一直卡住,很久之后,看到日志上有错误
重现步骤:

结果:

预期结果:

截图:

其他上下文信息:

日志
● rancher-system-agent.service - Rancher System Agent
     Loaded: loaded (/etc/systemd/system/rancher-system-agent.service; enabled; vendor preset: enabled)
     Active: active (running) since Tue 2024-05-14 20:37:41 CST; 1h 5min ago
       Docs: https://www.rancher.com
   Main PID: 1945835 (rancher-system-)
      Tasks: 10 (limit: 8774)
     Memory: 11.4M
        CPU: 1.318s
     CGroup: /system.slice/rancher-system-agent.service
             └─1945835 /usr/local/bin/rancher-system-agent sentinel

May 14 20:37:41 master1 rancher-system-agent[1945835]: time="2024-05-14T20:37:41+08:00" level=info msg="Rancher System Agent version v0.3.6 (41c07d0) is starting"
May 14 20:37:41 master1 rancher-system-agent[1945835]: time="2024-05-14T20:37:41+08:00" level=info msg="Using directory /var/lib/rancher/agent/work for work"
May 14 20:37:41 master1 rancher-system-agent[1945835]: time="2024-05-14T20:37:41+08:00" level=info msg="Starting remote watch of plans"
May 14 20:37:41 master1 rancher-system-agent[1945835]: time="2024-05-14T20:37:41+08:00" level=info msg="Starting /v1, Kind=Secret controller"
May 14 21:04:58 master1 rancher-system-agent[1945835]: E0514 21:04:58.701002 1945835 reflector.go:148] pkg/mod/github.com/rancher/client-go@v1.27.4-rancher1/tools/cache/reflector.go:231: Failed to watch >
May 14 21:05:30 master1 rancher-system-agent[1945835]: W0514 21:05:30.301859 1945835 reflector.go:533] pkg/mod/github.com/rancher/client-go@v1.27.4-rancher1/tools/cache/reflector.go:231: failed to list *>
May 14 21:05:30 master1 rancher-system-agent[1945835]: I0514 21:05:30.301940 1945835 trace.go:219] Trace[222518091]: "Reflector ListAndWatch" name:pkg/mod/github.com/rancher/client-go@v1.27.4-rancher1/to>
May 14 21:05:30 master1 rancher-system-agent[1945835]: Trace[222518091]: ---"Objects listed" error:the server could not find the requested resource (get secrets.meta.k8s.io) 30024ms (21:05:30.301)
May 14 21:05:30 master1 rancher-system-agent[1945835]: Trace[222518091]: [30.024304163s] [30.024304163s] END
May 14 21:05:30 master1 rancher-system-agent[1945835]: E0514 21:05:30.301963 1945835 reflector.go:148] pkg/mod/github.com/rancher/client-go@v1.27.4-rancher1/tools/cache/reflector.go:231: Failed to watch >
~

在国内实在是太难用了.

如果是因为镜像的问题,那就直接使用阿里云的镜像仓库就行了