]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commit
osd: ceph-volume activate, just pass the OSD_ID
authorSébastien Han <seb@redhat.com>
Fri, 28 Sep 2018 16:07:08 +0000 (18:07 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Wed, 10 Oct 2018 20:08:41 +0000 (16:08 -0400)
commita948677de18d7477555cc5c4c737160a307298f7
tree0730b70fc91473f4be014644f90f232067d84125
parent5f35910ee102092faffe90980a713c5309668e20
osd: ceph-volume activate, just pass the OSD_ID

We don't need to pass the device and discover the OSD ID. We have a
task that gathers all the OSD ID present on that machine, so we simply
re-use them and activate them. This also handles the situation when you
have multiple OSDs running on the same device.

Signed-off-by: Sébastien Han <seb@redhat.com>
roles/ceph-osd/templates/ceph-osd-run.sh.j2