aws / aws/eks-anywhere

Unable to create cluster in Docker or Nutanix

Open
#9,397 3 comments 0 reactions 0 assignees View on GitHub
external
Dominant language
Go
Stars
2.1k
Forks
328
Avg merge
1d 4h
Merged PRs (30d)
9

Description

**What happened**:

Today I unable to create EKS cluster locally or on Nutanix. Inspecting the logs I get the following error.
Both has been happening on Nutanix and Docker (probably as it first gets build in Docker).

On each occasion it seems to have an issue with creating control plane or accessing control plane.

Please kind in mind I have previously created clusters with no issues. I have today tried several version of eks anywhere from latest to version v0.19.0. Also tried several docker versions.

Any advice would be great.

Also tried my home machine as well as work to rule out any networking issues.

```
{"T":1741646300318754241,"M":"Executing command","cmd":"/usr/bin/docker exec -i eksa_1741646029888252550 kubectl get --ignore-not-found -o json --kubeconfig docker/generated/docker.kind.kubeconfig Cluster.v1alpha1.anywhere.eks.amazonaws.com --namespace default docker"}
{"T":1741646300466424594,"M":"Cluster generation and observedGeneration","Generation":1,"ObservedGeneration":1}
{"T":1741646300466484939,"M":"Error happened during retry","error":"cluster condition ControlPlaneReady is False: Control plane nodes not ready yet, 1 expected (0 ready)","retries":50}
{"T":1741646300466502600,"M":"Sleeping before next retry","time":"1s"}
{"T":1741646301466735454,"M":"Executing command","cmd":"/usr/bin/docker exec -i eksa_1741646029888252550 kubectl get --ignore-not-found -o json --kubeconfig docker/generated/docker.kind.kubeconfig Cluster.v1alph
```

I have previously created clusters with no issues. While having issues creating cluster on Nutanix, I tried using docker as provisioner.. Both experiencing issues.

Docker version
```
Client:
Version: 26.1.3
API version: 1.45
Go version: go1.22.2
Git commit: 26.1.3-0ubuntu1~24.04.1
Built: Mon Oct 14 14:29:26 2024
OS/Arch: linux/amd64
Context: default

Server:
Engine:
Version: 26.1.3
API version: 1.45 (minimum version 1.24)
Go version: go1.22.2
Git commit: 26.1.3-0ubuntu1~24.04.1
Built: Mon Oct 14 14:29:26 2024
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.7.24
GitCommit:
runc:
Version: 1.1.12-0ubuntu3.1
GitCommit:
docker-init:
Version: 0.19.0
GitCommit:
```

Contributor guide

Open the contributing guide

Research direction

Start with the reported ControlPlaneReady condition and the generated docker/generated/docker.kind.kubeconfig, then inspect the kubectl command and retry logs. Compare the Docker and Nutanix provisioning paths to determine why zero of one expected control-plane nodes becomes ready. Done means cluster creation succeeds and the control plane becomes ready in both reported environments.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, kubernetes
Domain
devops, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.