]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-disk: do not activate device that is not ready 10884/head
authorBoris Ranto <branto@redhat.com>
Mon, 27 Jun 2016 09:48:17 +0000 (11:48 +0200)
committerLoic Dachary <ldachary@redhat.com>
Fri, 26 Aug 2016 06:54:21 +0000 (08:54 +0200)
commitdea93dc35859ebf31366dfe5f2b8c2ebebc4f6a6
tree8067517380ec4afd9ff23efb8800201252af8dd0
parentfe23c2edc70d1ad15e640195570e624b31415aef
ceph-disk: do not activate device that is not ready

If the journal (or data) device is not ready when we are activating the
data (or journal) device, just print an info message and exit with 0 so
that the ceph-disk systemd service won't fail in this case.

Fixes: http://tracker.ceph.com/issues/15990
Signed-off-by: Boris Ranto <branto@redhat.com>
(cherry picked from commit 73a7a65f65b1f6e90c4cae101bd43fabaeac3045)
src/ceph-disk/ceph_disk/main.py