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

EKS Anywhere cluster upgrade issue with error no CAPI cluster objects present on workload cluster #4818

Open
miryalasaigoutham opened this issue Feb 1, 2023 · 5 comments

Comments

@miryalasaigoutham
Copy link

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

@miryalasaigoutham
Copy link
Author

Not even able to delete the cluster
Warning: VSphereDatacenterConfig configured in insecure mode Performing provider setup and validations Creating management cluster Provider specific pre-capi-install-setup on bootstrap cluster Installing cluster-api providers on management cluster Moving cluster management from workload cluster collecting cluster diagnostics collecting management cluster diagnostics ⏳ Collecting support bundle from cluster, this can take a while {"cluster": "bootstrap-cluster", "bundle": "eksa-xxxxxxxxx/generated/bootstrap-cluster-2023-02-01T21:53:36+05:30-bundle.yaml", "since": 1675257816527777584, "kubeconfig": "eksa-xxxxxxxxx/generated/eksa-xxxxxxxxx.kind.kubeconfig"} Support bundle archive created {"path": "support-bundle-2023-02-01T16_23_38.tar.gz"} Analyzing support bundle {"bundle": "eksa-xxxxxxxxx/generated/bootstrap-cluster-2023-02-01T21:53:36+05:30-bundle.yaml", "archive": "support-bundle-2023-02-01T16_23_38.tar.gz"} Analysis output generated {"path": "eksa-xxxxxxxxx/generated/bootstrap-cluster-2023-02-01T21:54:48+05:30-analysis.yaml"} collecting workload cluster diagnostics ⏳ Collecting support bundle from cluster, this can take a while {"cluster": "eksa-xxxxxxxxx", "bundle": "eksa-xxxxxxxxx/generated/eksa-xxxxxxxxx-2023-02-01T21:54:54+05:30-bundle.yaml", "since": 1675257894034896677, "kubeconfig": "eksa-xxxxxxxxx/eksa-xxxxxxxxx-eks-a-cluster.kubeconfig"} Support bundle archive created {"path": "support-bundle-2023-02-01T16_24_54.tar.gz"} Analyzing support bundle {"bundle": "eksa-xxxxxxxxx/generated/eksa-xxxxxxxxx-2023-02-01T21:54:54+05:30-bundle.yaml", "archive": "support-bundle-2023-02-01T16_24_54.tar.gz"} Analysis output generated {"path": "eksa-xxxxxxxxx/generated/eksa-xxxxxxxxx-2023-02-01T21:58:28+05:30-analysis.yaml"} Error: failed to delete cluster: getting the total count of nodes: getting KubeadmControlPlane for cluster eksa-xxxxxxxxx: getting kubeadmcontrolplane: Error from server (NotFound): kubeadmcontrolplanes.controlplane.cluster.x-k8s.io "eksa-xxxxxxxxx" not found

@miryalasaigoutham miryalasaigoutham changed the title EKS Anywhere cluster upgrade issue EKS Anywhere cluster upgrade issue with error no CAPI cluster objects present on workload cluster Feb 1, 2023
@miryalasaigoutham
Copy link
Author

#4821

@miryalasaigoutham
Copy link
Author

Hi Team,

Can you please provide an update here?

Thanks!

@miryalasaigoutham
Copy link
Author

Is there any update on this?? We are still blocked with the same error

@chrisdoherty4
Copy link
Contributor

@miryalasaigoutham Can you post the commands you're running and the files on disk you're using? This command is known to work so the working theory is you're not using the correct files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants