Description
/kind bug
What steps did you take and what happened:
Deleting a master machine where the machine-controller running is prohibited in code:
cluster-api/pkg/controller/machine/machine_controller.go
Lines 167 to 168 in bf950ad
What did you expect to happen:
We should delete this machine, the machine-controller can get rescheduled.
Anything else you would like to add:
The primary motivation for calling this a bug is if the machine-controller gets rescheduled for some reason onto another host, the master will be abruptly deleted later. There is no way to un-delete the machine object, so this is essentially a ticking time-bomb.
At this point, the machine-controller is re-entrant, an interruption of it's operation should be transparent to it's operation.