]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
osds: use osd pool ls instead of osd dump command
authorDimitri Savineau <dsavinea@redhat.com>
Wed, 28 Jul 2021 18:54:15 +0000 (14:54 -0400)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Tue, 3 Aug 2021 17:57:20 +0000 (13:57 -0400)
commit561a7c02c07a04316ee27486f8c0a378fc5769c1
tree10b4c5545202d9b65c7fe67b769c32a40a60b7d8
parent380e0bec836e7bbc28fbd6e4c85c2347952f3032
osds: use osd pool ls instead of osd dump command

The ceph osd pool ls detail command is a subset of the ceph osd dump
command.

$ ceph osd dump --format json|wc -c
10117
$ ceph osd pool ls detail --format json|wc -c
4740

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit 06471a4b82d63ebb35f80d45aa6ae629a4daeedc)
infrastructure-playbooks/cephadm-adopt.yml
infrastructure-playbooks/rolling_update.yml
infrastructure-playbooks/switch-from-non-containerized-to-containerized-ceph-daemons.yml
roles/ceph-handler/tasks/handler_osds.yml