]> 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>
Wed, 28 Nov 2018 22:11:46 +0000 (23:11 +0100)
commit4cc1506303739f13bb7a6e1022646ef90e004c90
treed51feba3fdab6964a644bf5aaa29329aca062544
parentb72d806f4c9e7e957fe4f92baa648c4cebdef862
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>
(cherry picked from commit f7fcc012e9a5b5d37bcffd39f3062adbc2886006)
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