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
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):
Merge Commit:
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.
RD Updated by Rishabh Dave over 1 year ago
- 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
- 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
- Priority changed from Normal to Urgent
RD Updated by Rishabh Dave over 1 year ago
- Description updated (diff)
RD Updated by Rishabh Dave over 1 year ago
- Description updated (diff)
RD Updated by Rishabh Dave over 1 year ago
- Component(FS) mgr/volumes added
RD Updated by Rishabh Dave over 1 year ago
- Backport set to squid,reef
RD Updated by Rishabh Dave over 1 year ago
- 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
- Pull request ID set to 62843
RD Updated by Rishabh Dave over 1 year ago
- Status changed from In Progress to Fix Under Review
VS Updated by Venky Shankar over 1 year ago
- 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
- Backport changed from squid,reef to tentacle,squid,reef
RD Updated by Rishabh Dave over 1 year ago
- Status changed from Fix Under Review to Pending Backport
RD Updated by Rishabh Dave over 1 year ago
- 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
- 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
- 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
- Tags (freeform) set to backport_processed
UB Updated by Upkeep Bot over 1 year ago
- 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
- 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
- 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
- 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
- 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
- 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