Bug 2137436

Summary: [RFE] manila access rules support
Product: Red Hat OpenStack Reporter: Goutham Pacha Ravi <gouthamr>
Component: python-openstacksdkAssignee: Goutham Pacha Ravi <gouthamr>
Status: CLOSED MIGRATED QA Contact: Nobody <nobody>
Severity: medium Docs Contact:
Priority: medium    
Version: 18.0 (Zed)CC: apevec, gfidente, jjoyce, jschluet, lhh, vimartin
Target Milestone: ---Keywords: FutureFeature, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-09-22 10:30:34 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Goutham Pacha Ravi 2022-10-24 22:09:19 UTC
Description of problem:

OpenStackSDK covers a good portion of service APIs to provision and manage the lifecycle of many OpenStack resources. Manila APIs to add/remove access rules to shares aren't supported at the moment. Adding these would allow services like Nova  to not rely on the "manilaclient" SDK. 

Version-Release number of selected component (if applicable): 18

Manila modules in OpenStackSDK: https://github.com/openstack/openstacksdk/tree/master/openstack/shared_file_system


Access Rules APIs in Manila's API reference: 

"Allow Access": https://docs.openstack.org/api-ref/shared-file-system/?expanded=grant-access-detail#grant-access

"Deny Access": https://docs.openstack.org/api-ref/shared-file-system/?expanded=revoke-access-detail#revoke-access

"List Access Rules": https://docs.openstack.org/api-ref/shared-file-system/?expanded=list-share-access-rules-detail#list-share-access-rules

"Show Access Rule": https://docs.openstack.org/api-ref/shared-file-system/?expanded=describe-share-access-rule-detail#describe-share-access-rule