Bug 1767084

Summary: Implement ceph-mgr interface in the CephFS driver
Product: Red Hat OpenStack Reporter: Goutham Pacha Ravi <gouthamr>
Component: openstack-manilaAssignee: Victoria Martinez de la Cruz <vimartin>
Status: CLOSED ERRATA QA Contact: vhariria
Severity: urgent Docs Contact: RHOS Documentation Team <rhos-docs>
Priority: urgent    
Version: 17.0 (Wallaby)CC: astillma, gcharot, gfidente, gouthamr, jamsmith, rheslop, spower, vhariria
Target Milestone: AlphaKeywords: Triaged
Target Release: 17.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-manila-12.1.1-0.20220204174037.e1e9670 Doc Type: Release Note
Doc Text:
With this update, the CephFS drivers in the OpenStack Shared File Systems service (manila) are updated so that you can manage provisioning and storage lifecycle operations by using the Ceph Manager API. When you create new file shares, the shares are created in a new format that is quicker for creating, deleting and operations. This transition does not affect pre-existing file shares.
Story Points: ---
Clone Of:
: 1973456 (view as bug list) Environment:
Last Closed: 2022-09-21 12:07:58 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: 1699454, 1973356, 1973373, 1973456    

Description Goutham Pacha Ravi 2019-10-30 16:23:28 UTC
Description of problem:

The CephFS driver currently uses the Ceph-volume client [1][2]. ceph-mgr [3] is the new supported interface to Ceph recommended by the ceph storage team and currently used by the ceph-csi driver [4].

To implement future features in manila (create share from snapshot, manage-unmanage), it makes sense to rely on the ceph-manager instead of the ceph-volume client. 

From [3], 
"Since the 12.x (luminous) Ceph release, the ceph-mgr daemon is required for normal operations. The ceph-mgr daemon is an optional component in the 11.x (kraken) Ceph release."



[1] https://github.com/ceph/ceph/tree/v15.0.0/src/ceph-volume
[2] https://opendev.org/openstack/manila/src/commit/de89e124891e7a1e4709cfb91ec701554a716906/manila/share/drivers/cephfs/driver.py#L36-L41
[3] https://docs.ceph.com/docs/master/mgr/
[4] https://github.com/ceph/ceph-csi

Version-Release number of selected component (if applicable): 16 (z stream)

Comment 4 Chuck Copello 2020-06-30 13:19:11 UTC
Changed Doc Contact to default email list.

Comment 14 errata-xmlrpc 2022-09-21 12:07:58 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.0 (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-2022:6543