]> 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)
committerGuillaume Abrioux <gabrioux@redhat.com>
Mon, 2 Aug 2021 13:51:01 +0000 (15:51 +0200)
commit06471a4b82d63ebb35f80d45aa6ae629a4daeedc
tree4ffc51d442b853b47406438a513b740f87827083
parent17784624e0fb02080e14d15b4105ef92a78ec8c4
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>
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