Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] EKS machines are not created: ControlPlaneIsStable preflight failed #907

Closed
eromanova opened this issue Jan 16, 2025 · 0 comments · Fixed by #986
Closed

[bug] EKS machines are not created: ControlPlaneIsStable preflight failed #907

eromanova opened this issue Jan 16, 2025 · 0 comments · Fixed by #986
Assignees
Labels
bug Something isn't working

Comments

@eromanova
Copy link
Contributor

Describe the bug
Affected k0rdent version: v0.0.7
The deployment of the EKS cluster is stuck waiting for the machines to be provisioned. The MachineDeployment resource is showing the following conditions:

  Type: MachineSetReady, Status: False, Reason: PreflightCheckFailed, Message: ekaz-eks-dev-eks-md: AWSManagedControlPlane kcm-system/ekaz-eks-dev-eks-cp is provisioning ("ControlPlaneIsStable" preflight check failed)
  Type: Available, Status: False, Reason: WaitingForAvailableMachines, Message: ekaz-eks-dev-eks-md: Minimum availability requires 1 replicas, current 0 available
  Type: Ready, Status: False, Reason: WaitingForAvailableMachines, Message: ekaz-eks-dev-eks-md: Minimum availability requires 1 replicas, current 0 available

As a result, the cluster was successfully created in EKS but no nodes are available.

WORKAROUND
Add "machineset.cluster.x-k8s.io/skip-preflight-checks": "ControlPlaneIsStable" annotation to the MachineDeployment.

To Reproduce
Steps to reproduce the behavior:

  1. Deploy management cluster with k0rdent v0.0.7
  2. Create ClusterDeployment using aws-eks template

Expected behavior
The cluster is up and running.

Additional context
The issue likely started occurring after the most recent CAPI bump.
Related issue: kubernetes-sigs/cluster-api-provider-aws#5225

@eromanova eromanova added the bug Something isn't working label Jan 16, 2025
@github-project-automation github-project-automation bot moved this to Todo in k0rdent Jan 16, 2025
eromanova added a commit to eromanova/kcm that referenced this issue Jan 16, 2025
eromanova added a commit to eromanova/kcm that referenced this issue Jan 16, 2025
eromanova added a commit that referenced this issue Jan 16, 2025
* Added support to enable custom addons in EKS template

And enable CSI driver addon by default

* Add EKS e2e testing

* Apply workaround for EKS #907 issue
@eromanova eromanova changed the title [bug] EKS macines are not created: ControlPlaneIsStable preflight failed [bug] EKS machines are not created: ControlPlaneIsStable preflight failed Jan 16, 2025
eromanova added a commit to eromanova/k0rdent-docs that referenced this issue Jan 29, 2025
eromanova added a commit to eromanova/kcm that referenced this issue Jan 30, 2025
@eromanova eromanova self-assigned this Jan 30, 2025
@eromanova eromanova moved this from Todo to In Progress in k0rdent Jan 30, 2025
@github-project-automation github-project-automation bot moved this from Todo to Done in Project 2A Jan 30, 2025
@github-project-automation github-project-automation bot moved this from In Progress to Done in k0rdent Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant