Project

General

Profile

Bug #19400

add more info during pool delete error

Added by Vasu Kulkarni 4 months ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
03/28/2017
Due date:
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Release:
Needs Doc:
No
Component(RADOS):

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

History

#1 Updated by Josh Durgin 4 months ago

  • Description updated (diff)
  • Category deleted (librados)

#2 Updated by Chang Liu 3 months ago

It's resolved.

#3 Updated by Greg Farnum about 1 month ago

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

Also available in: Atom PDF