Skip to content

EKS cluster AWSMachines not created because MachineSet pre-fight check fails  #5225

Closed
@tingchienc

Description

@tingchienc

/kind bug

What steps did you take and what happened:
[A clear and concise description of what the bug is.]

Add a MachineDeployment for the EKS cluster deployed by CAPA
No errors in the capa-controller pods

But there is an error for the machineDeployment.

Error messages:
Message: Performing "Scale up" on hold because ControlPlane namespace/cluster-control-plane is provisioning ("ControlPlaneIsStable" preflight failed). The operation will continue after the preflight check(s) pass

After we set the annotation "machineset.cluster.x-k8s.io/skip-preflight-checks: ControlPlaneIsStable", the EC2 machines finally created.

The problem is why the preflight-checks fail? We don't want to add the annotation for every MachineDeployment.
And it seems like a new feature added in Sep by ClusterAPI.

What did you expect to happen:
EC2 machines created without adding the annotation

Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]

Environment:

  • Cluster-api-provider-aws version: latest
  • Kubernetes version: (use kubectl version): 1.29.0
  • OS (e.g. from /etc/os-release): ubuntu

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.lifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.needs-priorityneeds-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions