cluster-api-provider-aws
cluster-api-provider-aws copied to clipboard
🐛 ROSA: Fix version gate Ack for rosa hcp y-stream version upgrade
What type of PR is this? Bug
What this PR does / why we need it: This PR approve the gate version acknowledgment for ROSA-HCP y-stream upgrade
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Checklist:
- [ ] squashed commits
- [ ] includes documentation
- [ ] includes emojis
- [ ] adds unit tests
- [ ] adds or updates e2e tests
Release note:
Add versionGate Acknowledgement for upgrading ROSA-HCP y-stream versions
Hi @serngawy. Thanks for your PR.
I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.
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-sigs/prow repository.
/cc @muraee @damdo please approve for test
/ok-to-test
/hold
/unhold
@serngawy could you please add a Release Note in the description of the PR for this one? Thanks!
Can you confirm that we are introducing the user flow that we will always require an Acknowledgement, (unless AlwaysAcknowledge) is set, for all Y-Stream upgrades (that's what the code flow looks like to me. This is being done even though OCP may NOT require it. OCP 4.16 to 4.17 does not require an acknowledge.
@serngawy can you confirm this is also ROSA-HCP's use case, or are they aware of when to require the acknowledgement?
Can you confirm that we are introducing the user flow that we will always require an Acknowledgement, (unless AlwaysAcknowledge) is set, for all Y-Stream upgrades (that's what the code flow looks like to me. This is being done even though OCP may NOT require it. OCP 4.16 to 4.17 does not require an acknowledge.
@serngawy can you confirm this is also ROSA-HCP's use case, or are they aware of when to require the acknowledgement?
The code check first if there is an versionGate Acknowledge is required, if upgrading y-stream doesn't require Acknowledge the upgrade will proceed similar to z-stream upgrade.
The workflow is; 1- User set the version to upgrade (assuming the user not aware that acknowledgement is required) 2- The ROSA-HCP will return back with error message that an acknowledgement is required to proceed with upgrade. 3- The user set the versionGate to acknowledge 4- The upgrade will proceed 5- once the upgrade done the version gate will set back to waitForAcknowledge.
lgtm
@nrb @richardcase any of you able to do an approver type review? TY
/approve
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: nrb
The full list of commands accepted by this bot can be found here.
The pull request process is described here
- ~~config/crd/bases/OWNERS~~ [nrb]
- ~~controlplane/rosa/OWNERS~~ [nrb]
- ~~pkg/rosa/OWNERS~~ [nrb]
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment
CI's fixed.
/unhold
/test pull-cluster-api-provider-aws-test
Failed due to CI account limits, not this code.