-
Notifications
You must be signed in to change notification settings - Fork 149
OCPBUGS-65880: Reset StorageVersionMigrationDegraded condition #1071
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
|
@jhadvig: This pull request references Jira Issue OCPBUGS-65880, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. DetailsIn 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 openshift-eng/jira-lifecycle-plugin repository. |
|
/jira refresh |
|
@jhadvig: This pull request references Jira Issue OCPBUGS-65880, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
DetailsIn 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 openshift-eng/jira-lifecycle-plugin repository. |
|
Review |
Leo6Leo
left a comment
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.
The problem is the controller never calls HandleDegraded() to clear the condition, and it only calls to set the condition, therefore causing it to stuck in degraded forever. jakub's pr handles it pretty well by extracting the logic and centralizing condition management
// setting reason and err to empty string will clear the degraded status
statusHandler.AddCondition(status.HandleDegraded("StorageVersionMigration", reason, err))
and the changes looks good to me, ping QE for verification
/assign @yapei
/lgtm
Test seems like a flaky cypress test, retesting:
/retest-required
|
/retest |
|
000f683 to
74a508a
Compare
|
@yapei thank you for review. Added resync every 10minutes 👍 |
TheRealJon
left a comment
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.
/lgtm
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jhadvig, Leo6Leo, TheRealJon 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 |
|
@jhadvig: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions 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. I understand the commands that are listed here. |
|
/verified by @yapei |
|
@yapei: This PR has been marked as verified by DetailsIn 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 openshift-eng/jira-lifecycle-plugin repository. |
|
@jhadvig: Jira Issue Verification Checks: Jira Issue OCPBUGS-65880 Jira Issue OCPBUGS-65880 has been moved to the MODIFIED state and will move to the VERIFIED state when the change is available in an accepted nightly payload. 🕓 DetailsIn 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 openshift-eng/jira-lifecycle-plugin repository. |
|
/cherry-pick release-4.20 |
|
@Leo6Leo: new pull request created: #1085 DetailsIn 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-sigs/prow repository. |
Per bug, we havent been reseting the StorageVersionMigrationDegraded condition when the degradation cause got fixed.
Due to that Ive created a
syncStorageVersionMigrationmethod to perform all the SVM related actions and return appropriate reason and error which will be used to set/unset the condition and flush./assign @TheRealJon