Re: Question about how to start ceph OSDs with systemd

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

 




On 07/08/2016 11:59 AM, Manuel Lausch wrote:
> hi,
> 
> In the last days I do play around with ceph jewel on debian Jessie and
> CentOS 7. Now I have a question about systemd on this Systems.
> 
> I installed ceph jewel (ceph version 10.2.2
> (45107e21c568dd033c2f0a3107dec8f0b0e58374)) on debian Jessie and
> prepared some OSDs. While playing around I decided to reinstall my
> operating system (of course without deleting the OSD devices ). After
> the reinstallation of ceph and put in the old ceph.conf I thought the
> previously prepared OSDs do easily start and all will be fine after that.
> 
> With debian Wheezy and ceph firefly this worked well, but with the new
> versions and systemd this doesn't work at all. Now what have I to do to
> get the OSDs running again?
> 
> The following command didn't work and I didn't get any output from it.
>   systemctl start ceph-osd.target
> 
> And this is the output from systemctl status ceph-osd.target
> ● ceph-osd.target - ceph target allowing to start/stop all
> ceph-osd@.service instances at once
>    Loaded: loaded (/usr/lib/systemd/system/ceph-osd.target; enabled;
> vendor preset: enabled)
>    Active: active since Fri 2016-07-08 17:19:29 CEST; 36min ago
> 
> Jul 08 17:19:29 cs-dellbrick01.server.lan systemd[1]: Reached target
> ceph target allowing to start/stop all ceph-osd@.service instances at once.
> Jul 08 17:19:29 cs-dellbrick01.server.lan systemd[1]: Starting ceph
> target allowing to start/stop all ceph-osd@.service instances at once.
> Jul 08 17:31:15 cs-dellbrick01.server.lan systemd[1]: Reached target
> ceph target allowing to start/stop all ceph-osd@.service instances at once.
> 
> 

Manuel,

You may find our changes to the devstack ceph plugin here [1] for
systemd vs upstart vs sysvinit control of ceph services helpful.  We
tested against xenial and fedora24 for the systemd paths.

Cheers,

-- Tom

[1] https://review.openstack.org/#/c/332484/

> 
> thanks,
> Manuel
> 
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
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]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux