Draft: fix machine deletion
This MR will fix when deleting a machine, getting the following error:
# oc logs -f pod/machine-api-controllers-54ddb8bb7-lkx8h -n openshift-machine-api -c machine-controller
...
-36eaf6f7ab68 ports: Expected HTTP response code [] when accessing [DELETE https://openstack.cern.ch:8774/v2.1/cc75ad42-d3ab-486a-a825-39286f63cafa/servers/1dd5d084-9f5e-46ca-b15d-36eaf6f7ab68/os-interface/f315f8c2-4af3-4279-a1c8-ff689cef655e], but got 409 instead
{"conflictingRequest": {"message": "Cannot 'detach_interface' instance 1dd5d084-9f5e-46ca-b15d-36eaf6f7ab68 while it is in vm_state error", "code": 409}}
I0208 15:17:18.182661 1 utils.go:99] Cloud provider CA cert not provided, using system trust bundle
I0208 15:17:22.586237 1 controller.go:243] router-r6htw: can't proceed deleting machine while cloud instance is being terminated, requeuing
...
Edited by Ismael Posada Trobo