Fix Node Driver Crash Caused by Auto-Select Protocol#421
Conversation
|
@rishabhatdell @sakshi-garg1 , have we documented it properly in csm-doc that what is the priority order in case of Auto mode selection? If yes, please share the link of that section, would like to review that section to make sure that doc aligns with the code logic written here. |
|
Please update the copyright year as well for all files that are being modified in this PR. |
Added: dell/csm-docs#1450 |
7c1b176
|
@sakshi-garg1 @rishabhatdell : Multiple checks are failing now, after the UT PR merge. Please check and update this PR. |
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 the issue of the node pod crashing when the X_CSI_TRANSPORT_PROTOCOL is empty in the powermax-array-config. The fix ensures that when the protocol is unspecified, the driver will prioritize available protocols in the following order:
The driver will automatically select the first available and working protocol from this list, establishing a connection based on these preferences.
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