-
Notifications
You must be signed in to change notification settings - Fork 40
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
OCPBUGS-10534: Refactor status reporting logic to send updates more often #339
OCPBUGS-10534: Refactor status reporting logic to send updates more often #339
Conversation
Skipping CI for Draft Pull Request. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: suleymanakbas91 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
8561b86
to
2529f3b
Compare
/test all |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #339 +/- ##
==========================================
- Coverage 57.10% 54.58% -2.53%
==========================================
Files 21 23 +2
Lines 1844 1920 +76
==========================================
- Hits 1053 1048 -5
- Misses 714 794 +80
- Partials 77 78 +1
|
@codecov-commenter: user codecov-commenter is not trusted for pull request #339 |
18d3a42
to
5207396
Compare
9d0d872
to
9d94235
Compare
@suleymanakbas91: This pull request references Jira Issue OCPBUGS-10534, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
Requesting review from QA contact: 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. |
@suleymanakbas91: This pull request references Jira Issue OCPBUGS-10534, which is valid. 3 validation(s) were run on this bug
Requesting review from QA contact: 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. |
a7b0ce6
to
3bea6da
Compare
/retest |
/lgtm |
/unhold |
/lgtm |
Signed-off-by: Suleyman Akbas <[email protected]>
/lgtm |
/retest |
@suleymanakbas91: all tests passed! Full PR test history. Your PR dashboard. 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. I understand the commands that are listed here. |
@suleymanakbas91: Jira Issue OCPBUGS-10534: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-10534 has been moved to the MODIFIED state. 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. |
This PR refactors status reporting logic to send updates more often.
api/v1alpha1/lvmvolumegroupnodestatus_types.go
: Adds a newProgressing
status to volume groups.cmd/vgmanager/main.go
: Minor fixes and cleanup.controllers/lvmcluster_controller.go
: Modifies LVMCluster to reportReady
only when all the volume groups are ready.pkg/vgmanager/devices.go
: Moves finding available devices logic into a separate file.pkg/vgmanager/devices_test.go
: Adds a unit test.pkg/vgmanager/status.go
: Implements functions for volume group status calculation and setting.pkg/vgmanager/vgmanager_controller.go
: Adds status updates for each failure and success.