Project

General

Profile

Actions

Bug #70945

closed
RD RD

mgr/vol: volume create cmd deletes user-created pool if one of the pool passed is absent

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

Added by Rishabh Dave over 1 year ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
Correctness/Safety
Target version:
Due date:
% Done:

0%

Source:
other
Backport:
tentacle,squid,reef
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
mgr/volumes
Labels (FS):
Pull request ID:
Tags (freeform):
Fixed In:
v20.3.0-130-g43cf7f9adb
Released In:
v21.2.0~3059
Upkeep Timestamp:
2026-10-28T13:17:10+00:00

Description

If ceph fs volume create command is run with --data-pool and --meta-pool
options and if one of the pool names passed to these options is a non-existing
pool, then the command fails with ENOENT (which is fine) and also deletes the
other pool which is present (this behaviour is a bug).

Example -

$ ceph osd pool create cephfs.b.data
pool 'cephfs.b.data' created
$ ceph osd pool create cephfs.b.meta
pool 'cephfs.b.meta' created
$ ceph osd pool ls
cephfs.b.data
cephfs.b.meta

# note that metadata pool name below has a typo
$ ceph fs volume create b --data-pool cephfs.b.data --meta-pool cephfs.b.metaa
Error ENOENT: pool 'cephfs.b.metaa' does not exist

# note that "cephfs.b.data" isn't listed by below command which implies that it was deleted
$ ceph osd pool ls
cephfs.b.meta

IOW, pools should be deleted by this command only if it was also created by this command.


Related issues 4 (0 open — 4 closed)

Related to CephFS - Feature #69878: mgr/vol: allow passing pool names to "fs volume create" cmdResolvedRishabh Dave

Actions
Copied to CephFS - Backport #71148: tentacle: mgr/vol: volume create cmd deletes user-created pool if one of the pool passed is absentResolvedRishabh Dave

Actions
Copied to CephFS - Backport #71149: reef: mgr/vol: volume create cmd deletes user-created pool if one of the pool passed is absentRejectedRishabh Dave

Actions
Copied to CephFS - Backport #71150: squid: mgr/vol: volume create cmd deletes user-created pool if one of the pool passed is absentResolvedRishabh Dave

Actions

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

  • Subject changed from mgr/vol: volume create command shouldn't delete user created pool if one of the pool passed is absent to mgr/vol: volume create cmd deletes user created pool if one of the pool passed is absent

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

  • Subject changed from mgr/vol: volume create cmd deletes user created pool if one of the pool passed is absent to mgr/vol: volume create cmd deletes user-created pool if one of the pool passed is absent

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

  • Priority changed from Normal to Urgent

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

  • Description updated (diff)

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

  • Description updated (diff)

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

  • Component(FS) mgr/volumes added

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

  • Backport set to squid,reef

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

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

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

  • Pull request ID set to 62843

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

  • Status changed from In Progress to Fix Under Review

VS Updated by Venky Shankar over 1 year ago Actions #11

  • Category set to Correctness/Safety
  • Target version set to v20.0.0
  • Source set to other

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

  • Backport changed from squid,reef to tentacle,squid,reef

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

  • Status changed from Fix Under Review to Pending Backport

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

  • Copied to Backport #71148: tentacle: mgr/vol: volume create cmd deletes user-created pool if one of the pool passed is absent added

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

  • Copied to Backport #71149: reef: mgr/vol: volume create cmd deletes user-created pool if one of the pool passed is absent added

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

  • Copied to Backport #71150: squid: mgr/vol: volume create cmd deletes user-created pool if one of the pool passed is absent added

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

  • Tags (freeform) set to backport_processed

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

  • Merge Commit set to 43cf7f9adbda2fd7b7cdca66269366a956256d49
  • Fixed In set to v20.3.0-130-g43cf7f9adbd
  • Upkeep Timestamp set to 2025-07-08T14:46:41+00:00

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

  • Fixed In changed from v20.3.0-130-g43cf7f9adbd to v20.3.0-130-g43cf7f9adbda
  • Upkeep Timestamp changed from 2025-07-08T14:46:41+00:00 to 2025-07-14T15:20:52+00:00

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

  • Fixed In changed from v20.3.0-130-g43cf7f9adbda to v20.3.0-130-g43cf7f9adb
  • Upkeep Timestamp changed from 2025-07-14T15:20:52+00:00 to 2025-07-14T20:45:26+00:00

UB Updated by Upkeep Bot 3 months ago Actions #21

  • Status changed from Pending Backport to Backporting
  • Tags (freeform) deleted (backport_processed)
  • Upkeep Timestamp changed from 2025-07-14T20:45:26+00:00 to 2026-08-27T18:04:44+00:00

UB Updated by Upkeep Bot about 1 month ago Actions #22

  • Released In set to v21.2.0~3059
  • Upkeep Timestamp changed from 2026-08-27T18:04:44+00:00 to 2026-10-24T01:06:33+00:00

UB Updated by Upkeep Bot about 1 month ago Actions #23

  • Status changed from Backporting to Resolved
  • Upkeep Timestamp changed from 2026-10-24T01:06:33+00:00 to 2026-10-28T13:17:10+00:00
Actions

Also available in: PDF Atom