From 95ed04a536d917576a874ee7d1101085a48a7ff2 Mon Sep 17 00:00:00 2001 From: Wido den Hollander Date: Fri, 11 Nov 2016 09:53:31 +0100 Subject: [PATCH] doc: Add documentation about mon_allow_pool_delete before pool remove Tell users they need to set this to true before Monitors will allow pools to be removed. Also update the Pending Release Notes so that users can find this change there. This was changed with commit 5d7f4ea Signed-off-by: Wido den Hollander --- PendingReleaseNotes | 5 +++++ doc/rados/operations/pools.rst | 7 +++++++ 2 files changed, 12 insertions(+) diff --git a/PendingReleaseNotes b/PendingReleaseNotes index a62c0f6e2661..06392f108133 100644 --- a/PendingReleaseNotes +++ b/PendingReleaseNotes @@ -56,6 +56,11 @@ OSD: change the prefix from fs_* to os_*, because commit_latency and … …apply_latency will be used not only for filestore. +* Monitors will no longer allow pools to be removed by default. + The setting mon_allow_pool_delete has to be set to true (defaults to false) + before they allow pools to be removed. + This is a additional safeguard against pools being removed by accident. + 11.0.0 ------ diff --git a/doc/rados/operations/pools.rst b/doc/rados/operations/pools.rst index 1deedf6e75b2..4bdaaa34d612 100644 --- a/doc/rados/operations/pools.rst +++ b/doc/rados/operations/pools.rst @@ -175,6 +175,13 @@ To delete a pool, execute:: ceph osd pool delete {pool-name} [{pool-name} --yes-i-really-really-mean-it] + +To remove a pool the mon_allow_pool_delete flag must be set to true in the Monitor's +configuration. Otherwise they will refuse to remove a pool. + +See `Monitor Configuration`_ for more information. + +.. _Monitor Configuration: ../../configuration/mon-config-ref If you created your own rulesets and rules for a pool you created, you should consider removing them when you no longer need your pool:: -- 2.47.3