Project

General

Profile

Actions

Bug #19400

closed

add more info during pool delete error

Added by Vasu Kulkarni about 7 years ago. Updated almost 7 years ago.

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
Actions #1

Updated by Josh Durgin about 7 years ago

  • Description updated (diff)
  • Category deleted (librados)
Actions #2

Updated by Chang Liu almost 7 years ago

It's resolved.

Actions #3

Updated by Greg Farnum almost 7 years ago

  • Project changed from Ceph to RADOS
  • Status changed from New to Resolved
Actions

Also available in: Atom PDF