Re: systemd and ceph-mon autostart on Ubuntu 16.04

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jan 25, 2017 at 2:19 PM, Wido den Hollander <wido@xxxxxxxx> wrote:
> Hi,
>
> I thought this issue was resolved a while ago, but while testing Kraken with BlueStore I ran into the problem again.
>
> My monitors are not being started on boot:
>
> Welcome to Ubuntu 16.04.1 LTS (GNU/Linux 4.4.0-59-generic x86_64)
>
>  * Documentation:  https://help.ubuntu.com
>  * Management:     https://landscape.canonical.com
>  * Support:        https://ubuntu.com/advantage
> Last login: Wed Jan 25 15:08:57 2017 from 2001:db8::100
> root@bravo:~# systemctl status ceph-mon.target
> ● ceph-mon.target - ceph target allowing to start/stop all ceph-mon@.service instances at once
>    Loaded: loaded (/lib/systemd/system/ceph-mon.target; disabled; vendor preset: enabled)
>    Active: inactive (dead)
> root@bravo:~#
>
> If I enable ceph-mon.target my Monitors start just fine on boot:
>
> root@bravo:~# systemctl enable ceph-mon.target
> Created symlink from /etc/systemd/system/multi-user.target.wants/ceph-mon.target to /lib/systemd/system/ceph-mon.target.
> Created symlink from /etc/systemd/system/ceph.target.wants/ceph-mon.target to /lib/systemd/system/ceph-mon.target.
> root@bravo:~# ceph -v
> ceph version 11.2.0 (f223e27eeb35991352ebc1f67423d4ebc252adb7)
> root@bravo:~#
>
> Anybody else seeing this before I start digging into the .deb packaging?

Are you wanting ceph-mon.target to automatically be enabled on package
install? That doesn't sound good to me but I'm not familiar with
Ubuntu's packaging rules. I would think the sysadmin must enable the
services they install themselves.

-- 
Patrick Donnelly
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux