Actions
Bug #19400
closedadd more info during pool delete error
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
In luminous the mon_allow_pool_delete is default to false and it may be confusing for any admin who
tries to delete a pool with below error message,
$ sudo rados rmpool test4 test4 --yes-i-really-really-mean-it pool test4 could not be removed error 1: (1) Operation not permitted
Instead, when the rados user has 'allow *' permissions for the monitor, and pool deletion from the 'ceph osd pool delete' or 'rados rmpool' commands fails with EPERM, we can warn about the possibility of this config option being set, e.g.:
$ sudo rados rmpool test4 test4 --yes-i-really-really-mean-it pool test4 could not be removed Check your monitor configuration - 'mon allow pool delete' is false by default
Updated by Josh Durgin about 7 years ago
- Description updated (diff)
- Category deleted (
librados)
Updated by Greg Farnum almost 7 years ago
- Project changed from Ceph to RADOS
- Status changed from New to Resolved
Actions