OCPBUGS-92832: Fix test 60835 cascading failures by adding thinPoolConfig to vg2#2767
OCPBUGS-92832: Fix test 60835 cascading failures by adding thinPoolConfig to vg2#2767kasturinarra wants to merge 1 commit into
Conversation
The createWithMultiDeviceClasses() function creates an LVMCluster with two device classes but omits thinPoolConfig on the second one (vg2). On release-4.14 thinPoolConfig is a required field, so the webhook rejects the create. Because test 60835 is Disruptive and deletes the original LVMCluster first, the failed create leaves no LVMCluster, causing all subsequent tests to skip with "LVMS Operator is not installed." Add thinPoolConfig with thin-pool-2 to the vg2 device class, matching the template used in openshift-tests-private for the same test. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository: openshift/coderabbit/.coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
@kasturinarra: This pull request references Jira Issue OCPBUGS-92832, 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. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: kasturinarra The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## release-4.14 #2767 +/- ##
=============================================
Coverage 17.22% 17.22%
=============================================
Files 24 24
Lines 2108 2108
=============================================
Hits 363 363
Misses 1718 1718
Partials 27 27 🚀 New features to boost your workflow:
|
|
/test nightly-images |
|
@kasturinarra: 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. |
Summary
createWithMultiDeviceClasses) creates an LVMCluster with two device classes but omitsthinPoolConfigon vg2thinPoolConfigis a required field (+kubebuilder:validation:Required), so the webhook rejects the create with:spec.storage.deviceClasses[1].thinPoolConfig: Required value[Disruptive]and deletes the original LVMCluster first, the failed create leaves no LVMCluster on the cluster, causing all subsequent tests to skip with "LVMS Operator is not installed"thinPoolConfigwiththin-pool-2to the vg2 device class, matching the template used inopenshift-tests-private(lvmcluster-with-multi-thinpool-template.yaml) for the same testRoot Cause
main/4.16+,thinPoolConfigis+optional(thick provisioning is supported)release-4.14, it is+required— the test was written for the newer API but the manifest is invalid on 4.14Test plan
lvms-vg1,lvms-vg2) are created successfully🤖 Generated with Claude Code