Skip to content
This repository was archived by the owner on Jun 6, 2024. It is now read-only.
This repository was archived by the owner on Jun 6, 2024. It is now read-only.

Can't redirect to k8s dashboard management page #5779

@Ivens-Zhang

Description

@Ivens-Zhang

Organization Name: SHAIIC

Short summary about the issue/question: After inputting the token, the K8S dashboard still can't redirect to the management page.

Brief what process you are following:

  1. I login the master node by SSH, and use this script to get the token
root@master# sudo su && kubectl -n kube-system get secret $(kubectl -n kube-system get sa/kubernetes-dashboard-openpai -o jsonpath="{.secrets[0].name}") -o go-template="{{.data.token | base64decode}}" && echo ""
eyJhbGciOiJSUzI1NiIsImtpZCI6IiJ9.eyJpc3MiOiJrdWJlcm5ldGVzL3NlcnZpY2VhY2NvdW50Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9uYW1lc3BhY2UiOiJrdWJlLXN5c3RlbSIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VjcmV0Lm5hbWUiOiJrdWJlcm5ldGVzLWRhc2hib2FyZC1vcGVucGFpLXRva2VuLTlxcWMyIiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9zZXJ2aWNlLWFjY291bnQubmFtZSI6Imt1YmVybmV0ZXMtZGFzaGJvYXJkLW9wZW5wYWkiLCJrdWJlcm5ldGVzLmlvL3NlcnZpY2VhY2NvdW50L3NlcnZpY2UtYWNjb3VudC51aWQiOiI4Mzg4YmUyNS0xN2NlLTQyYjgtYjhjNi1hYjIzNjg2YTc1ZmEiLCJzdWIiOiJzeXN0ZW06c2VydmljZWFjY291bnQ6a3ViZS1zeXN0ZW06a3ViZXJuZXRlcy1kYXNoYm9hcmQtb3BlbnBhaSJ9.D07dBeHXx9QvjnLyTQvBJuho9nWalfini-Z_NxnC2uDFaGPJxalrxXiP7CP96BzyljjofK7YJL8YZoLlpGYI6YxCsStE38mxNrpyaGkOh97f7QSfIRxEw7HcYGEnKZfEIWeC2fR1FifWJ-aW5zYCuNsGFKRpT99EU-h-Zcgwd7dwGMDKUSFfGJt7lmziKv6dRdT1-CPGsu25tDsDGSgenJJVHd0v6-SUGBMpoJig3rEIOEob7ZuIuH6r7eKzQpVt9uI6rDMXk4jblos-EUTiFtLDQWFTBD9ctkTCniBVxdEEkyY5_dbpinO3WiFOuJs2hs_VcanNKo-Lf46DiSCB9A
  1. then I input this token to my PAI k8s dashboard login view:

image

  1. I click "login" button, but nothing happen; I tried to use an incorrect token, it showed the massage:

image

  • OpenPAI version: v1.8.0
  • Cloud provider or hardware configuration:
  • OS (e.g. from /etc/os-release): Ubuntu 18.04.6 LTS
  • Kernel (e.g. uname -a): Linux openpai-v18-master 5.4.0-1078-azure 81~18.04.1-Ubuntu SMP Mon Apr 25 23:16:13 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
  • Hardware (e.g. core number, memory size, storage size, GPU type etc.): Azure VM Standard_D4s_v3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions