rancher创建集群后一直报错Failed to find system images for version : resource name may not be empty

Rancher Server 设置

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

下游集群信息

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

用户信息

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

**主机操作系统:centos7

**问题描述:rancher创建集群后一直报错Failed to find system images for version : resource name may not be empty

重现步骤:
本地部署了docker私有云并上传了所有镜像,rancher启动没问题,创建集群纳入主机时rancher-agent一直报错如图

结果:

预期结果:

截图:


其他上下文信息:

日志
INFO: Arguments: --server https://10.10.145.48:8443 --token REDACTED --ca-checksum 0d94359e0399cc08e675e31ccc78a83e178aa9fbb36b7434b9b816c8b0d3d87f --etcd --controlplane --worker
INFO: Environment: CATTLE_ADDRESS=10.10.145.48 CATTLE_INTERNAL_ADDRESS= CATTLE_NODE_NAME=TMasterA CATTLE_ROLE=,etcd,worker,controlplane CATTLE_SERVER=https://10.10.145.48:8443 CATTLE_TOKEN=REDACTED
INFO: Using resolv.conf: search bjmoa.cn nameserver 10.10.135.41 nameserver 10.10.135.36
INFO: https://10.10.145.48:8443/ping is accessible
INFO: Value from https://10.10.145.48:8443/v3/settings/cacerts is an x509 certificate
time="2024-01-22T01:04:50Z" level=info msg="Rancher agent version v2.3.11 is starting"
time="2024-01-22T01:04:50Z" level=info msg="Option worker=true"
time="2024-01-22T01:04:50Z" level=info msg="Listening on /tmp/log.sock"
time="2024-01-22T01:04:50Z" level=info msg="Option requestedHostname=TMasterA"
time="2024-01-22T01:04:50Z" level=info msg="Option customConfig=map[address:10.10.145.48 internalAddress: label:map[] roles:[etcd worker controlplane] taints:[]]"
time="2024-01-22T01:04:50Z" level=info msg="Option etcd=true"
time="2024-01-22T01:04:50Z" level=info msg="Option controlPlane=true"
time="2024-01-22T01:04:50Z" level=info msg="Connecting to wss://10.10.145.48:8443/v3/connect/register with token msdzwxjrxrbscvktg96gw4sh8vbc2pp8252z678qnqgs5vlwkl2lvs"
time="2024-01-22T01:04:50Z" level=info msg="Connecting to proxy" url="wss://10.10.145.48:8443/v3/connect/register"
time="2024-01-22T01:04:50Z" level=error msg="Failed to connect to proxy. Response status: 200 - 200 OK. Response body: Operation cannot be fulfilled on nodes.management.cattle.io \"m-a1756b3316ca\": the object has been modified; please apply your changes to the latest version and try again" error="websocket: bad handshake"
time="2024-01-22T01:04:50Z" level=error msg="Remotedialer proxy error" error="websocket: bad handshake"
time="2024-01-22T01:05:00Z" level=info msg="Connecting to wss://10.10.145.48:8443/v3/connect/register with token msdzwxjrxrbscvktg96gw4sh8vbc2pp8252z678qnqgs5vlwkl2lvs"
time="2024-01-22T01:05:00Z" level=info msg="Connecting to proxy" url="wss://10.10.145.48:8443/v3/connect/register"
time="2024-01-22T01:05:00Z" level=warning msg="Error while getting agent config: invalid response 500: Failed to construct node config. Error: resource name may not be empty"
time="2024-01-22T01:05:05Z" level=warning msg="Error while getting agent config: invalid response 500: Failed to construct node config. Error: resource name may not be empty"
time="2024-01-22T01:05:10Z" level=warning msg="Error while getting agent config: invalid response 500: Failed to construct node config. Error: resource name may not be empty"
time="2024-01-22T01:05:15Z" level=warning msg="Error while getting agent config: invalid response 500: Failed to construct node config. Error: resource name may not be empty"
time="2024-01-22T01:05:20Z" level=warning msg="Error while getting agent config: invalid response 500: Failed to construct node config. Error: resource name may not be empty"
time="2024-01-22T01:05:25Z" level=warning msg="Error while getting agent config: invalid response 500: Failed to construct node config. Error: resource name may not be empty"
time="2024-01-22T01:05:30Z" level=warning msg="Error while getting agent config: invalid response 500: Failed to construct node config. Error: resource name may not be empty"
time="2024-01-22T01:05:35Z" level=warning msg="Error while getting agent config: invalid response 500: Failed to construct node config. Error: resource name may not be empty"
time="2024-01-22T01:05:40Z" level=warning msg="Error while getting agent config: invalid response 500: Failed to construct node config. Error: resource name may not be empty"
time="2024-01-22T01:05:45Z" level=warning msg="Error while getting agent config: invalid response 500: Failed to construct node config. Error: resource name may not be empty"
time="2024-01-22T01:05:50Z" level=warning msg="Error while getting agent config: invalid response 500: Failed to construct node config. Error: resource name may not be empty"
time="2024-01-22T01:05:55Z" level=warning msg="Error while getting agent config: invalid response 500: Failed to construct node config. Error: resource name may not be empty"
time="2024-01-22T01:06:00Z" level=warning msg="Error while getting agent config: invalid response 500: Failed to construct node config. Error: resource name may not be empty"
time="2024-01-22T01:06:05Z" level=warning msg="Error while getting agent config: invalid response 500: Failed to construct node config. Error: resource name may not be empty"
time="2024-01-22T01:06:10Z" level=warning msg="Error while getting agent config: invalid response 500: Failed to construct node config. Error: resource name may not be empty"
time="2024-01-22T01:06:15Z" level=warning msg="Error while getting agent config: invalid response 500: Failed to construct node config. Error: resource name may not be empty"
time="2024-01-22T01:06:20Z" level=warning msg="Error while getting agent config: invalid response 500: Failed to construct node config. Error: resource name may not be empty"
time="2024-01-22T01:06:25Z" level=warning msg="Error while getting agent config: invalid response 500: Failed to construct node config. Error: resource name may not be empty"
time="2024-01-22T01:06:30Z" level=warning msg="Error while getting agent config: invalid response 500: Failed to construct node config. Error: resource name may not be empty"
time="2024-01-22T01:06:35Z" level=warning msg="Error while getting agent config: invalid response 500: Failed to construct node config. Error: resource name may not be empty"
time="2024-01-22T01:06:40Z" level=warning msg="Error while getting agent config: invalid response 500: Failed to construct node config. Error: resource name may not be empty"
time="2024-01-22T01:06:45Z" level=warning msg="Error while getting agent config: invalid response 500: Failed to construct node config. Error: resource name may not be empty"
time="2024-01-22T01:06:50Z" level=warning msg="Error while getting agent config: invalid response 500: Failed to construct node config. Error: resource name may not be empty"
time="2024-01-22T01:06:55Z" level=warning msg="Error while getting agent config: invalid response 500: Failed to construct node config. Error: resource name may not be empty"
time="2024-01-22T01:07:00Z" level=warning msg="Error while getting agent config: invalid response 500: Failed to construct node config. Error: resource name may not be empty"

https://github.com/rancher/rancher/issues/23372 看看是这个问题不

好像确实是 k8s版本之前是选的1.17.17 我重新选了一下 还是 1.17.17 保存 然后就自动好了 。 :thinking: