ceph-ansible/roles
wangxiaotong 8bc0806f10 osds: use ceph osd stat instead of ceph status
Improve the checked way of the OSD created checking process.
This replaces the ceph status command by the ceph osd stat command.
The osdmap structure isn't needed anymore.

$ ceph status -f json | wc -c
2001
$ ceph osd stat -f json | wc -c
132
$ time ceph status -f json > /dev/null

real    0m0.563s
user    0m0.526s
sys     0m0.036s
$ time ceph osd stat -f json > /dev/null

real	0m0.457s
user	0m0.411s
sys	0m0.045s

Signed-off-by: wangxiaotong <wangxiaotong@fiberhome.com>
(cherry picked from commit b9cb0f12e9)
2020-11-03 14:38:49 -05:00
..
ceph-client common: follow up on #5948 2020-11-03 09:52:42 +01:00
ceph-common Add CentOS 8 support for rpm deployment 2020-09-10 20:38:34 -04:00
ceph-config ceph-config: remove ceph_release from ceph.conf.j2 2020-09-29 16:32:17 +02:00
ceph-container-common container: quote registry password 2020-09-18 15:21:32 -04:00
ceph-container-engine container: add optional http(s) proxy option 2020-09-16 11:32:24 -04:00
ceph-crash podman: force log driver to journald 2020-11-02 17:46:48 -05:00
ceph-dashboard Revert "Make 'disable ssl for dashboard task' idempotent." 2020-09-11 09:37:23 -04:00
ceph-defaults facts: refact `ceph_uid` fact 2020-09-21 13:49:03 -04:00
ceph-facts ceph-facts: add get default crush rule from running monitor 2020-09-29 16:38:38 +02:00
ceph-fetch-keys meta: set the right minimum ansible version required for galaxy 2018-12-11 09:59:25 +01:00
ceph-grafana podman: force log driver to journald 2020-11-02 17:46:48 -05:00
ceph-handler ceph-handler: fix curl ipv6 command with rgw 2020-11-02 17:44:22 -05:00
ceph-infra ceph-infra: include iscsi nodes for logrotate 2020-09-17 14:49:56 -04:00
ceph-iscsi-gw podman: force log driver to journald 2020-11-02 17:46:48 -05:00
ceph-mds podman: force log driver to journald 2020-11-02 17:46:48 -05:00
ceph-mgr podman: force log driver to journald 2020-11-02 17:46:48 -05:00
ceph-mon ceph-mon: Don't set monitor directory mode recursively 2020-11-02 18:42:31 -05:00
ceph-nfs podman: force log driver to journald 2020-11-02 17:46:48 -05:00
ceph-node-exporter podman: force log driver to journald 2020-11-02 17:46:48 -05:00
ceph-osd osds: use ceph osd stat instead of ceph status 2020-11-03 14:38:49 -05:00
ceph-prometheus podman: force log driver to journald 2020-11-02 17:46:48 -05:00
ceph-rbd-mirror podman: force log driver to journald 2020-11-02 17:46:48 -05:00
ceph-rgw podman: force log driver to journald 2020-11-02 17:46:48 -05:00
ceph-rgw-loadbalancer Enable HAProxy backend checks for Ceph RGW 2020-09-10 20:38:01 -04:00
ceph-validate ansible: bump to ansible 2.9 2020-09-15 13:13:09 -04:00