Skip to content

Commit

Permalink
doc: Add documentation about mon_allow_pool_delete before pool remove
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
wido committed Nov 23, 2016
1 parent 6332a20 commit 95ed04a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
5 changes: 5 additions & 0 deletions PendingReleaseNotes
Original file line number Diff line number Diff line change
Expand Up @@ -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
------

Expand Down
7 changes: 7 additions & 0 deletions doc/rados/operations/pools.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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::
Expand Down

0 comments on commit 95ed04a

Please sign in to comment.