OCPBUGS-81880: Mark raw FC/iSCSI multipath members as ineligible#10149
OCPBUGS-81880: Mark raw FC/iSCSI multipath members as ineligible#10149yoavsc0302 wants to merge 2 commits intoopenshift:release-4.20from
Conversation
This reverts commit 0135880.
Raw FC and iSCSI disks that are members of a multipath device are not eligible for installation. Writing to a raw path instead of the multipath device causes installation failure (ENODEV) when multipathd reclaims the disk. Mark these disks as ineligible at the validator level so they are excluded from all disk selection paths (SaaS, ZTP, ABI) and show as ineligible in the UI.
|
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: Pro Plus 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 |
|
@yoavsc0302: This pull request references Jira Issue OCPBUGS-81880, 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 APPROVED This pull-request has been approved by: yoavsc0302 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 |
|
@yoavsc0302: 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. |
|
/lgtm |
Manual cherry-pick of #10142 to release-4.20, Two commits:
Revert PR OCPBUGS-81880: Prefer multipath disk in ABI disk selection #10111 — The
GetPreferredDiskIDapproach is bypassed by the "already matches" early return inapplyRootDeviceHints(): if Phase 1 auto-selects a raw FC/iSCSI path and it appears in the acceptable disk list,the function returns before
GetPreferredDiskIDis ever called. Confirmed on s390x FC multipath hardware.Mark raw FC/iSCSI multipath members as ineligible — Raw FC and iSCSI disks that are members of a multipath
device are now marked as ineligible at the validator level. Writing to a raw path instead of the multipath device
causes installation failure (ENODEV) when multipathd reclaims the disk. By making them ineligible at the source,
they are filtered out from all disk selection paths (SaaS, ZTP, ABI), no bypass is possible, and they show as
ineligible in the UI with a clear reason.
List all the issues related to this PR
What environments does this code impact?
How was this code tested?
Checklist
docs, README, etc)Reviewers Checklist