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

BUG: addons does not get installed on cluster, if a cluster is deleted and recreated with the same name #711

Closed
psarwate opened this issue Sep 26, 2024 · 5 comments · Fixed by #710
Assignees

Comments

@psarwate
Copy link

psarwate commented Sep 26, 2024

Addon does not get into provisioning state on the CAPI cluster, if we delete the older workload cluster and recreate new workload cluster with the same name.

Steps to repro:

  • Create CAPI cluster, and wait for cluster to go into running state
  • Wait for all addons to go into provisioned state
  • Delete the older openstack cluster, and ensure all clustersummary objects get deleted as well.
  • Recreate the CAPI cluster with same cluster name and this time addons don't come up on the cluster

We observer below errors in the addon controller:

I0902 09:43:19.973879 1 clustersummary_controller.go:527] "no policy status. Do not reconcile this" controller="clustersummary" controllerGroup="config.projectsveltos.io" controllerKind="ClusterSummary" ClusterSummary="org-pmaru/core-addons-capi-capi3" namespace="testns" name="core-addons-capi-capi3" reconcileID="dd0564e6-4d5c-4249-8dbd-8521d33373f6" clusternamespace="testns" clustername=“capi3"

E0902 09:43:19.973912 1 clustersummary_controller.go:377] "failed to deploy" err="cleanup of Helm still in progress. Wait before redeploying" controller="clustersummary" controllerGroup="config.projectsveltos.io" controllerKind="ClusterSummary" ClusterSummary="testns/core-addons-capi-capi3" namespace="testns" name="core-addons-capi-capi3" reconcileID="dd0564e6-4d5c-4249-8dbd-8521d33373f6”

I can add more details if needed. But above steps worked for us everytime and the error in the controller is also consistently seen.

Version: 0.35.0

@psarwate
Copy link
Author

Thanks for fixing this @gianlucam76. Is this planned for tag 0.38.4?

@gianlucam76
Copy link
Member

Yes it will be in v0.38.4 today hopefully

@OmkarDeshpande7
Copy link

@gianlucam76 Thanks for the quick fix and super fast release v0.38.4. I am seeing chart version 0.38.4 is not yet available at https://projectsveltos.github.io/helm-charts. Can you confirm if that will be uploaded soon?

@gianlucam76
Copy link
Member

Hi @OmkarDeshpande7 I am doing the release now. I will release it in 30 minutes or so

@gianlucam76
Copy link
Member

released v0.38.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants