Skip to content

Conversation

@WilsonRadadia20
Copy link
Contributor

Description

This PR addresses an issue where NVMe volumes were not being re-attached to node after the pods consuming them were deleted. The root cause was the CSI driver removing the device symlink under /dev/disk/by-id during the NodeUnstageVolume operation.
With this fix, the driver ensures that the device symlink for NVMe volumes is preserved during NodeUnstageVolume, allowing proper reattachment when a new pod is scheduled.

GitHub Issues

List the GitHub issues impacted by this PR:

GitHub Issue #
dell/csm#1957

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

  • Ran OCP e2e with NVMe/TCP configuration

@github-actions
Copy link
Contributor

Merging this branch will not change overall coverage

Impacted Packages Coverage Δ 🤖
github.com/dell/csi-powermax/service 0.00% (ø)

Coverage by file

Changed files (no unit tests)

Changed File Coverage Δ Total Covered Missed 🤖
github.com/dell/csi-powermax/service/node.go 0.00% (ø) 0 0 0

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.

@AkshaySainiDell AkshaySainiDell merged commit b513d5a into main Jul 25, 2025
6 checks passed
@AkshaySainiDell AkshaySainiDell deleted the fix-nvme branch July 25, 2025 11:25
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.

5 participants