Update CephFS Native/NFS Ganesha drivers to use ceph-mgr
We want the driver to use the ceph-mgr 'volumes' module to dynamically
provision shares, share-groups, snapshots, and control access to the
shares.
Currently, the driver uses the soon-to-
Ceph-mgr volume's module is the single source of truth for
managing CephFS exports from Ceph nautilus onwards (14.2.x).
The CephFS native driver would use the ceph CLI to talk to the Ceph
manager daemon. The ceph-mgr daemon would load the 'volumes' module.
The 'volumes' module would allow the native driver to manage FS
subvolumes (previously called 'volumes' in the ceph_volume_client)
across FS volumes (also called filesytems), and inherently support
features such as asynchronous purging of FS subvolumes.
The ceph-mgr volumes has implemented many of the interfaces needed by
the native driver. The following interfaces provided by
ceph_volume_client aren't implemented in ceph-mgr volumes module,
* authorize/
* fetch the list of auth IDs that have access to a FS subvolume
* evict clients
* get used bytes of a FS subvolume (manila share)
* fetch used and unused capacity of a FS volume (backend Ceph filesytem)
* fetch monitor addresses
Blueprint information
- Status:
- Started
- Approver:
- Goutham Pacha Ravi
- Priority:
- Medium
- Drafter:
- Victoria Martinez de la Cruz
- Direction:
- Approved
- Assignee:
- Victoria Martinez de la Cruz
- Definition:
- Approved
- Series goal:
- Accepted for wallaby
- Implementation:
-
Started
- Milestone target:
-
wallaby-3
- Started by
- Goutham Pacha Ravi on 2020-04-10
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Create wrapper client for ceph clients
Addressed by: https:/
Add Ceph support statement
Addressed by: https:/
Enable cephfs snapshots
Addressed by: https:/
Enable snapshot tests in the CephFS job
Addressed by: https:/
TrivialFix: Correct cephfs support release note
Addressed by: https:/
[WIP] Update create share to use ceph-mgr client