]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephadm: fix osd size reported in 'orch ls'
authorGuillaume Abrioux <gabrioux@redhat.com>
Wed, 22 Sep 2021 07:35:54 +0000 (09:35 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Wed, 29 Sep 2021 11:04:04 +0000 (13:04 +0200)
commit97219591dab8f54f239ccfb1891c45b01e7bec79
tree0f27f514e33df1ae35e1a76d182c3185f56aadba
parent7c64d92fefd0ca429c5c54e5a924348d1a6711b7
cephadm: fix osd size reported in 'orch ls'

The current code enforces ('running osds' + 1), see [1].
Let's simply print the number of running osds instead of a
meaningless calculation.

[1] https://github.com/ceph/ceph/commit/1c0a0a6f6153dc555085f263f161666cd171964a#diff-4f2fb7d330e74b64ac41457b7c7a723cd78db86433e0b0c398874531e5a7e39eR1852-R1859

Fixes: https://tracker.ceph.com/issues/50928
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
src/pybind/mgr/orchestrator/module.py