]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/DaemonServer: fix 'osd ok-to-stop' for EC pools
authorSage Weil <sage@redhat.com>
Thu, 5 Dec 2019 18:59:31 +0000 (12:59 -0600)
committerNathan Cutler <ncutler@suse.com>
Wed, 12 Feb 2020 13:18:33 +0000 (14:18 +0100)
commit768a47e98b7c5182686e0749a4279f12ea9c58ba
treeb7397a7330b4f42036cd5ba3c9b0050562cf2118
parentfd3afb206443f31d9f90cb2aaf640b2021a12ffc
mgr/DaemonServer: fix 'osd ok-to-stop' for EC pools

We need to pay attention to account for CRUSH_ITEM_NONE entries in the
EC PG acting set.

Fixes: https://tracker.ceph.com/issues/43151
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 66690ea3143ac5097f7c7f3118f2d00fed30cc4b)

Conflicts:
        qa/standalone/misc/ok-to-stop.sh
- nautilus "ceph osd pool create" CLI command takes a pg_num argument
qa/standalone/misc/ok-to-stop.sh
src/mgr/DaemonServer.cc