-
Notifications
You must be signed in to change notification settings - Fork 9
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
p0upgradeK8sVersionChecks fix #233
Conversation
Looking into P1Import failure https://github.com/rancher/hosted-providers-e2e/actions/runs/12629647659/job/35188002144#step:19:169 |
Dismissing review due to P1 import failures.
b675fc0
to
9f89427
Compare
53e2f89
to
9a8a935
Compare
cluster, err = client.Management.Cluster.ByID(cluster.ID) | ||
Expect(err).To(BeNil()) | ||
return *cluster.EKSStatus.UpstreamSpec.KubernetesVersion | ||
}, tools.SetTimeout(15*time.Minute), 30*time.Second).Should(Equal(upgradeToVersion)) | ||
return *cluster.EKSStatus.UpstreamSpec.KubernetesVersion == upgradeToVersion && *cluster.EKSConfig.KubernetesVersion == upgradeToVersion |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we need to check EKSConfig again, since we are already checking in on L80.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
True, however eks-operator/issues/668
(fixed already) occurs sometimes due to race condition.
This check ensures condition is met to start Nodegroup upgrade.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would you mind adding a comment about it if you haven't already? It's possible that I or someone else might forget later and remove it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All looks good and the tests are also passing, apart from the one comment.
Signed-off-by: Chandan Pinjani <chandan.pinjani@suse.com>
9a8a935
to
7327f7b
Compare
What does this PR do?
To include p0upgradeK8sVersionChecks for import tests
Which issue(s) this PR fixes (optional, in fixes #(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #198
Checklist:
https://github.com/rancher/hosted-providers-e2e/actions/runs/12652249431
(p0_provisioning/p0_import/p1_provisioning/p1_import)