TKGi Management Console fails to load the Cluster Overview with errors:
'Failed to retrieve current K8s Cluster summary. cannot get cluster details: cannot get cluster namespaces: Get "https://<NSX-LB-FIP>:8443/api/v1/namespaces": failed to refresh token: oauth2: "invalid_token" "Could not verify token signature."'
'Failed to retrieve current K8s Cluster Volumes. cannot get namespaces of cluster <cluster-id>: Get "https://<NSX-LB-FIP>:8443/api/v1/namespaces": failed to refresh token: oauth2: "invalid_token" "Could not verify token signature."'
'Failed to retrieve current K8s Cluster summary. cannot get cluster details: cannot get cluster namespaces: Get "https://<NSX-LB-FIP>:8443/api/v1/namespaces": could not persist new tokens: open : no such file or directory"'
'Failed to retrieve current K8s Cluster Volumes. cannot get namespaces of cluster <cluster-id>: Get "https://<NSX-LB-FIP>:8443/api/v1/namespaces": could not persist new tokens: open : no such file or directory"'
This can be caused by errors inside the TKGi-MC pks-mgmt-server and/or the TKGi API VM's UAA.
# systemctl restart pks-mgmt-server
# bosh -d pivotal-container-service-<id> ssh pivotal-container-service -c "sudo monit restart uaa"
If the above doesn't resolve the issue, please open a Support Request with Tanzu Support and provide the following logs:
# bosh -d pivotal-container-service-<id> logs pivotal-container-service
# docker logs pks-mgmt-server &> pks-mgmt-server.log
# docker logs pks-loginsight &> pks-loginsight.log
# docker logs pks-frontend &> pks-frontend.log
# docker logs pks-ui-server &> pks-ui-server.log