-
Notifications
You must be signed in to change notification settings - Fork 20
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
Publish LIST_VOLUMES capability #381
Conversation
@@ -1131,6 +1131,7 @@ func (s *Service) ControllerGetCapabilities(_ context.Context, _ *csi.Controller | |||
if s.isHealthMonitorEnabled { | |||
for _, capability := range []csi.ControllerServiceCapability_RPC_Type{ | |||
csi.ControllerServiceCapability_RPC_GET_VOLUME, | |||
csi.ControllerServiceCapability_RPC_LIST_VOLUMES, | |||
csi.ControllerServiceCapability_RPC_LIST_VOLUMES_PUBLISHED_NODES, | |||
csi.ControllerServiceCapability_RPC_VOLUME_CONDITION, | |||
} { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see that ListSnapshots() returns snapshots of both block volumes and file systems, while ListVolumes() return only volumes. Should this call include file systems as well?
@AkshaySainiDell @adarsh-dell
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After clarification with @adarsh-dell it looks like it should return file systems as well. But this is out of scope of this defect. As discussed with @alikdell just this particular capability needs to be published for now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, please add what is missing at krv-18102
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another PR was merged that has 90% code coverage. Workflow action in this PR has also passed. Please update the PR description (make test) part.
Description
Fixes #1709 and adds LIST_VOLUMES capability to be published by the controller
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