-
Notifications
You must be signed in to change notification settings - Fork 22
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
Race in deleting cluster secret prevents deletion of NutanixCluster object when deleting CAPI cluster object #281
Comments
@prajnutanix: The label(s) In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/kind bug
What steps did you take and what happened:
clusterctl init --infrastructure v1.2.1
to initialize the providers. Make sure that~/.cluster-api/clusterctl.yaml
contains relevant values needed for cluster initialization, before running this command.cluster.x-k8s.io/cluster-name
be called ascapx-cluster
. For this report, keep the WMD and KCP pointing to same NutanixMachineTemplate, saycapx-cluster-mt-0
and keep the worker node count and control node count as 1..spec.template.spec.image.name
to a random string value such that, the image does not exist in PC.capx-cluster
after few mins. This will say that cluster is inProvisioned
state. This is incorrect ! it must either be inProvisioning
state or inFailed
state. !!kubectl delete cl capx-cluster
. This command will be stuck as there arefinalizers
set on the capx-cluster object. Now open another terminal with same cluster context as kind management cluster used earlier. Check the logs of CAPI controller manager and CAPX controller manager.Essentially it is looking for the secret object, but the object does not exist, as its deleted earlier.
What did you expect to happen:
Provisioned
status. It must either be inProvisioning
state orFailure
state.Anything else you would like to add:
None
Environment:
kubectl version
): v1.25.3/etc/os-release
): "CentOS Linux 7 (Core)"The text was updated successfully, but these errors were encountered: