EKSA hangs while creating a cluster
- Dominant language
- Go
- Stars
- 2.1k
- Forks
- 328
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 9
Description
I have eks-A cluster running on VShphere provider. I am already running a management cluster and two workload clusters. However, I am unable to create any more clusters and cluster creation process hangs.
1. No kubeconfig for kind cluster gets created. Only see a yaml file under generated folder.
2. There is no activity in vcenter. I do not see any new VMs trying to come up by cloning the template.
3. Create cluster commands gets time out after an hour with following output -

4. When trying to recreate the cluster, ekctl complains that cluster already exists. However, kubectl show cluster does not list it.
5. Tried creating from mulitple admin machines and have been running into same issues.
6. Docker container which gets spin by eks anyhwere does not show any logs

Here is the output from eksa-cli-logs -
Not an issue with docker memory or it being low on resources. Seeing same issue when there are no other containers running.
Contributor guide
Research direction
Start by reproducing the cluster creation command and inspect the generated folder, the kind-cluster kubeconfig, and eksa-cli-logs output. Compare the Docker container state with vCenter activity and kubectl's cluster list, then determine why creation hangs and why a retry reports an existing cluster. Done means cluster creation completes or fails with an actionable error and cleanup allows a retry.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, go, kubernetes
- Domain
- devops, infrastructure
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100