-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
CAPI test cannot get correct number of machines when upgrading from v1.5.0 to v1.5.1 #9411
Comments
Can you try to run the test with a more up to date version of the Cluster API go types? As of v1.5 i.e. change |
I believe this may be the same issue I hit, discussed in slack here: https://kubernetes.slack.com/archives/C8TSNPY4T/p1694103458989449 The TL;DR is that the test explicitly uses the v1alpha3 API, which is no longer served by 1.5.x. This requires the upgrade to be from prior to 1.5.x. We decided to pin to 1.4.x in CAPO, but the issue is fixed in 1.6, and @sbueringer mentioned he may be able to backport the fix. |
Looks like it was specifically fixed in 5c4ce8b, which is unfortunately a mega-commit and can't be cherry-picked. Should be able to pull out the relevant parts, though. |
I think it would be a good idea to backport that specific fix to the release-1.5 branch. /help |
@killianmuldoon: GuidelinesPlease ensure that the issue body includes answers to the following questions:
For more details on the requirements of such an issue, please see here and ensure that they are met. If this request no longer meets these requirements, the label can be removed In response to this:
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. |
/assign @mdbooth |
Thanks for reporting, we have not thought about this when working in #9097 and did not hit in core CAPI so it was not backported. |
Thank you for quick reaction @killianmuldoon, @furkatgofurov7, @mdbooth. |
@Sunnatillo the fix #9412 is merged now and should be available in the coming |
Thank you for update @furkatgofurov7. |
Would be good if you can confirm in the meantime if the fix works for you |
/close by #9412 |
What steps did you take and what happened?
We utilize CAPI test framework for upgrading providers. When running upgrade test from CAPI v1.5.0 to v1.5.1, following code cannot get correct number of ready machines.
We checked the machines are ready. But the following error occured:
What did you expect to happen?
Provider upgrade tests to pass.
Cluster API version
CAPI v1.5.0
Kubernetes version
v1.28.1
Anything else you would like to add?
Link to the logs of the test:
https://jenkins.nordix.org/job/metal3_capm3_from-release-1-5_main_e2e_clusterctl_upgrade_test_ubuntu/2/consoleFull
Label(s) to be applied
/kind bug
One or more /area label. See https://github.com/kubernetes-sigs/cluster-api/labels?q=area for the list of labels.
The text was updated successfully, but these errors were encountered: