Project

General

Profile

Actions

Feature #69878

closed
RD RD

mgr/vol: allow passing pool names to "fs volume create" cmd

Feature #69878: mgr/vol: allow passing pool names to "fs volume create" cmd

Added by Rishabh Dave almost 2 years ago. Updated 3 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Administration/Usability
Target version:
Due date:
% Done:

0%

Source:
Development
Backport:
reef,squid
Reviewed:
Affected Versions:
Component(FS):
mgr/volumes
Labels (FS):
Pull request ID:
Tags (freeform):
Fixed In:
v20.0.0-666-g6fc1a6dd92
Released In:
v20.2.0~792
Upkeep Timestamp:
2026-08-27T18:16:30+00:00

Description

Allow passing metadata pool name and data pool name to the command ceph fs volume create, so that the users can use already created pools for creating FS/volume using it.


Related issues 3 (0 open — 3 closed)

Related to CephFS - Bug #70945: mgr/vol: volume create cmd deletes user-created pool if one of the pool passed is absentResolvedRishabh Dave

Actions
Copied to CephFS - Backport #70605: reef: mgr/vol: allow passing pool names to "fs volume create" cmdResolvedRishabh Dave

Actions
Copied to CephFS - Backport #70606: squid: mgr/vol: allow passing pool names to "fs volume create" cmdResolvedRishabh Dave

Actions

RD Updated by Rishabh Dave almost 2 years ago · Edited Actions #1

vshankar The Jira ticket mentions that these options should be added to command @fs subvolumegroup create as well as fs subvolume create. Any thoughts on this? It doesn't make sense to me since these commands can't create a new FS using pool names obtained through arguments.

RD Updated by Rishabh Dave almost 2 years ago Actions #2

  • Pull request ID set to 61732

VS Updated by Venky Shankar almost 2 years ago Actions #3

Rishabh Dave wrote in #note-1:

vshankar The Jira ticket mentions that these options should be added to command @fs subvolumegroup create as well as fs subvolume create. Any thoughts on this? It doesn't make sense to me since these commands can't create a new FS using pool names obtained through arguments.

I left some comments on the downstream ticket which I think needs to be answered before proceeding with such a change.

RD Updated by Rishabh Dave almost 2 years ago · Edited Actions #4

  • Status changed from New to Fix Under Review

Rishabh Dave wrote in #note-1:

vshankar The Jira ticket mentions that these options should be added to command @fs subvolumegroup create as well as fs subvolume create. Any thoughts on this? It doesn't make sense to me since these commands can't create a new FS using pool names obtained through arguments.

I had a chat with Venky about this today, adding options to pass data and metadata pools to commands fs subvolumegroup create and fs subvolume create doesn't seem appropriate. And we need to check and allow only empty pools for creation of new volume.

VS Updated by Venky Shankar almost 2 years ago Actions #5

  • Category set to Administration/Usability
  • Target version set to v20.0.0
  • Source set to Development
  • Backport set to reef,squid

RD Updated by Rishabh Dave over 1 year ago Actions #6

  • Status changed from Fix Under Review to Pending Backport

RD Updated by Rishabh Dave over 1 year ago Actions #7

  • Copied to Backport #70605: reef: mgr/vol: allow passing pool names to "fs volume create" cmd added

RD Updated by Rishabh Dave over 1 year ago Actions #8

  • Copied to Backport #70606: squid: mgr/vol: allow passing pool names to "fs volume create" cmd added

UB Updated by Upkeep Bot over 1 year ago Actions #9

  • Tags (freeform) set to backport_processed

RD Updated by Rishabh Dave over 1 year ago Actions #10

  • Related to Bug #70945: mgr/vol: volume create cmd deletes user-created pool if one of the pool passed is absent added

UB Updated by Upkeep Bot over 1 year ago Actions #11

  • Merge Commit set to 6fc1a6dd926a52773b98894e1092aea0d63d16ad
  • Fixed In set to v20.0.0-666-g6fc1a6dd926
  • Upkeep Timestamp set to 2025-07-08T18:07:34+00:00

UB Updated by Upkeep Bot over 1 year ago Actions #12

  • Fixed In changed from v20.0.0-666-g6fc1a6dd926 to v20.0.0-666-g6fc1a6dd926a
  • Upkeep Timestamp changed from 2025-07-08T18:07:34+00:00 to 2025-07-14T15:22:03+00:00

UB Updated by Upkeep Bot over 1 year ago Actions #13

  • Fixed In changed from v20.0.0-666-g6fc1a6dd926a to v20.0.0-666-g6fc1a6dd92
  • Upkeep Timestamp changed from 2025-07-14T15:22:03+00:00 to 2025-07-14T20:46:31+00:00

PD Updated by Patrick Donnelly about 1 year ago Actions #14

  • Tracker changed from Bug to Feature
  • Regression deleted (No)
  • Severity deleted (3 - minor)

UB Updated by Upkeep Bot about 1 year ago Actions #15

  • Released In set to v20.2.0~792
  • Upkeep Timestamp changed from 2025-07-14T20:46:31+00:00 to 2025-11-01T01:00:37+00:00

UB Updated by Upkeep Bot 3 months ago Actions #16

  • Status changed from Pending Backport to Resolved
  • Tags (freeform) deleted (backport_processed)
  • Upkeep Timestamp changed from 2025-11-01T01:00:37+00:00 to 2026-08-27T18:16:30+00:00
Actions

Also available in: PDF Atom