]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
osd: fix container reboot 1933/head
authorSébastien Han <seb@redhat.com>
Thu, 21 Sep 2017 13:02:16 +0000 (15:02 +0200)
committerSébastien Han <seb@redhat.com>
Mon, 25 Sep 2017 11:34:47 +0000 (13:34 +0200)
commit45797ab968238286311e39af3129f81b1d8b2984
tree5b1b3e184cba9df40e80000cc11045ef925de2a4
parent16174a397c91f40c2b2aa3acff849f22488011d7
osd: fix container reboot

It's sad but we can not rely on the prepare container anymore since the
log are flushed after reboot. So inpecting the container does not return
anything.
Now, instead we use a ephemeral container to look up for the
journal/block.db/block.wal (depending if filestore or bluestore) and
build the activate command accordingly.

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