Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Node Driver Crash Caused by Auto-Select Protocol #421

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

sakshi-garg1
Copy link
Contributor

@sakshi-garg1 sakshi-garg1 commented Jan 27, 2025

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:

  • NVMe/TCP
  • FC
  • iSCSI

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:

GitHub Issue #
dell/csm#1689
dell/csm#1725

Checklist:

  • Have you run format,vet & lint checks against your submission?
  • Have you made sure that the code compiles?
  • Did you run the unit & integration tests successfully?
  • Have you maintained at least 90% code coverage?
  • Have you commented your code, particularly in hard-to-understand areas
  • Have you done corresponding changes to the documentation
  • Did you run tests in a real Kubernetes cluster?
  • Backward compatibility is not broken

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

  • X_CSI_TRANSPORT_PROTOCOL empty with NVMe/TCP configured/ driver installed and running successfully + cert-csi
  • X_CSI_TRANSPORT_PROTOCOL empty with FC configured/ driver installed and running successfully + cert-csi
  • X_CSI_TRANSPORT_PROTOCOL empty with iSCSI configured/ driver installed and running successfully + cert-csi

@rishabhatdell rishabhatdell changed the title [WIP] fix_1689_auto_transport_protocol Fix Node Driver Crash Caused by Auto-Select Protocol Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants