IBM Cloud Private 3.1 - 无法登录到 URL:请求响应代码 401 不是预期结果

我已经成功安装了IBM Cloud Private 3.1。 一切都很顺利。我可以登录到ICP URL,但是在重新启动后,一切都无法运行。

现在URL显示如下:

请求响应代码 401 不是预期结果:GET https://icp-management-ingress:8443/idmgmt/identity/api/v1/users/admin/getTeamResources?resourceType=namespace HTTP/1.1 Accept: application/json Authorization: bearer *** HTTP/1.1 401 Server: openresty/1.11.2.4 Date: Wed, 07 Nov 2018 21:47:55 GMT Content-Type: application/json; charset=utf-8 Transfer-Encoding: chunked Connection: close Vary: Origin, Accept-Encoding Access-Control-Allow-Credentials: true X-Xss-Protection: 1; mode=block X-Frame-Options: SAMEORIGIN Strict-Transport-Security: max-age=15552000; includeSubDomains X-Download-Options: noopen X-Content-Type-Options: nosniff X-Dns-Prefetch-Control: off {"error":{"statusCode":401,"name":"Error","message":"在访问kube服务rest api时发生错误"}}

当我尝试使用cloudctl登录时,我得到了以下信息:

Cloudctl 登录

API 端点:https://172.31.16.153:8443
用户名> admin
密码>
正在验证...
OK
选择一个帐户:
1. Mycluster Account (id-mycluster-account)
请输入数字> 1
目标帐户mycluster Account (id-mycluster-account)
失败
服务器发生错误响应。状态代码: 401; 信息: {"error":{"statusCode":401,"name":"Error","message":"在访问kube服务rest api时发生错误"}}

而kubectl表示没有服务可用:

Kubectl 获取pod

错误: 服务器没有一种资源类型为 "pods"

Kubectl 获取节点

错误: 服务器没有一种资源类型为 "nodes"

Kubectl 获取服务

错误: 服务器没有一种资源类型为 "services"

Kubectl 获取部署

错误: 服务器没有一种资源类型为 "deployment"

有什么建议吗?

点赞