Skip to content

Unable to Load Cluster #2979

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
salomj opened this issue Mar 11, 2025 · 6 comments
Open

Unable to Load Cluster #2979

salomj opened this issue Mar 11, 2025 · 6 comments
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@salomj
Copy link

salomj commented Mar 11, 2025

Describe the bug

I am unable to load clusters into HeadLamp

To Reproduce

Steps to reproduce the bug:

  1. Click either Load Cluster or Add Cluster
  2. Upload KubeConfig
  3. Leave the Box Check, and Click Next
  4. Clusters successfully set up!
    No Clusters are loaded

Environment (please provide info about your environment):

  • Installation type: Mac-Homebrew
  • Headlamp Version: 0.29.0
  • Other: Commit bbefb6e

Are you able to fix this issue?

No

Additional Context

  • I tried reinstall via brew to no success.
  • It worked fine for several weeks, with both local config and a non-prod config. I added a prod config, and then both the non-prod and prod config disappeared. And now I cannot add either.
  • Not sure where to find the log file
@salomj salomj added the kind/bug Categorizes issue or PR as related to a bug. label Mar 11, 2025
@knrt10
Copy link
Collaborator

knrt10 commented Mar 18, 2025

Hi @salomj, can you please try it with the latest main. I am unable to reproduce this with the latest version.

Steps to test.

  • Run backend cd backend && go run ./cmd -dev -enable-dynamic-clusters -proxy-urls=https://artifacthub.io/\*
  • Run frontend cd frontend && npm i && npm start
  • Run app cd app && npm run dev-only-app

@lukewestervelt
Copy link

lukewestervelt commented Apr 2, 2025

I am encountering this issue as well with v0.30.0. Fresh, first time install this morning.

$ brew install --cask headlamp
...
==> Downloading https://github.com/headlamp-k8s/headlamp/releases/download/v0.30.0/Headlamp-0.30.0-mac-arm64.dmg
==> Downloading from https://objects.githubusercontent.com/github-production-release-asset-2e65be/220546758/3adec45b-e018-4fbd-a057-843025ae7053?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential
########################################################################################################################################################################################### 100.0%
==> Installing Cask headlamp
==> Moving App 'Headlamp.app' to '/Applications/Headlamp.app'
🍺  headlamp was successfully installed!

Load Cluster > Load from Kubeconfig > Choose File > Finish

Results in cluster not loaded. Was working for ~30 minutes, but then clusters have disappeared from list after attempting to add more than 1 and now not able to add anything.

@DanielLenz
Copy link

DanielLenz commented Apr 4, 2025

Can confirm the exact issue that @salomj is describing

  • Installed via homebrew (v0.30.0 on macOS 15.4)
  • Adding the first kubeconfig worked fine, then both disappeared after adding the second
  • Now I cannot add any kubeconfig. It says 'successfully added', but nothing is showing

@knrt10
Copy link
Collaborator

knrt10 commented Apr 7, 2025

Thank you for confirming. Let me try it as well with the steps as mentioned

@knrt10
Copy link
Collaborator

knrt10 commented Apr 7, 2025

Can you please try this if on Mac

  • Open Headlamp app and open dev console cmd + option + i
  • Go to Application Tab -> Storage -> IndexedDB -> kubeconfigs -> kubeconfigStore
  • Clear the object store by clicking the stop button

Then try adding the cluster again and see if it works. Thanks

@jonasjonker
Copy link

I had the same problem on my headlamp desktop version.

  • version 0.30.0 installed with flatpak on Ubuntu 24.04 via the App Center.

@knrt10 suggestion fixed it (with ctrl + shift +i on my os)

Can you please try this if on Mac

* Open Headlamp app and open dev console `cmd + option + i`

* Go to `Application Tab -> Storage -> IndexedDB -> kubeconfigs -> kubeconfigStore`

* Clear the object store by clicking the stop button

Then try adding the cluster again and see if it works. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

5 participants