-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Ensure owner references are correctly re-reconciled #7575
Comments
/triage accepted @killianmuldoon I'm not sure who is already working on which sub-task. Please let me know if I should take over one of them. |
/assign |
Thanks for this extensive work of research. But, for now, praise for this work making the project more robust and resilient to ownerRefs being accidentally removed. |
Thx. Absolutely agree. We should continuously try to get rid of things which are not needed anymore.
+100. Thx @killianmuldoon great work!! |
Looks like #7587 introduced a bug: https://github.com/kubernetes-sigs/cluster-api/pull/7616/files#r1031946701 |
@killianmuldoon Just out of curiosity in case you just know it. Is the ClusterClass ownerRef tree equivalent to the non-ClusterClass tree just with more ownerRefs for the ClusterClass+referenced templates? (it's a bit hard to diff in the pictures) |
All tasks now done - will close this once #7606 is merged. |
/close #7606 is approved |
The test in ##7569 shows that some of the ownerReferences in Cluster API are not correctly re-reconciled if they are removed for any reason. This is an umbrella issue to capture the different cases under which this can happen.
The expectation is that the ownerReference tree should look the same as on cluster creation after being re-reconciled. The following differences can be seen in #7569
ClusterClass-owned templates are not re-reconciled with their ownerReferences(There is an issue here where the ClusterClass is reconciled infrequently so it takes longer for these references to be re-reconciled. The ownerReference tree is evenually as expected in this case though, as the ClusterClass controller reconciles these references correctly.)ClusterClass clusters
The ownerReference tree on creation:
The ownerReference tree after removing and re-reconciling:
Non-ClusterClass clusters
The ownerReference tree on
creation:
The ownerReference tree after removing and re-reconciling
/kind bug
The text was updated successfully, but these errors were encountered: