]> 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>
Tue, 3 Nov 2020 16:36:04 +0000 (11:36 -0500)
commit44d43a8e4d58cc33bb34b43a395ce007fdc12b92
treecf8d46c5b459a0c01156655ce9397daf9471d897
parent0cb9e179f5703ad6b1c6c658c281c8ca3c92ea47
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