Rancher2.7-head eks1.25集群导入兼容问题

目前我集群升级到eks1.26,表象是一样的。

1.26 肯定是不行,目前 rancher 2.7.2 还不支持 1.25,但我刚才重现了下,没问题……

eks

你可以这样:

  1. 最好用 Chrome 最新版的浏览器
  2. 用无痕模式重新测试下
  3. 如果还有问题,你可以在操作过程中截取 rancher server 和 cluster agent 的日志

ok

rancher server:
E0413 08:12:42.664108 34 upgradeaware.go:365] Proxy upgrade error: invalid upgrade response: status code 200
E0413 08:13:13.552219 34 upgradeaware.go:365] Proxy upgrade error: invalid upgrade response: status code 200
E0413 08:13:53.101784 34 upgradeaware.go:365] Proxy upgrade error: invalid upgrade response: status code 200
2023/04/13 08:15:13 [ERROR] Error during subscribe websocket: close sent
E0413 08:15:17.206456 34 upgradeaware.go:365] Proxy upgrade error: invalid upgrade response: status code 200
E0413 08:15:20.749847 34 upgradeaware.go:365] Proxy upgrade error: invalid upgrade response: status code 200
E0413 08:15:24.414933 34 upgradeaware.go:365] Proxy upgrade error: invalid upgrade response: status code 200
2023/04/13 08:16:23 [INFO] checking cluster [c-v7w8c] upstream state for changes
2023/04/13 08:16:23 [INFO] cluster [c-v7w8c] matches upstream, skipping spec sync
E0413 08:16:27.549837 34 upgradeaware.go:365] Proxy upgrade error: invalid upgrade response: status code 200
2023/04/13 08:17:36 [ERROR] Error during subscribe websocket: close sent
E0413 08:17:38.529929 34 upgradeaware.go:365] Proxy upgrade error: invalid upgrade response: status code 200
2023/04/13 08:19:24 [WARNING] Failed to write audit log: failed to compact audit log: invalid character ‘{’ after object key:value pair
2023/04/13 08:21:23 [INFO] checking cluster [c-v7w8c] upstream state for changes
2023/04/13 08:21:23 [INFO] cluster [c-v7w8c] matches upstream, skipping spec sync
2023/04/13 08:26:23 [INFO] checking cluster [c-v7w8c] upstream state for changes
2023/04/13 08:26:23 [INFO] cluster [c-v7w8c] matches upstream, skipping spec sync
2023/04/13 08:26:38 [WARNING] Failed to write audit log: failed to compact audit log: invalid character ‘{’ after object key:value pair
E0413 08:27:10.950866 34 upgradeaware.go:365] Proxy upgrade error: invalid upgrade response: status code 200
E0413 08:27:15.321527 34 upgradeaware.go:365] Proxy upgrade error: invalid upgrade response: status code 200
E0413 08:27:17.354604 34 upgradeaware.go:365] Proxy upgrade error: invalid upgrade response: status code 200
2023/04/13 08:27:23 [ERROR] Error during subscribe websocket: close sent
E0413 08:27:25.769788 34 upgradeaware.go:365] Proxy upgrade error: invalid upgrade response: status code 200
2023/04/13 08:27:32 [ERROR] Error during subscribe websocket: close sent
2023/04/13 08:28:20 [ERROR] Error during subscribe websocket: close sent
E0413 08:28:23.470555 34 upgradeaware.go:365] Proxy upgrade error: invalid upgrade response: status code 200
E0413 08:28:25.676637 34 upgradeaware.go:365] Proxy upgrade error: invalid upgrade response: status code 200

浏览器 无痕都尝试了,应该是下面那个报错。

可以从前端先排查一下,打开浏览器控制台,查看一下网络和控制台,看看哪个请求报错了,或控制台打印了什么错误信息,截图为 chrome 浏览器的网络和控制台页面


@ericlee8217
看一下,请求地址,是不是当前导入的集群不?如果是,估计应该是导入集群错误导致的