-
Notifications
You must be signed in to change notification settings - Fork 37
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
OCPVE-665: feat: report filter status into vgstatus #426
OCPVE-665: feat: report filter status into vgstatus #426
Conversation
@jakobmoellerdev: This pull request references OCPVE-665 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.15.0" version, but no target version was set. 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. |
Skipping CI for Draft Pull Request. |
@jakobmoellerdev: This pull request references OCPVE-665 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.15.0" version, but no target version was set. 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. |
@jakobmoellerdev: This pull request references OCPVE-665 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.15.0" version, but no target version was set. 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. |
/test all |
bfbc6b5
to
b5572c9
Compare
/test all |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #426 +/- ##
==========================================
- Coverage 63.68% 59.88% -3.81%
==========================================
Files 28 29 +1
Lines 2360 2413 +53
==========================================
- Hits 1503 1445 -58
- Misses 709 821 +112
+ Partials 148 147 -1
|
b5572c9
to
3cc0553
Compare
/test all |
3cc0553
to
ef18102
Compare
@jakobmoellerdev: This pull request references OCPVE-665 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.15.0" version, but no target version was set. 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. |
/test all |
ef18102
to
0781db1
Compare
/test all |
@jakobmoellerdev: This pull request references OCPVE-665 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.15.0" version, but no target version was set. 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. |
/retest-required |
2 similar comments
/retest-required |
/retest-required |
General first impressions (I still need to dig in more): I don't love some of the formatting.
|
Mostly nits and wording/grammar changes. Nice work! |
f2b5763
to
9eb69f3
Compare
/test ci-index-lvm-operator-bundle |
/retest-required |
2 similar comments
/retest-required |
/retest-required |
9eb69f3
to
27b533a
Compare
/test unit-test |
11eeb03
to
a269bff
Compare
@jakobmoellerdev: This pull request references OCPVE-665 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.15.0" version, but it targets "openshift-4.15" instead. 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. |
/test all |
2 similar comments
/test all |
/test all |
05771ca
to
e9ba448
Compare
e9ba448
to
0d2f747
Compare
0d2f747
to
43b36fb
Compare
@jakobmoellerdev: This pull request references OCPVE-665 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.15.0" version, but it targets "openshift-4.15" instead. 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. |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jakobmoellerdev, 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 |
@jakobmoellerdev: 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. |
This adds the field
.excluded
to the LVMVolumeGroupNodeStatus. This allows not only to introspect all currently active filters on the VolumeGroup's deviceCandidates, but will also contain a list of all devices that are filtered out by the FilterName in case of unavailable devices.It simplifies the filter to only return error instead of bool,error as it did not make any difference in the code path.
It also make sure that if there are available devices, the status is set to Progressing so that the LVMCluster does not jump from Initial to Failed state without showing Progress.
It also moves the duplicate device selector path check into a webhook for LVMVolumeGroup instead of being checked every reconcile in vgmanager.
To make the tests in vgmanager more stable I switched from envtest to fakeclient in the vgmanager test. That means we now have a much faster test execution and also dont have the issues of panics in the mock causing bail-out in ginkgo
The output of an LVMCluster started on a CRC node for example gets changed to the following: