aws / aws/eks-anywhere

EKSA hangs while creating a cluster

Open
#6,837 2 comments 1 reaction 0 assignees View on GitHub
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 -
![image](https://github.com/aws/eks-anywhere/assets/148281927/e8e13dda-79dd-4493-8abb-7a66d47ad6eb)

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
![image](https://github.com/aws/eks-anywhere/assets/148281927/9d435955-b7fa-4faa-855c-91cb0a0fdc6f)
Here is the output from eksa-cli-logs -![image](https://github.com/aws/eks-anywhere/assets/148281927/b93cf6d6-07a9-47c0-be86-b09fcbe976af)
Not an issue with docker memory or it being low on resources. Seeing same issue when there are no other containers running.

Contributor guide

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.