Actions
Bug #11340
closedrados mkpool works for duplicate pool names in firefly
Status:
Won't Fix
Priority:
Normal
Assignee:
-
Category:
ceph cli
Target version:
-
% Done:
0%
Source:
other
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
rados
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
example - The ceph pool, "data" is already present. if I try to create a new pool named data again, there is no error -
host-44-0-2-109:~ # rados mkpool data
successfully created pool data
I learned that that's a feature rather than a bug because all commands should be idempotent where possible. However, if you look at rados rmpool, then it's the opposite. It does throw an error message -
rados rmpool data2 data2 --yes-i-really-really-mean-it
pool data2 does not exist
error 2: (2) No such file or directory
P.S - This seems to be ficed in Hammer and I do get ecxpected error emssage -
jenkins@host-44-0-2-109:~> rados -p data mkpool data
error creating pool data: (17) File exists
Actions