Я успешно установил IBM Cloud Private 3.1.
Все работало хорошо. Я мог войти по URL ICP, но после перезагрузки ничего не работает.
Теперь URL говорит:
Unexpected response code 401 from request: 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":"An error occurred
while accessing the kube services rest api"}}
Когда я пытаюсь войти в систему с cloudctl, я получаю это:
Cloudctl логин
API endpoint: https://172.31.16.153:8443
Username> admin
Password>
Authenticating...
OK
Select an account:
1. Mycluster Account (id-mycluster-account)
Enter a number> 1
Targeted account mycluster Account (id-mycluster-account)
FAILED
Error response from server. Status code: 401; message: {"error":{"statusCode":401,"name":"Error","message":"An error occurred while accessing the kube services rest api"}}
И kubectl говорит, что для обычных нет никакого обслуживания:
Kubectl получить капсулы
Error: The server doesn't have a resource type "pods"
Kubectl получить узлы
Error: The server doesn't have a resource type "nodes"
Kubectl получить услуги
Error: The server doesn't have a resource type "services"
Kubectl получить развертывание
Error: The server doesn't have a resource type "deployment"
Есть предложения?