]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
osd: commonize start_osd code
authorGuillaume Abrioux <gabrioux@redhat.com>
Wed, 7 Nov 2018 10:45:29 +0000 (11:45 +0100)
committerSébastien Han <seb@redhat.com>
Mon, 12 Nov 2018 09:51:48 +0000 (10:51 +0100)
commitf7fcc012e9a5b5d37bcffd39f3062adbc2886006
treee99cf9a0e542c50e5935e2cb66a57873521db0b4
parent3ac6619fb9aa0ea29041ce122b4dfac9a51fc235
osd: commonize start_osd code

since `ceph-volume` introduction, there is no need to split those tasks.

Let's refact this part of the code so it's clearer.

By the way, this was breaking rolling_update.yml when `openstack_config:
true` playbook because nothing ensured OSDs were started in ceph-osd role (In
`openstack_config.yml` there is a check ensuring all OSD are UP which was
obviously failing) and resulted with OSDs on the last OSD node not started
anyway.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
roles/ceph-osd/tasks/docker/main.yml [deleted file]
roles/ceph-osd/tasks/docker/start_docker_osd.yml [deleted file]
roles/ceph-osd/tasks/main.yml
roles/ceph-osd/tasks/start_osds.yml