CephFS driver needs to report allocated capacity of a filesystem when MultiFS is enabled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Shared File Systems Service (Manila) |
In Progress
|
Medium
|
Carlos Eduardo |
Bug Description
Ceph supports multiple cephfs filesystems since the Pacific release [1][2]. This functionality allows configuring separate file systems with full data separation on separate pools. Alongside data separation, each filesystem has its own metadata pools as well as metadata server/s. OpenStack Manila users benefit from this level of isolation by mapping an isolated filesystem to a separate backend. This means that you could have multiple backends configured in Manila provisioning onto the same ceph cluster, but each within its own CephFS filesystem.
The CephFS driver permits this by the use of a configuration option: ``cephfs_
There are a couple of deficiencies of this approach:
(1) If the request doesn't specify any backend specific characteristic, the scheduler may end up favoring one backend (the "first" backend in a list compiled within the scheduler) all the time. This is because there's nothing differentiating the backends as far as the basic characteristics go - the capacity information is for the whole cluster. It'd be nice if the backend starts reporting allocated_
(2) When the filesystem isn't called "cephfs", users/automation software will need to specify the filesystem name when mounting subvolumes (manila shares). This issue was discussed at the Oct 2023 (Caracal) PTG [4]. One solution was for the driver to set the filesystem name as the share's metadata so users and automation tools can view this information. This issue is reported as a separate RFE: https:/
[1] https:/
[2] https:/
[3] https:/
[4] https:/
description: | updated |
Changed in manila: | |
assignee: | nobody → Goutham Pacha Ravi (gouthamr) |
summary: |
- [RFE] Issues when using multiple CephFS filesystems from the same ceph - cluster + CephFS driver needs to report allocated capacity of a filesystem when + MultiFS is enabled |
description: | updated |
Changed in manila: | |
milestone: | none → caracal-3 |
Changed in manila: | |
milestone: | caracal-3 → caracal-rc1 |
assignee: | Goutham Pacha Ravi (gouthamr) → Carlos Eduardo (silvacarlose) |
importance: | Undecided → Medium |
Changed in manila: | |
milestone: | caracal-rc1 → dalmation-1 |
Fix proposed to branch: master /review. opendev. org/c/openstack /manila/ +/905986
Review: https:/