-
Notifications
You must be signed in to change notification settings - Fork 101
OSD-8404 : MUO to adhere CVO's Ack-Gate #289
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
Conversation
Signed-off-by: Aniket Joshi <anjoshi@redhat.com>
Signed-off-by: Aniket Joshi <anjoshi@redhat.com>
|
/hold |
|
cc @Tessg22 FYI, above is my initial review on the code so far |
|
Leaving one more comment on this PR. I think it will be relatively straightforward to get specific service log messaging going that can inform the cluster owner that the upgrade failed specifically due to the upgrade gate issue. These changes will mainly need to occur in the event manager code (https://github.com/openshift/managed-upgrade-operator/blob/master/pkg/eventmanager/eventmanager.go). Specifically:
|
Codecov Report
@@ Coverage Diff @@
## master #289 +/- ##
==========================================
+ Coverage 50.61% 50.67% +0.05%
==========================================
Files 110 111 +1
Lines 4453 4460 +7
==========================================
+ Hits 2254 2260 +6
+ Misses 2027 2023 -4
- Partials 172 177 +5
|
|
One final comment in terms of testing. First off, thanks for adding tests, that's awesome! If they could be expanded to cover some additional scenarios that would be great and is the last thing this PR really needs.
|
exist Co-authored-by: Aniket Joshi <anjoshi@redhat.com>
… and is set to true
|
/unhold |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: anjoshi24, mrbarge The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What type of PR is this?
Refactor
What this PR does / why we need it?
MUO needs to check CVO's ack gate condition before the upgrade and make decision based on the status.
Which Jira/Github issue(s) this PR fixes?
https://issues.redhat.com/browse/OSD-8404
Fixes #
Special notes for your reviewer:
Pre-checks (if applicable):
make generatecommand locally to validate code changes