Comment 11 for bug 1646583

Revision history for this message
Samuel Matzek (smatzek) wrote :

I installed Ceph 10.2.5 from the SRU PPA, https://launchpad.net/~openstack-ubuntu-testing/+archive/ubuntu/ceph-sru, on a clean system and "# systemctl list-units | grep ceph" lists nothing.

As noted in comment 10, an install of Ceph 10.2.5 from Ceph.com gives this output:
# systemctl list-units | grep ceph
ceph-mds.target loaded active active ceph target allowing to start/stop all ceph-mds@.service instances at once
ceph-mon.target loaded active active ceph target allowing to start/stop all ceph-mon@.service instances at once
ceph-osd.target loaded active active ceph target allowing to start/stop all ceph-osd@.service instances at once
ceph.target loaded active active ceph target allowing to start/stop all ceph*@.service instances at once

Using Ceph 10.2.5 from the SRU PPA, the enabling of a ceph monitor daemon using systemctl enable ceph-mon@<mon_name> makes the symlinks for the ceph-mon target to want the ceph-mon@<name>. However, since the ceph-mon.target itself is not active, the monitor won't start on reboot.

Debian packaging and systemd are a bit of a blackbox to me so I'm not sure where the targets are being auto-enabled during debian package install in the upstream packages and thus am not sure what should possibly change in the distro package to make them compatible.