EKS Anywhere cluster upgrade issue with error no CAPI cluster objects present on workload cluster
- Dominant language
- Go
- Stars
- 2.1k
- Forks
- 328
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 9
Description
Hi Team, seeing below error while I'm trying to upgrade the EKS Anywhere cluster
✅ Connected to server
✅ Authenticated to vSphere
✅ Datacenter validated
✅ Network validated
Warning: Your VM template has no snapshots. Defaulting to FullClone mode. VM provisioning might take longer.
Warning: VSphereMachineConfig DiskGiB cannot be less than 20. Defaulting to 20.
Warning: Your VM template has no snapshots. Defaulting to FullClone mode. VM provisioning might take longer.
Warning: Your VM template has no snapshots. Defaulting to FullClone mode. VM provisioning might take longer.
Warning: Your VM template has no snapshots. Defaulting to FullClone mode. VM provisioning might take longer.
Warning: Your VM template has no snapshots. Defaulting to FullClone mode. VM provisioning might take longer.
✅ Datastore validated
✅ Folder validated
✅ Resource pool validated
✅ Datastore validated
✅ Folder validated
✅ Resource pool validated
✅ Datastore validated
✅ Folder validated
✅ Resource pool validated
✅ Datastore validated
✅ Folder validated
✅ Resource pool validated
✅ Datastore validated
✅ Folder validated
✅ Resource pool validated
✅ Machine config tags validated
✅ Control plane and Workload templates validated
✅ Vsphere provider validation
✅ Validate certificate for registry mirror
✅ Worker nodes ready
✅ Nodes ready
✅ Cluster CRDs ready
✅ Upgrade cluster kubernetes version increment
✅ Validate authentication for git provider
✅ Validate immutable fields
❌ Validation failed {"validation": "upgrade preflight validations pass", "error": "validation failed with 2 errors: getting kubeadmcontrolplane: Error from server (NotFound): kubeadmcontrolplanes.controlplane.cluster.x-k8s.io \"xxxxxx\" not found\n,no CAPI cluster objects present on workload cluster xxxxx", "remediation": ""}
Error: failed to upgrade cluster: validations failed
Please let me know how I can fix this issue
Thanks and Regards
Sai Goutham Miryala
Contributor guide
Research direction
Start with the upgrade preflight validation named in the report, focusing on the kubeadmcontrolplane lookup and the message that no CAPI cluster objects are present on the workload cluster. Reproduce the upgrade failure with the supplied error context, identify why those objects are missing, and verify that the upgrade validation completes successfully.
Written by the indexing model from the issue text.
Assessment
- Domain
- infrastructure
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100