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 Status remains in 'waiting' state for long periods of time after adding a fresh gitRepo #2848

Closed
1 task done
slickwarren opened this issue Sep 13, 2024 · 1 comment
Labels

Comments

@slickwarren
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

when adding a new gitRepo and targeting a downstream cluster, the fleet -> cluster resources take up to 15 minutes to check the status of the resources on the cluster.

Expected Behavior

I would expect the cluster resources on the fleet page to be in sync with the actual resources, at least on the order of 1 minute

Steps To Reproduce

  1. deploy a standard downstream cluster (i.e. k3s using linode provider)
  2. wait for the cluster to get to an active state
  3. deploy a new fleet gitRepo ( I used fleet's example repo in the video linked)
  4. check the fleet -> clusters tab, note that resources aren't ready
  5. check in the rancher -> cluster page and not that the resources are actually active
  6. double check in fleet -> clusters that the resources are still not ready
  7. forcing an update on fleet -> clusters will force a checkin, which resolves the issue.

Environment

- Architecture: amd64
- Fleet Version: v0.10.2-rc.4
- Cluster:
  - Provider: any (tested with linode, aws, and custom clusters with k3s or rke2)
  - Options:
  - Kubernetes Version: any (tested with 1.30.3, 1.29.x, 1.28.x)

Logs

No response

Anything else?

fleet-cluster-not-updating.webm
@rancherbot rancherbot added this to Fleet Sep 13, 2024
@github-project-automation github-project-automation bot moved this to 🆕 New in Fleet Sep 13, 2024
@slickwarren
Copy link
Author

forceSyncGeneration shouldn't be set when creating a gitRepo - removing this from my code fixed the problem. Closing the issue

@github-project-automation github-project-automation bot moved this from 🆕 New to ✅ Done in Fleet Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

No branches or pull requests

1 participant