Skip to content

Reboot does kubectl uncordon tolerating to its failure thus leaving the node unschedulable #654

@ilia1243

Description

@ilia1243

We kubectl uncordon with warn=True https://github.com/Netcracker/KubeMarine/blob/v0.29.0/kubemarine/system.py#L367

res = first_control_plane.sudo(f'kubectl uncordon {node_name}', warn=True)

This may leave nodes unschedulable that is especially relevant for All-in-One scheme.

Potential remediation is to use kubernetes.wait_uncordon.

Reproduced on:
Kubernetes v1.29.1
OS: Ubuntu 22.04
Schema: All-in-One

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions