Rancher Server 设置
- Rancher 版本:2.6.12
- 安装选项 (Docker install): docker run 启动
- 在线或离线部署:在线部署
用户信息
- 登录用户的角色是什么? :管理员
主机操作系统:
centos7.9
问题描述:
通过docker run rancher-server启动了rancher自带的local k3s集群,一段时间后发现该集群会不停启动helm的pods,启动到57个之后就会停止,可能是上限到了,这些pod的状态都是失败的,截图上都有,原因就是镜像rancher/shell:v0.1.19无法拉取,但是无论宿主机还是容器内部都有这个镜像,所以有啥办法解决这个问题,我之前部署的2.5.x好像也碰到类似的问题,但是有些server就不会出现这个问题,触发的条件到现在还不明确
截图:
其他上下文信息:
[details=“日志”]
2024/10/03 08:10:20 [ERROR] error syncing 'c-jsv2d': handler global-admin-cluster-sync: failed to get GlobalRoleBinding for 'globaladmin-user-8wrnn': %!!(MISSING)w(<nil>), requeuing
2024/10/03 08:10:25 [ERROR] error syncing 'local': handler global-admin-cluster-sync: failed to get GlobalRoleBinding for 'globaladmin-user-8wrnn': %!!(MISSING)w(<nil>), requeuing
2024/10/03 08:10:42 [ERROR] Failed to install system chart rancher-webhook: pod cattle-system/helm-operation-cj692 failed, watch closed
2024/10/03 08:11:44 [ERROR] error syncing 'cattle-fleet-system/helm-operation-qpdq2': handler helm-operation: Operation cannot be fulfilled on operations.catalog.cattle.io "helm-operation-qpdq2": StorageError: invalid object, Code: 4, Key: /registry/catalog.cattle.io/operations/cattle-fleet-system/helm-operation-qpdq2, ResourceVersion: 0, AdditionalErrorMsg: Precondition failed: UID in precondition: 3d77d443-df9c-4dec-b491-44f45b511e98, UID in object meta: , requeuing
2024/10/03 08:11:45 [ERROR] Failed to install system chart fleet-crd: pod cattle-system/helm-operation-bz2jv failed, watch closed
2024/10/03 08:12:20 [ERROR] error syncing 'c-jsv2d': handler global-admin-cluster-sync: failed to get GlobalRoleBinding for 'globaladmin-user-8wrnn': %!!(MISSING)w(<nil>), requeuing
2024/10/03 08:12:25 [ERROR] error syncing 'local': handler global-admin-cluster-sync: failed to get GlobalRoleBinding for 'globaladmin-user-8wrnn': %!!(MISSING)w(<nil>), requeuing
2024/10/03 08:12:47 [ERROR] Failed to install system chart fleet: pod cattle-system/helm-operation-rl78q failed, watch closed
2024/10/03 08:13:09 [ERROR] Error during subscribe websocket: close sent
2024/10/03 08:13:09 [ERROR] Error during subscribe websocket: close sent
2024/10/03 08:13:49 [ERROR] Failed to install system chart rancher-webhook: pod cattle-system/helm-operation-qpc74 failed, watch closed
2024/10/03 08:14:20 [ERROR] error syncing 'c-jsv2d': handler global-admin-cluster-sync: failed to get GlobalRoleBinding for 'globaladmin-user-8wrnn': %!!(MISSING)w(<nil>), requeuing
2024/10/03 08:14:25 [ERROR] error syncing 'local': handler global-admin-cluster-sync: failed to get GlobalRoleBinding for 'globaladmin-user-8wrnn': %!!(MISSING)w(<nil>), requeuing
2024/10/03 08:14:52 [ERROR] Failed to install system chart fleet-crd: pod cattle-system/helm-operation-f6b99 failed, watch closed
2024/10/03 08:15:54 [ERROR] Failed to install system chart fleet: pod cattle-system/helm-operation-rrch7 failed, watch closed
2024/10/03 08:16:20 [ERROR] error syncing 'c-jsv2d': handler global-admin-cluster-sync: failed to get GlobalRoleBinding for 'globaladmin-user-8wrnn': %!!(MISSING)w(<nil>), requeuing
2024/10/03 08:16:25 [ERROR] error syncing 'local': handler global-admin-cluster-sync: failed to get GlobalRoleBinding for 'globaladmin-user-8wrnn': %!!(MISSING)w(<nil>), requeuing
2024/10/03 08:16:56 [ERROR] Failed to install system chart rancher-webhook: pod cattle-system/helm-operation-k68rd failed, watch closed
2024/10/03 08:17:58 [ERROR] Failed to install system chart fleet-crd: pod cattle-system/helm-operation-9vf86 failed, watch closed
2024/10/03 08:18:20 [ERROR] error syncing 'c-jsv2d': handler global-admin-cluster-sync: failed to get GlobalRoleBinding for 'globaladmin-user-8wrnn': %!!(MISSING)w(<nil>), requeuing
2024/10/03 08:18:25 [ERROR] error syncing 'local': handler global-admin-cluster-sync: failed to get GlobalRoleBinding for 'globaladmin-user-8wrnn': %!!(MISSING)w(<nil>), requeuing
2024/10/03 08:19:00 [ERROR] Failed to install system chart fleet: pod cattle-system/helm-operation-wj2xd failed, watch closed
2024/10/03 08:20:02 [ERROR] Failed to install system chart rancher-webhook: pod cattle-system/helm-operation-4gjth failed, watch closed
2024/10/03 08:20:20 [ERROR] error syncing 'c-jsv2d': handler global-admin-cluster-sync: failed to get GlobalRoleBinding for 'globaladmin-user-8wrnn': %!!(MISSING)w(<nil>), requeuing
2024/10/03 08:20:25 [ERROR] error syncing 'local': handler global-admin-cluster-sync: failed to get GlobalRoleBinding for 'globaladmin-user-8wrnn': %!!(MISSING)w(<nil>), requeuing
2024/10/03 08:21:04 [ERROR] Failed to install system chart fleet-crd: pod cattle-system/helm-operation-57xrq failed, watch closed
2024/10/03 08:22:06 [ERROR] Failed to install system chart fleet: pod cattle-system/helm-operation-4xjn5 failed, watch closed
2024/10/03 08:22:20 [ERROR] error syncing 'c-jsv2d': handler global-admin-cluster-sync: failed to get GlobalRoleBinding for 'globaladmin-user-8wrnn': %!!(MISSING)w(<nil>), requeuing
2024/10/03 08:22:25 [ERROR] error syncing 'local': handler global-admin-cluster-sync: failed to get GlobalRoleBinding for 'globaladmin-user-8wrnn': %!!(MISSING)w(<nil>), requeuing
2024/10/03 08:23:08 [ERROR] Failed to install system chart rancher-webhook: pod cattle-system/helm-operation-df4jz failed, watch closed
2024/10/03 08:24:10 [ERROR] Failed to install system chart fleet-crd: pod cattle-system/helm-operation-7ql5c failed, watch closed
2024/10/03 08:24:20 [ERROR] error syncing 'c-jsv2d': handler global-admin-cluster-sync: failed to get GlobalRoleBinding for 'globaladmin-user-8wrnn': %!!(MISSING)w(<nil>), requeuing
2024/10/03 08:24:25 [ERROR] error syncing 'local': handler global-admin-cluster-sync: failed to get GlobalRoleBinding for 'globaladmin-user-8wrnn': %!!(MISSING)w(<nil>), requeuing
2024/10/03 08:25:12 [ERROR] Failed to install system chart fleet: pod cattle-system/helm-operation-7mvc6 failed, watch closed
2024/10/03 08:26:14 [ERROR] Failed to install system chart rancher-webhook: pod cattle-system/helm-operation-s6t2k failed, watch closed
2024/10/03 08:26:20 [ERROR] error syncing 'c-jsv2d': handler global-admin-cluster-sync: failed to get GlobalRoleBinding for 'globaladmin-user-8wrnn': %!!(MISSING)w(<nil>), requeuing
2024/10/03 08:26:25 [ERROR] error syncing 'local': handler global-admin-cluster-sync: failed to get GlobalRoleBinding for 'globaladmin-user-8wrnn': %!!(MISSING)w(<nil>), requeuing
2024/10/03 08:27:16 [ERROR] Failed to install system chart fleet-crd: pod cattle-system/helm-operation-dq7hs failed, watch closed
2024/10/03 08:28:18 [ERROR] Failed to install system chart fleet: pod cattle-system/helm-operation-7d2ps failed, watch closed
2024/10/03 08:28:20 [ERROR] error syncing 'c-jsv2d': handler global-admin-cluster-sync: failed to get GlobalRoleBinding for 'globaladmin-user-8wrnn': %!!(MISSING)w(<nil>), requeuing
2024/10/03 08:28:25 [ERROR] error syncing 'local': handler global-admin-cluster-sync: failed to get GlobalRoleBinding for 'globaladmin-user-8wrnn': %!!(MISSING)w(<nil>), requeuing
2024/10/03 08:29:21 [ERROR] Failed to install system chart rancher-webhook: pod cattle-system/helm-operation-rmzkf failed, watch closed
2024/10/03 08:30:20 [ERROR] error syncing 'c-jsv2d': handler global-admin-cluster-sync: failed to get GlobalRoleBinding for 'globaladmin-user-8wrnn': %!!(MISSING)w(<nil>), requeuing
2024/10/03 08:30:23 [ERROR] Failed to install system chart fleet-crd: pod cattle-system/helm-operation-w82bv failed, watch closed
2024/10/03 08:30:25 [ERROR] error syncing 'local': handler global-admin-cluster-sync: failed to get GlobalRoleBinding for 'globaladmin-user-8wrnn': %!!(MISSING)w(<nil>), requeuing
2024/10/03 08:31:25 [ERROR] Failed to install system chart fleet: pod cattle-system/helm-operation-4q4zx failed, watch closed
2024/10/03 08:32:20 [ERROR] error syncing 'c-jsv2d': handler global-admin-cluster-sync: failed to get GlobalRoleBinding for 'globaladmin-user-8wrnn': %!!(MISSING)w(<nil>), requeuing
2024/10/03 08:32:26 [ERROR] error syncing 'local': handler global-admin-cluster-sync: failed to get GlobalRoleBinding for 'globaladmin-user-8wrnn': %!!(MISSING)w(<nil>), requeuing
2024/10/03 08:32:27 [ERROR] Failed to install system chart rancher-webhook: pod cattle-system/helm-operation-55zgg failed, watch closed
2024/10/03 08:33:29 [ERROR] Failed to install system chart fleet-crd: pod cattle-system/helm-operation-kq4sk failed, watch closed