]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commit
osd: support adding osd in auto discovery scenario
authorGuillaume Abrioux <gabrioux@redhat.com>
Wed, 13 Jan 2021 17:18:48 +0000 (18:18 +0100)
committerGuillaume Abrioux <gabrioux@redhat.com>
Tue, 2 Feb 2021 16:18:26 +0000 (17:18 +0100)
commit8a17433312641fb6fa2f3184849b3d696a774156
treea750232f5501a5d01ff7c53f6db4a8572314f06d
parentc3f06856c460d1f867d2a7f3e9a7aae34d380126
osd: support adding osd in auto discovery scenario

The task in charge of activating new osd is skipped because
`devices` is populated with the devices being added only.
It means it doesn't enter the condition since the length of `devices` is less
than the number of activated osds.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1906293
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
roles/ceph-osd/tasks/start_osds.yml
roles/ceph-osd/templates/ceph-osd-run.sh.j2