-
Notifications
You must be signed in to change notification settings - Fork 260
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
can not force delete machines resources #307
Comments
|
thanks for answer. actually, there did not have VMs created on openstack, so I did not know how to clean up the garbage resources. |
no VM created and the controller is gone, then every thing is cleaned? |
let me clarify the cases here: Case 1: I tried to use cluster-api to create the VMs on Openstack, but the VM creation failed due to auth failed, so I tried to delete the machine and the cluster but the operations also failed with the same reason of creation. Case 2: Then I try to delete the machine and cluster resources with the paramemter Case 3: Then I delete the controller to see if it will help, but seems not, the resources can not deleted as well. |
@hchenxa As a short term workaround... there are a finalizers on each machine preventing the object to be deleted form etcd as long as the finalizers are there. Removing the finalizers by hand (e.g. The longer term issue: There seems to be either a problem in create machine or delete machine, or both, that we need to find and work around. |
closing this as we can remove the finalizers to force delete the resources. |
/kind bug
What steps did you take and what happened:
[A clear and concise description of what the bug is.]
What did you expect to happen:
I was trying to delete the machine by
kubectl delete machine --force --grace-period=0
, but find the command will still need the controller's to finish the machine delete operations.so :
Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
Environment:
kubectl version
):/etc/os-release
):The text was updated successfully, but these errors were encountered: