]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
rolling_update: set num_osds to the number of running osds
authorAndrew Schoen <aschoen@redhat.com>
Thu, 28 Mar 2019 19:34:48 +0000 (14:34 -0500)
committerGuillaume Abrioux <gabrioux@redhat.com>
Thu, 18 Apr 2019 08:55:11 +0000 (10:55 +0200)
commit67453853ff559f1c19bc969ca3116c9c13f877bb
tree821b1b236bcff1d3c8ce93d8485d9fb741390992
parent5e3dfe50210f6b5e49f6c15160086a0dd84f9e6b
rolling_update: set num_osds to the number of running osds

We do this so that the ceph-config role can most accurately
report the number of osds for the generation of the ceph.conf
file.

We don't want to use ceph-volume to determine the number of
osds because in an upgrade to nautilus ceph-volume won't be able to
accurately count osds created by ceph-disk.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
infrastructure-playbooks/rolling_update.yml
roles/ceph-config/tasks/main.yml