mirror of https://github.com/ceph/ceph-ansible.git
8bc0806f10
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
|
||
---|---|---|
.. | ||
scenarios | ||
common.yml | ||
container_options_facts.yml | ||
crush_rules.yml | ||
main.yml | ||
openstack_config.yml | ||
start_osds.yml | ||
system_tuning.yml | ||
systemd.yml |