Filter SCSI FC ports during PG creation#510
Conversation
|
Issue are seen where we have mix of protcols. Can you describe how that scenario being tested here. Your test description do not explicitly list that scenario. |
Correct, the issue is observed when at least one initiator is logged into an NVMe/FC port. This fix adds another check to filter only the ISCSI_FC ports and proceed with PortGroup selection/creation process. The fix was validated on FC environment, after deleting the masking view, storage group and port group from UI (this step ensures that we enter the PG selection/creation process) and then running cert-csi scale test. |
Merging this branch will not change overall coverage
Coverage by fileChanged files (no unit tests)
Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code. |
Description
This PR addresses an issue where the PowerMax CSI driver attempts to create port groups containing both Fibre Channel (FC) and NVMe/FC ports, leading to failures due to protocol mismatches. The driver now excludes NVMe/FC ports when creating port groups, preventing protocol mismatch issues and ensuring smooth operation.
GitHub Issues
List the GitHub issues impacted by this PR:
Checklist:
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Please also list any relevant details for your test configuration