]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
ceph-osd: Fix osd start sequence 1800/head
authorBoris Ranto <branto@redhat.com>
Wed, 23 Aug 2017 22:23:25 +0000 (00:23 +0200)
committerBoris Ranto <branto@redhat.com>
Fri, 25 Aug 2017 11:40:04 +0000 (13:40 +0200)
commit5f1b8fcd75f5171349c2f71d90f9bf9fc8e1e537
tree60d5f65bdea64d95e2257b8b6a8b12e2130826e1
parente9c1ade0f4a98fbbfbd885a713afb23412a34718
ceph-osd: Fix osd start sequence

The script can fail to get the osd id because the osds are activated by
udev and it can take a while for them to activate. This commit fixes
that by trying to get all the osds per node in a loop.

This commit also makes the osd services enabled so that they are
available after reboot.

Signed-off-by: Boris Ranto <branto@redhat.com>
roles/ceph-osd/tasks/start_osds.yml