Skip to content

Unable to delete master machine #963

Closed
@michaelgugino

Description

@michaelgugino

/kind bug

What steps did you take and what happened:
Deleting a master machine where the machine-controller running is prohibited in code:

if !r.isDeleteAllowed(m) {
klog.Infof("Deleting machine hosting this controller is not allowed. Skipping reconciliation of machine %q", name)

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/bugCategorizes issue or PR as related to a bug.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions