Bug 1504166 - rbd-mirror doesn't restart after reboot
Summary: rbd-mirror doesn't restart after reboot
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: RBD-Mirror
Version: 3.0
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: rc
: 3.0
Assignee: Sage Weil
QA Contact: Manohar Murthy
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-10-19 15:26 UTC by Ken Dreyer (Red Hat)
Modified: 2017-12-05 23:48 UTC (History)
6 users (show)

Fixed In Version: RHEL: ceph-12.2.1-22.el7cp Ubuntu: ceph_12.2.1-25redhat1xenial
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-05 23:48:29 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ceph ceph pull 17975 0 None None None 2017-10-19 15:26:23 UTC
Red Hat Product Errata RHBA-2017:3387 0 normal SHIPPED_LIVE Red Hat Ceph Storage 3.0 bug fix and enhancement update 2017-12-06 03:03:45 UTC

Description Ken Dreyer (Red Hat) 2017-10-19 15:26:23 UTC
From upstream Git commit log:

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, 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 gets enabled.

Comment 5 Manohar Murthy 2017-10-30 10:24:05 UTC
After reboot, rbd-mirror service restarts automatically.
rbd-mirror service will starts when rbd-mirror.target starts.

[root@fortress ceph-rbd-mirror.target.wants]# cat /usr/lib/systemd/system/ceph-rbd-mirror@.service |grep PartOf=ceph-rbd-mirror.target
PartOf=ceph-rbd-mirror.target
[root@fortress ceph-rbd-mirror.target.wants]#

Version:
[root@fortress ceph-rbd-mirror.target.wants]# ceph -v
ceph version 12.2.1-32.el7cp (d02ed11b86dca18a55f943a3a8cb29cfd5eb75bf) luminous (stable)
[root@fortress ceph-rbd-mirror.target.wants]#

Comment 8 errata-xmlrpc 2017-12-05 23:48:29 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2017:3387


Note You need to log in before you can comment on or make changes to this bug.