Project

General

Profile

Actions

Feature #45289

closed

mgr/volumes: create fs subvolumes with isolated RADOS namespaces

Added by Ramana Raja about 4 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority:
High
Category:
-
Target version:
% Done:

0%

Source:
Development
Tags:
Backport:
octopus,nautilus
Reviewed:
Affected Versions:
Component(FS):
mgr/volumes
Labels (FS):
Manila
Pull request ID:

Description

Add an option to `fs subvolume create` command to allow subvolumes to be created in unique RADOS namespaces.

The create_subvol() method already has a parameter `isolate_nspace` that can be set to True to set a RADOS namespace for a subvolume, but the parameter is now always set to False. Make it configurable based on user input.
https://github.com/ceph/ceph/blob/master/src/pybind/mgr/volumes/fs/volume.py#L122

And it'd be useful to display the RADOS namespace of the subvolume in `fs subvolume info`.

use-case:
This is required by manila's CephFS driver that creates subvolumes/shares in unique RADOS namespaces.


Related issues 2 (0 open2 closed)

Copied to CephFS - Backport #45849: octopus: mgr/volumes: create fs subvolumes with isolated RADOS namespacesResolvedKotresh Hiremath RavishankarActions
Copied to CephFS - Backport #45850: nautilus: mgr/volumes: create fs subvolumes with isolated RADOS namespacesResolvedKotresh Hiremath RavishankarActions
Actions

Also available in: Atom PDF