[release-4.22] OCPBUGS-83542: Mark raw FC/iSCSI multipath members as ineligible#10150
Conversation
This reverts merge commit a63f435 (PR openshift#10091). The GetPreferredDiskID approach is bypassed by the "already matches" short-circuit in applyRootDeviceHints: if the service auto-selected a raw FC/iSCSI path and it appears in the acceptable list, the code returns early without ever calling GetPreferredDiskID. The correct fix is to mark raw FC/iSCSI multipath members as ineligible at the validator level (next commit).
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 |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: openshift-cherrypick-robot 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 |
|
@openshift-cherrypick-robot: Jira Issue OCPBUGS-79576 has been cloned as Jira Issue OCPBUGS-83542. Will retitle bug to link to clone. 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. |
|
@openshift-cherrypick-robot: This pull request references Jira Issue OCPBUGS-83542, 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. |
|
@openshift-cherrypick-robot: 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 |
|
/jira refresh |
|
@yoavsc0302: This pull request references Jira Issue OCPBUGS-83542, which is invalid:
Comment 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. |
|
/jira refresh |
|
@yoavsc0302: This pull request references Jira Issue OCPBUGS-83542, which is valid. The bug has been moved to the POST state. 7 validation(s) were run on this bug
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. |
This is an automated cherry-pick of #10142
/assign yoavsc0302
/cherrypick release-4.21 release-4.20