-
Notifications
You must be signed in to change notification settings - Fork 580
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
Error: failed to list objects for the "infrastructure.cluster.x-k8s.io/v1alpha4, Kind=AWSClusterControllerIdentity" during upgrade to CAPI 1.0 #2955
Comments
@wmgroot: This issue is currently awaiting triage. If CAPA/CAPI contributors determines this is a relevant issue, they will accept it by applying the The Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@randomvariable any ideas why this error shows up: RBAC allows listing AWSClusterControllerIdentity in those versions. |
There is a fix that will be in the next cluster-api release for this in clusterctl side: kubernetes-sigs/cluster-api#5681 |
When was the capa-webhook-service introduced? I can see that it does not exist on our clusters running capi 0.3, provider-aws 0.6.7.
However, it does exist after attempting to run the upgrade from capi 0.4 to 1.0
I believe the error is a direct result of the Pods for this Service not being available, the timeout occurs because no Pod exists to serve the request made to capa-webhook-service. It is not clear to me if these pods should be created as part of the upgrade process for 0.4 -> 1.0, or if they should have existed after upgrading from 0.3 -> 0.4.
|
Just saw your note, thanks for the update. |
Closing as this issue should be fixed with kubernetes-sigs/cluster-api#5684 |
/kind bug
What steps did you take and what happened:
I am trying to upgrade a cluster from CAPI 0.3 to CAPI 1.0.
I've successfully updated our test cluster from 0.3 to 0.4 by following these steps
clusterctl upgrade plan
andclusterctl upgrade apply
From there I performed the same steps using clusterctl 1.0.1, expecting to see beta1 replace alpha4.
However, I hit the following error while upgrading the aws infrastructure provider.
What did you expect to happen:
I expected an upgrade from 0.4.4 to 1.0.1 to apply cleanly.
Anything else you would like to add:
I did not do anything to clean up the old alpha3 CRDs in this cluster before attempting the upgrade to 1.0.
Environment:
kubectl version
): 1.21.5/etc/os-release
): ubuntu capi AMIThe text was updated successfully, but these errors were encountered: