Rancher 2.6.13 集群进入显示正在加载

Rancher Server 设置

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

下游集群信息

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

用户信息

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

**主机操作系统:centos7.9

**问题描述:rancher 2.6.13 新版UI进入集群时显示正在加载,老版UI可以进入

重现步骤:

结果:

预期结果:

*截图:


*

其他上下文信息:

日志
2023/10/14 17:53:03 [ERROR] error syncing 'c-m-zrgxblzc': handler global-admin-cluster-sync: failed to get GlobalRoleBinding for 'globaladmin-user-84fzt': %!!(MISSING)w(<nil>), requeuing
2023/10/14 23:57:50 [ERROR] failed on subscribe prometheus: NotFound 404: the server could not find the requested resource (get prometheuses.meta.k8s.io)
2023/10/14 23:57:50 [ERROR] failed on subscribe serviceMonitor: NotFound 404: the server could not find the requested resource (get servicemonitors.meta.k8s.io)
2023/10/14 23:57:50 [ERROR] failed on subscribe alertmanager: NotFound 404: the server could not find the requested resource (get alertmanagers.meta.k8s.io)
2023/10/14 23:57:50 [ERROR] failed on subscribe prometheusRule: NotFound 404: the server could not find the requested resource (get prometheusrules.meta.k8s.io)
2023/10/14 23:57:51 [ERROR] Error during subscribe websocket: close sent
2023/10/14 23:57:58 [ERROR] failed on subscribe serviceMonitor: NotFound 404: the server could not find the requested resource (get servicemonitors.meta.k8s.io)
2023/10/14 23:57:58 [ERROR] failed on subscribe prometheus: NotFound 404: the server could not find the requested resource (get prometheuses.meta.k8s.io)
2023/10/14 23:57:58 [ERROR] failed on subscribe prometheusRule: NotFound 404: the server could not find the requested resource (get prometheusrules.meta.k8s.io)
2023/10/14 23:57:58 [ERROR] failed on subscribe alertmanager: NotFound 404: the server could not find the requested resource (get alertmanagers.meta.k8s.io)
2023/10/14 23:58:01 [ERROR] failed on subscribe serviceMonitor: NotFound 404: the server could not find the requested resource (get servicemonitors.meta.k8s.io)
2023/10/14 23:58:01 [ERROR] failed on subscribe prometheus: NotFound 404: the server could not find the requested resource (get prometheuses.meta.k8s.io)
2023/10/14 23:58:01 [ERROR] failed on subscribe prometheusRule: NotFound 404: the server could not find the requested resource (get prometheusrules.meta.k8s.io)
2023/10/14 23:58:01 [ERROR] failed on subscribe alertmanager: NotFound 404: the server could not find the requested resource (get alertmanagers.meta.k8s.io)

通过老版本UI进入system,依次删除 cattle-system下的cattle-cluster-agent两个节点,新版UI可以进入,但是日志还在持续输出报错!

报什么错?

2023/10/14 17:53:03 [ERROR] error syncing ‘c-m-zrgxblzc’: handler global-admin-cluster-sync: failed to get GlobalRoleBinding for ‘globaladmin-user-84fzt’: %!!(MISSING)w(), requeuing
2023/10/14 23:57:50 [ERROR] failed on subscribe prometheus: NotFound 404: the server could not find the requested resource (get prometheuses.meta.k8s.io)
2023/10/14 23:57:50 [ERROR] failed on subscribe serviceMonitor: NotFound 404: the server could not find the requested resource (get servicemonitors.meta.k8s.io)
2023/10/14 23:57:50 [ERROR] failed on subscribe alertmanager: NotFound 404: the server could not find the requested resource (get alertmanagers.meta.k8s.io)
2023/10/14 23:57:50 [ERROR] failed on subscribe prometheusRule: NotFound 404: the server could not find the requested resource (get prometheusrules.meta.k8s.io)
2023/10/14 23:57:51 [ERROR] Error during subscribe websocket: close sent
2023/10/14 23:57:58 [ERROR] failed on subscribe serviceMonitor: NotFound 404: the server could not find the requested resource (get servicemonitors.meta.k8s.io)
2023/10/14 23:57:58 [ERROR] failed on subscribe prometheus: NotFound 404: the server could not find the requested resource (get prometheuses.meta.k8s.io)
2023/10/14 23:57:58 [ERROR] failed on subscribe prometheusRule: NotFound 404: the server could not find the requested resource (get prometheusrules.meta.k8s.io)
2023/10/14 23:57:58 [ERROR] failed on subscribe alertmanager: NotFound 404: the server could not find the requested resource (get alertmanagers.meta.k8s.io)
2023/10/14 23:58:01 [ERROR] failed on subscribe serviceMonitor: NotFound 404: the server could not find the requested resource (get servicemonitors.meta.k8s.io)
2023/10/14 23:58:01 [ERROR] failed on subscribe prometheus: NotFound 404: the server could not find the requested resource (get prometheuses.meta.k8s.io)
2023/10/14 23:58:01 [ERROR] failed on subscribe prometheusRule: NotFound 404: the server could not find the requested resource (get prometheusrules.meta.k8s.io)
2023/10/14 23:58:01 [ERROR] failed on subscribe alertmanager: NotFound 404: the server could not find the requested resource (get alertmanagers.meta.k8s.io)

这是老版本的 Bug,不影响使用,你可以升级到 stable,已经解决了

[ERROR] failed on subscribe prometheusRule: NotFound 404: the server could not find the requested resource (get prometheusrules.meta.k8s.io)
这条错误日志一直在报,应该是我在应用商店安装了 [Monitoring],因为网络问题没有安装成功,怎么可以查看并杀掉这个进程呢?

rancher 2.6.13 如何进入老版本UI?

https://rancher_ui/g
域名后面加/g就可以了