Skip to content
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-667: fix: allow no default deviceClass to be set #396

Merged

Conversation

jakobmoellerdev
Copy link
Contributor

@jakobmoellerdev jakobmoellerdev commented Aug 24, 2023

This allows no default deviceClass to be present. Since this is a change from previous validation it now includes a warning if no default is set: "no default deviceClass was specified, it will be mandatory to specify the storage class"

TODO:

  • Test case using no default deviceClass that succeeds in e2e tests

@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Aug 24, 2023
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 24, 2023

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@jakobmoellerdev
Copy link
Contributor Author

/test all

@openshift-ci openshift-ci bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Aug 24, 2023
@codecov-commenter
Copy link

codecov-commenter commented Aug 24, 2023

Codecov Report

Merging #396 (efc5dbe) into main (a962b90) will increase coverage by 41.65%.
Report is 49 commits behind head on main.
The diff coverage is 50.54%.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##             main     #396       +/-   ##
===========================================
+ Coverage   16.59%   58.24%   +41.65%     
===========================================
  Files          24       26        +2     
  Lines        2061     2182      +121     
===========================================
+ Hits          342     1271      +929     
+ Misses       1693      817      -876     
- Partials       26       94       +68     
Files Changed Coverage Δ
api/v1alpha1/lvmcluster_webhook.go 0.00% <0.00%> (ø)
controllers/lvmcluster_controller_watches.go 90.00% <ø> (+90.00%) ⬆️
pkg/vgmanager/lvm.go 52.03% <ø> (+4.06%) ⬆️
controllers/scc.go 10.41% <25.00%> (+10.41%) ⬆️
pkg/vgmanager/vgmanager_controller.go 11.76% <28.07%> (+11.76%) ⬆️
controllers/topolvm_node.go 93.05% <33.33%> (+93.05%) ⬆️
controllers/utils.go 45.09% <34.61%> (+5.09%) ⬆️
controllers/topolvm_snapshotclass.go 71.42% <37.50%> (+71.42%) ⬆️
controllers/vgmanager.go 76.08% <40.00%> (+37.78%) ⬆️
controllers/lvm_volumegroup.go 78.57% <50.00%> (+78.57%) ⬆️
... and 9 more

... and 1 file with indirect coverage changes

@jakobmoellerdev jakobmoellerdev changed the title fix: allow no default deviceClass to be set OCPVE-667: fix: allow no default deviceClass to be set Aug 29, 2023
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Aug 29, 2023
@openshift-ci-robot
Copy link

openshift-ci-robot commented Aug 29, 2023

@jakobmoellerdev: This pull request references OCPVE-667 which is a valid jira issue.

In response to this:

This allows no default deviceClass to be present. Since this is a change from previous validation it now includes a warning if no default is set: "no default deviceClass was specified, it will be mandatory to specify the storage class"

TODO:

  • Test case using no default deviceClass that succeeds in e2e tests

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.

@openshift-ci openshift-ci bot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Aug 29, 2023
@openshift-ci-robot
Copy link

openshift-ci-robot commented Aug 29, 2023

@jakobmoellerdev: This pull request references OCPVE-667 which is a valid jira issue.

In response to this:

This allows no default deviceClass to be present. Since this is a change from previous validation it now includes a warning if no default is set: "no default deviceClass was specified, it will be mandatory to specify the storage class"

TODO:

  • Test case using no default deviceClass that succeeds in e2e tests

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 jakobmoellerdev marked this pull request as ready for review August 29, 2023 10:09
@openshift-ci openshift-ci bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Aug 29, 2023
@jakobmoellerdev
Copy link
Contributor Author

/test lvm-operator-e2e-aws-sno

1 similar comment
@jakobmoellerdev
Copy link
Contributor Author

/test lvm-operator-e2e-aws-sno

This allows no default deviceClass to be present. Since this is a change from previous validation it now includes a warning if no default is set: "no default deviceClass was specified, it will be mandatory to specify the storage class"
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 29, 2023

@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.

@suleymanakbas91
Copy link
Contributor

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Aug 30, 2023
@suleymanakbas91
Copy link
Contributor

/approve

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 30, 2023

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 30, 2023
@openshift-merge-robot openshift-merge-robot merged commit 135573f into openshift:main Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants