]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rbd-mirorr: does not start on reboot
authorSébastien Han <seb@redhat.com>
Tue, 26 Sep 2017 12:05:37 +0000 (14:05 +0200)
committerSébastien Han <seb@redhat.com>
Tue, 26 Sep 2017 12:05:37 +0000 (14:05 +0200)
commite6cd9570ba210c5f4501b6f4fa443245a22c4d6c
treeb559423a2dffbb06f996c4cdadc8177d555afcc0
parent99b15792a3bfde871495574ca2021f3e2f8ec4fe
rbd-mirorr: does not start on reboot

The current systemd unit file misses 'PartOf=ceph-rbd-mirror.target',
which results in the unit not starting after reboot.
If you have ceph-rbd-mirror@rbd-mirror.ceph-rbd-mirror0, it won't start
after reboot even if enabled.
Adding 'PartOf=ceph-rbd-mirror.target' will enable
ceph-rbd-mirror.target when ceph-rbd-mirror@rbd-mirror.ceph-rbd-mirror0
gets enabled.

Signed-off-by: Sébastien Han <seb@redhat.com>
systemd/ceph-rbd-mirror@.service