Ubuntu22.04.1 安装Rancher纳入集群时报错[workerPlane] Failed to bring up Worker Plane: [Failed to verify healthcheck: Failed to check http://localhost:10248/healthz for service [kubelet] on host

Rancher Server 设置

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

下游集群信息

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

用户信息

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

**主机操作系统:Ubuntu22.04.1

**问题描述:[workerPlane] Failed to bring up Worker Plane: [Failed to verify healthcheck: Failed to check http://localhost:10248/healthz for service [kubelet] on host [10.10.10.*]: Get http://localhost:10248/healthz: dial tcp 127.0.0.1:10248: connect: connection refused, log: F1113 08:14:37.345279 186916 server.go:273] failed to run Kubelet: mountpoint for not found]

重现步骤:

结果:

预期结果:

截图:

其他上下文信息:

日志
2023/11/13 08:59:45 [ERROR] cluster [c-4dq5r] provisioning: [workerPlane] Failed to bring up Worker Plane: [Failed to verify healthcheck: Failed to check http://localhost:10248/healthz for service [kubelet] on host [10.10.10.209]: Get http://localhost:10248/healthz: dial tcp 127.0.0.1:10248: connect: connection refused, log: + '[' /data/docker/overlay2/17aa9e6e1d5e0e5401d8c08de01c10cf65b7113f7476ae9eaa36dbc480a04e19/merged '!=' /run/nscd ']']
2023/11/13 08:59:45 [INFO] kontainerdriver rancherkubernetesengine stopped
2023/11/13 08:59:45 [ERROR] ClusterController c-4dq5r [cluster-provisioner-controller] failed with : [workerPlane] Failed to bring up Worker Plane: [Failed to verify healthcheck: Failed to check http://localhost:10248/healthz for service [kubelet] on host [10.10.10.209]: Get http://localhost:10248/healthz: dial tcp 127.0.0.1:10248: connect: connection refused, log: + '[' /data/docker/overlay2/17aa9e6e1d5e0e5401d8c08de01c10cf65b7113f7476ae9eaa36dbc480a04e19/merged '!=' /run/nscd ']']
2023/11/13 09:00:17 [INFO] Handling backend connection request [c-4dq5r:m-eb0a19179762]


想知道老哥这个问题解决了吗,我好像也是遇到这个问题了 :joy:

升级Rancher到2.6.9版本处理的,2.3.11在Ubuntu22.04上不适配,未处理成功。