vscode-openshift-tools icon indicating copy to clipboard operation
vscode-openshift-tools copied to clipboard

Can't open Console Dashboard

Open lgrossma opened this issue 1 year ago • 2 comments

When trying to open a Console Dashboard while logged in to an openshift cluster, no dashboard is opened. Instead, "Login in to a Cluster to run this command" notification appears. After logging in again and trying to open the console dashboard, the notification appears again, resulting in an infinite cycle.

https://github.com/redhat-developer/vscode-openshift-tools/assets/86789336/38780900-273f-4aaf-94c0-6a9c2498e66f

lgrossma avatar Aug 29 '23 11:08 lgrossma

root cause is likely:

  • we added the check to tell if you are logged into a cluster recently
  • the check we use is to see if the user is allowed to create pods in the current namespace
  • since there is no current namespace set, this permissions check will return false or maybe fail

datho7561 avatar Aug 29 '23 17:08 datho7561

Seems to be the case. I can open the Console Dashboard if project is set.

lgrossma avatar Aug 30 '23 13:08 lgrossma