我们有一个hosti集群和一个被纳管集群m,之前通过host都是可以直接访问集群m的。
今天突然发现通过host无法选择集群m的项目,点击集群m后会返回401,并且跳的login界面。
查看被纳管集群m上的ks-apiserver的log,有如下错误
E1218 20:40:10.012922 1 jwt_token.go:45] token not found in cache
E1218 20:40:10.012939 1 authentication.go:60] Unable to authenticate the request due to error: token not found in cache
E1218 20:40:35.047541 1 token.go:65] token not found in cache
E1218 20:40:35.047570 1 jwt_token.go:45] token not found in cache
E1218 20:40:35.047589 1 authentication.go:60] Unable to authenticate the request due to error: token not found in cache
E1218 20:40:45.012798 1 token.go:65] token not found in cache
E1218 20:40:45.012827 1 jwt_token.go:45] token not found in cache
E1218 20:40:45.012844 1 authentication.go:60] Unable to authenticate the request due to error: token not found in cache
E1218 20:40:46.044399 1 token.go:65] token not found in cache
E1218 20:40:46.044425 1 jwt_token.go:45] token not found in cache
E1218 20:40:46.044442 1 authentication.go:60] Unable to authenticate the request due to error: token not found in cache
E1218 20:40:55.019939 1 token.go:65] token not found in cache
E1218 20:40:55.019969 1 jwt_token.go:45] token not found in cache
E1218 20:40:55.019987 1 authentication.go:60] Unable to authenticate the request due to error: token not found in cache
E1218 20:41:05.013632 1 token.go:65] token not found in cache
E1218 20:41:05.013661 1 jwt_token.go:45] token not found in cache
E1218 20:41:05.013678 1 authentication.go:60] Unable to authenticate the request due to error: token not found in cache
E1218 20:41:10.045320 1 token.go:65] token not found in cache
E1218 20:41:10.045350 1 jwt_token.go:45] token not found in cache
E1218 20:41:10.045367 1 authentication.go:60] Unable to authenticate the request due to error: token not found in cache