ceph-ansible/roles/ceph-osd/tasks
wangxiaotong b9cb0f12e9 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>
2020-11-03 09:05:33 +01:00
..
scenarios add missing boolean filter 2020-09-28 20:45:01 +02:00
common.yml keyring: use ceph_key module for auth get command 2020-11-02 17:17:29 +01:00
container_options_facts.yml ceph-osd: set container objectstore env variables 2020-01-20 13:59:44 -05:00
crush_rules.yml osd: use default crush rule name when needed 2020-03-31 14:49:38 -04:00
main.yml osds: use ceph osd stat instead of ceph status 2020-11-03 09:05:33 +01:00
openstack_config.yml common: follow up on #5948 2020-11-02 20:16:36 -05:00
start_osds.yml ceph-osd: Fix check mode for start osds tasks 2020-10-19 20:22:08 +02:00
system_tuning.yml ceph-osd: fix fs.aio-max-nr sysctl condition 2019-11-07 13:51:48 +01:00
systemd.yml ceph-osd: remove ceph-osd-run.sh script 2020-06-18 17:51:13 +02:00