]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
osd: Fix number of OSD calculation
authorGaudenz Steinlin <gaudenz.steinlin@cloudscale.ch>
Tue, 27 Aug 2019 13:15:35 +0000 (15:15 +0200)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Wed, 4 Nov 2020 02:52:44 +0000 (21:52 -0500)
commitf344a4810c9b261864d9c5a854ca3dda3ead55f2
tree3968de03906e6a623d8ca1a6f614a838ba5e8d0b
parent522e183d8f2755d17678a383a3e414dac2cc6ccc
osd: Fix number of OSD calculation

If some OSDs are to be created and others already exist the calculation
only counted the to be created OSDs. This changes the calculation to
take all OSDs into account.

Signed-off-by: Gaudenz Steinlin <gaudenz.steinlin@cloudscale.ch>
(cherry picked from commit 15044da03052fcb4a3c45f344f41e06b0d418e4d)
roles/ceph-config/tasks/main.yml