lens icon indicating copy to clipboard operation
lens copied to clipboard

Blank Screen when accessing cluster

Open HakunMatat4 opened this issue 2 years ago • 8 comments

Describe the bug Lens does not show anything in the view when it connects. It shows the message "No issues found" to indicate that it is connected, but the screen is blank..

To Reproduce Steps to reproduce the behavior:

  1. Open Lens
  2. Connect to cluster

Expected behavior I expect to be able to see the cluster..

Screenshots Blank Dashboard

Environment (please complete the following information):

  • Lens Version: 5.4.6-latest.20220428.1
  • OS: Windows 10 Pro
  • Installation method (e.g. snap or AppImage in Linux): Lens Setup 5.4.6-latest.20220428.1.exe

Additional context I've checked other reports like this, https://github.com/lensapp/lens/issues/4323 and https://github.com/lensapp/lens/issues/4018, I have done as suggested:

  • del: \AppData\Roaming\Lens\lens-local-storage

There are no errors under Developer Tools. I can see the Nodes even so a lot of information is missing like CPU, Mem, etc. Overall, It is as if I can access 1% of that cluster.

I cannot test this with Linux, my main OS, the company requires Windows.

Thank you

HakunMatat4 avatar May 12 '22 03:05 HakunMatat4

What you have described is not the "blank dashboard" issue previously reported. That display just means that Lens cannot access any Prometheus installation in the cluster that you might have.

I assume that you can navigate around to view "Pods" and such.

Nokel81 avatar May 12 '22 12:05 Nokel81

I have the same issue on Lens: 5.5.1-latest.20220526.1 only on one of my 10+ clusters. It loads to a blank screen. I tried all of the deleting of directories in the other issue and even re-installed Lens. I tried to delete the kubeconfig and re-merge it but still same issue. I am able to view the cluster via CLI and others are able to view it through Lens so it is just my IDE. Any help is appreciated

All I see is: image

dsuresh-ap avatar May 26 '22 19:05 dsuresh-ap

Is the one cluster that didn't work using a service account?

Nokel81 avatar May 26 '22 19:05 Nokel81

I am not sure what you mean. All the clusters have their KubeConfig merged though the K8 VSCode extension + AKS Cloud provider. For this cluster that is not working, I even tried using AZ CLI to merge the config.

dsuresh-ap avatar May 26 '22 19:05 dsuresh-ap

Yes, but to authenticate with a cluster the kubeconfig needs a user field in the kubeconfig.

Nokel81 avatar May 26 '22 19:05 Nokel81

@dsuresh-ap You seem to be running into https://github.com/lensapp/lens/issues/5462

Nokel81 avatar May 26 '22 20:05 Nokel81

This issue is about something else.

Nokel81 avatar May 26 '22 20:05 Nokel81

I see, didn't see that issue. Thanks!

dsuresh-ap avatar May 26 '22 20:05 dsuresh-ap