Actions
Bug #70945
openmgr/vol: volume create cmd deletes user-created pool if one of the pool passed is absent
Status:
Pending Backport
Priority:
Urgent
Assignee:
Category:
Correctness/Safety
Target version:
% 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):
backport_processed
Merge Commit:
Fixed In:
v20.3.0-130-g43cf7f9adb
Released In:
Upkeep Timestamp:
2025-07-14T20:45:26+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.
Updated by Rishabh Dave 11 months 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
Updated by Rishabh Dave 11 months 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
Updated by Rishabh Dave 11 months ago
- Related to Feature #69878: mgr/vol: allow passing pool names to "fs volume create" cmd added
Updated by Rishabh Dave 11 months ago
- Status changed from In Progress to Fix Under Review
Updated by Venky Shankar 11 months ago
- Category set to Correctness/Safety
- Target version set to v20.0.0
- Source set to other
Updated by Rishabh Dave 11 months ago
- Backport changed from squid,reef to tentacle,squid,reef
Updated by Rishabh Dave 11 months ago
- Status changed from Fix Under Review to Pending Backport
Updated by Rishabh Dave 11 months ago
- Copied to Backport #71148: tentacle: mgr/vol: volume create cmd deletes user-created pool if one of the pool passed is absent added
Updated by Rishabh Dave 11 months ago
- Copied to Backport #71149: reef: mgr/vol: volume create cmd deletes user-created pool if one of the pool passed is absent added
Updated by Rishabh Dave 11 months ago
- Copied to Backport #71150: squid: mgr/vol: volume create cmd deletes user-created pool if one of the pool passed is absent added
Updated by Rishabh Dave 11 months ago
- Tags (freeform) set to backport_processed
Updated by Upkeep Bot 9 months 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
Updated by Upkeep Bot 8 months 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
Updated by Upkeep Bot 8 months 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
Actions