Skip to content
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

Cluster in not-ready state after fixing a wrong Gitrepo URL #11404

Open
mmartin24 opened this issue Jul 5, 2024 · 2 comments
Open

Cluster in not-ready state after fixing a wrong Gitrepo URL #11404

mmartin24 opened this issue Jul 5, 2024 · 2 comments
Labels
area/fleet kind/bug QA/dev-automation Issues that engineers have written automation around so QA doesn't have look at this status/backport-candidate
Milestone

Comments

@mmartin24
Copy link

mmartin24 commented Jul 5, 2024

Issue

While checking other issue, it was noticed that when fixing a wrong URL from a Gitrepo, the cluster remains in NotReady state

Steps to reproduce:

  • Deploy Rancher 2.9
  • Deploy a Girepo that will produce an error, for instance with a space:
Repository URL: `https://github.com/rancher/fleet-test-data ` (notice the space at the end)
Branch: `master`
Paths: `qa-test-apps/nginx-app`
  • Wait until fails
  • Fix it by removing the space
  • Wait until is corrected
  • Go to Continuous Delivery > Clusters

Observed behavior

Cluster in Not Ready status for a long, long time

Image

Screencast.from.05-07-24.17.23.39.webm

Test environment:

Single cluster Rancher: v2.9-1d34dbcbf674228c8e63d10449c6da35d8d16692-head
Fleet version: fleet:104.0.0+up0.10.0-rc.19
K8s: v1.28.8 +k3s1

@0xavi0
Copy link

0xavi0 commented Jul 9, 2024

I think this is an issue in the rancher UI, not Fleet

I can also reproduce it:
Screenshot 2024-07-09 at 11 50 32

But when checking with kubectl the status of the cluster is correct:

$ kubectl get clusters -A                                                                                                                        
NAMESPACE     NAME    READY   KUBECONFIG
fleet-local   local   true    local-kubeconfig

Bundles....

$ kubectl get bundles -n fleet-local                                                                                                             
NAME                BUNDLEDEPLOYMENTS-READY   STATUS
fleet-agent-local   1/1
test-simple         1/1

GitRepos...

kubectl get gitrepos -A                                                                                                                        
NAMESPACE     NAME   REPO                                        COMMIT                                     BUNDLEDEPLOYMENTS-READY   STATUS
fleet-local   test   https://github.com/rancher/fleet-examples   2ada7cca738877df8459b3a34839a15e5683edaa   1/1

@kkaempf
Copy link

kkaempf commented Jul 9, 2024

@nwmac ptal

@kkaempf kkaempf transferred this issue from rancher/fleet Jul 10, 2024
@github-actions github-actions bot added the QA/dev-automation Issues that engineers have written automation around so QA doesn't have look at this label Jul 10, 2024
@kkaempf kkaempf added this to the v2.9.next1 milestone Jul 10, 2024
@gaktive gaktive modified the milestones: v2.9.next1, v2.10.0 Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/fleet kind/bug QA/dev-automation Issues that engineers have written automation around so QA doesn't have look at this status/backport-candidate
Projects
None yet
Development

No branches or pull requests

4 participants