-
Notifications
You must be signed in to change notification settings - Fork 229
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
No clusters available #1536
Comments
Looks like Fleet cannot reach the git repo. Further questions
|
When I first add a repo, it shows Active. Then after a short time, it gets stuck on Git Updating. The repo url is to an externally facing GitLab instance. The repo has a deploy key with write access and I've confirmed that this key does indeed work. It does not have a passphrase. If there is a connectivity issue between fleet and this external GitLab, would that cause the Clusters Ready column to show 0/0 and No clusters available? |
Issue resolved after switching to an RSA key instead of ED25519. EC keys generated by openssh have BEGIN OPENSSH PRIVATE KEY. According to Fleet documentation, looks like the key needs to be modified to BEGIN EC PRIVATE KEY, but I saw errors in Rancher UI about it being unable to parse it. RSA key fixed it. |
Tried this but unfortunately this didn't work. |
Is there an existing issue for this?
Current Behavior
Fresh install Rancher on k3s. Rancher was then used to create 1 additional k3s cluster. After adding a GitRepo, Continuous Delivery > Git Repos shows the repo with a red "Git Updating" badge. In the Clusters Ready column, 0/0 (No clusters available). Under Continuous Delivery > Clusters, the cluster is visible and its detail shows the GitRepo just added.
No solution found after searching existing issues, asking Rancher Users slack, adding a fleet user and GlobalRole with Cluster, GitRepo, and FleetWorkspace permissions per reading one user's possible fix.
Logs from fleet-controller, fleet-agent on the target cluster, did not appear to have any errors except:
This error occurs when there is a commit to the git repository the GitRepo is watching. Could be related but I'm unsure how.
Expected Behavior
We're not doing anything special here. Just installed Rancher per the documentation. After adding a GitRepo, Fleet simply doesn't show any Clusters Ready. No errors in the UI just a yellow caution icon.
Steps To Reproduce
Environment
Logs
No response
Anything else?
We have Traefik running in AWS that is linked back to our on-premises clusters over ipsec. Our clusters are unaware of this proxy, and we configure our ingresses with TLS turned off because Traefik handles the termination. This has not caused any issues with Rancher being able to create and manage clusters, but I thought I should mention it.
The text was updated successfully, but these errors were encountered: