Bug 2008969

Summary: [TestOnly] Support for manage/unmanage for manila shares (DHSS=True/False)
Product: Red Hat OpenStack Reporter: Goutham Pacha Ravi <gouthamr>
Component: openstack-manilaAssignee: Goutham Pacha Ravi <gouthamr>
Status: CLOSED ERRATA QA Contact: vhariria
Severity: medium Docs Contact:
Priority: high    
Version: 17.0 (Wallaby)CC: cardasil, gcharot, jelynch, mariel, vhariria
Target Milestone: betaKeywords: FutureFeature, TestOnly, Triaged
Target Release: 17.1   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: openstack-manila-12.1.3-1.20221102150724.e8cbdb7 Doc Type: Enhancement
Doc Text:
With this update, cloud administrators can bring shares that are created outside the Shared File Systems service (manila) under the management of the Shared file Systems service. Cloud administrators can also remove shares from the Shared File Systems service without deleting them. Note that the CephFS driver does not support this feature. You can use this manage/unmanage functionality when commissioning, decommissioning, or migrating storage systems, or to take shares offline temporarily for maintenance.
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-08-16 01:10:52 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:
Bug Depends On:    
Bug Blocks: 1839235    

Description Goutham Pacha Ravi 2021-09-29 15:22:26 UTC
Description of problem:

Manila has support for bringing shares under manila management and taking shares out of manila management: 

https://docs.openstack.org/manila/latest/admin/shared-file-systems-manage-and-unmanage-share.html
https://docs.openstack.org/api-ref/shared-file-system/#manage-share-since-api-v2-7
https://docs.openstack.org/api-ref/shared-file-system/#unmanage-share-since-api-v2-7

This has been supported for a long time in Manila. Support for this feature with DHSS=False 

https://docs.openstack.org/manila/latest/admin/share_back_ends_feature_support_mapping.html#mapping-of-share-drivers-and-share-features-support

Support for DHSS=True manage/unmanage was added with API version 2.49: https://docs.openstack.org/manila/latest/contributor/api_microversion_history.html#maximum-in-stein

Comment 2 Gregory Charot 2022-08-24 15:39:19 UTC
Feature is already available in upstream Wallaby, moving to POST

Comment 19 errata-xmlrpc 2023-08-16 01:10:52 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Release of components for Red Hat OpenStack Platform 17.1 (Wallaby)), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2023:4577