Skip to content

CSI-PowerMax driver incorrectly labelling nodes for nfs protocol#97

Merged
bpjain2004 merged 2 commits into
mainfrom
usr/bjain/nfs-lables
Jun 23, 2025
Merged

CSI-PowerMax driver incorrectly labelling nodes for nfs protocol#97
bpjain2004 merged 2 commits into
mainfrom
usr/bjain/nfs-lables

Conversation

@bpjain2004

@bpjain2004 bpjain2004 commented Jun 19, 2025

Copy link
Copy Markdown
Contributor

Description

Added methods to provide the details of the NFS servers. These are consumed by the csi-powermax driver, NodeGetInfo() to check if the array in question has the NFS configured in it, and accordingly set the topology keys/labels for the node objects.

Corresponding csi-powermax PR: dell/csi-powermax#550

GitHub Issues

GitHub Issue #
https://github.com/dell/csm/issues/1808

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
  • Did you run tests in a real Kubernetes cluster?
  • Have you maintained at least 90% code coverage?

How Has This Been Tested?

New unit tests are added and all the existing unit tests are executed with any failures.
Deployed the csi-powermax driver with these changes and driver able to query the NFS details using the new methods.

@github-actions

Copy link
Copy Markdown
Contributor

Merging this branch will not change overall coverage

Impacted Packages Coverage Δ 🤖
github.com/dell/gopowermax 0.00% (ø)
github.com/dell/gopowermax/mock 0.00% (ø)
github.com/dell/gopowermax/types/v100 0.00% (ø)

Coverage by file

Changed files (no unit tests)

Changed File Coverage Δ Total Covered Missed 🤖
github.com/dell/gopowermax/file.go 0.00% (ø) 0 0 0
github.com/dell/gopowermax/interface.go 0.00% (ø) 0 0 0
github.com/dell/gopowermax/mock/mock.go 0.00% (ø) 0 0 0
github.com/dell/gopowermax/types/v100/file.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.

Changed unit test files

  • github.com/dell/gopowermax/unit_steps_test.go

@bpjain2004 bpjain2004 changed the title [DRAFT] ECS01C-246: CSI-PowerMax driver incorrectly labelling nodes for nfs protocol [DRAFT] CSI-PowerMax driver incorrectly labelling nodes for nfs protocol Jun 20, 2025
@bpjain2004 bpjain2004 changed the title [DRAFT] CSI-PowerMax driver incorrectly labelling nodes for nfs protocol CSI-PowerMax driver incorrectly labelling nodes for nfs protocol Jun 20, 2025
@bpjain2004 bpjain2004 merged commit 428c02f into main Jun 23, 2025
6 checks passed
@bpjain2004 bpjain2004 deleted the usr/bjain/nfs-lables branch June 23, 2025 08:47
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.

4 participants