]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rbd-mirorr: does not start on reboot 17975/head
authorSébastien Han <seb@redhat.com>
Tue, 26 Sep 2017 12:05:37 +0000 (14:05 +0200)
committerJason Dillaman <dillaman@redhat.com>
Tue, 26 Sep 2017 16:17:00 +0000 (12:17 -0400)
commitab5300218699c947f380b0437f931d559bdbf074
treee33678ca6728c994b601a51115abcb9cb408c62b
parentbf5f5ec7cf0e06125515866acedcc04c393f90b9
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>
(cherry picked from commit e6cd9570ba210c5f4501b6f4fa443245a22c4d6c)
systemd/ceph-rbd-mirror@.service