Project

General

Profile

Feature #45289

mgr/volumes: create fs subvolumes with isolated RADOS namespaces

Added by Ramana Raja 9 months ago. Updated 7 months 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

Copied to CephFS - Backport #45849: octopus: mgr/volumes: create fs subvolumes with isolated RADOS namespaces Resolved
Copied to CephFS - Backport #45850: nautilus: mgr/volumes: create fs subvolumes with isolated RADOS namespaces Resolved

History

#1 Updated by Ramana Raja 9 months ago

  • Subject changed from mgr/volumes: allow creating fs subvolumes in isolated RADOS namespaces to mgr/volumes: create fs subvolumes with isolated RADOS namespaces

#2 Updated by Ramana Raja 9 months ago

  • Description updated (diff)

#3 Updated by Kotresh Hiremath Ravishankar 9 months ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 34776

#4 Updated by Patrick Donnelly 9 months ago

  • Target version set to v16.0.0
  • Source set to Development
  • Backport set to octopus,nautilus

#5 Updated by Patrick Donnelly 8 months ago

  • Status changed from Fix Under Review to Pending Backport

#6 Updated by Nathan Cutler 8 months ago

  • Copied to Backport #45849: octopus: mgr/volumes: create fs subvolumes with isolated RADOS namespaces added

#7 Updated by Nathan Cutler 8 months ago

  • Copied to Backport #45850: nautilus: mgr/volumes: create fs subvolumes with isolated RADOS namespaces added

#8 Updated by Nathan Cutler 7 months ago

  • Status changed from Pending Backport to Resolved

While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".

Also available in: Atom PDF