Re: How do I start ceph jewel in CentOS?

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

 



I was able to hack the ceph /etc/init.d script to start my osd’s 

 

 

 
Michael Kuriger
Sr. Unix Systems Engineer
* mk7193@xxxxxx |( 818-649-7235








On 5/4/16, 9:58 AM, "ceph-users on behalf of Michael Kuriger" <ceph-users-bounces@xxxxxxxxxxxxxx on behalf of mk7193@xxxxxx> wrote:

>How are others starting ceph services?  Am I the only person trying to install jewel on CentOS 7?
>
>Unfortunately, systemctl status does not list any “ceph” services at all.
>
>
>
> 
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>On 5/4/16, 9:37 AM, "Vasu Kulkarni" <vakulkar@xxxxxxxxxx> wrote:
>
>
>
>>sadly there are still some issues with jewel/master branch for centos
>
>>systemctl service,
>
>>As a workaround if you run "systemctl status" and look at the top most
>
>>service name in the ceph-osd service tree and use that to stop/start
>
>>it should work.
>
>>
>
>>
>
>>On Wed, May 4, 2016 at 9:00 AM, Michael Kuriger <mk7193@xxxxxx> wrote:
>
>>> I’m running CentOS 7.2.  I upgraded one server from hammer to jewel.   I
>
>>> cannot get ceph to start using these new systems scripts.  Can anyone help?
>
>>>
>
>>> I tried to enable ceph-osd@.service by creating symlinks manually.
>
>>>
>
>>> # systemctl list-unit-files|grep ceph
>
>>>
>
>>> ceph-create-keys@.service              static
>
>>>
>
>>> ceph-disk@.service                     static
>
>>>
>
>>> ceph-mds@.service                      disabled
>
>>>
>
>>> ceph-mon@.service                      disabled
>
>>>
>
>>> ceph-osd@.service                      enabled
>
>>>
>
>>> ceph-mds.target                        disabled
>
>>>
>
>>> ceph-mon.target                        disabled
>
>>>
>
>>> ceph-osd.target                        enabled
>
>>>
>
>>> ceph.target                            enabled
>
>>>
>
>>>
>
>>>
>
>>> # systemctl start ceph.target
>
>>>
>
>>>
>
>>> # systemctl status ceph.target
>
>>>
>
>>> ● ceph.target - ceph target allowing to start/stop all ceph*@.service
>
>>> instances at once
>
>>>
>
>>>    Loaded: loaded (/usr/lib/systemd/system/ceph.target; enabled; vendor
>
>>> preset: disabled)
>
>>>
>
>>>    Active: active since Wed 2016-05-04 08:53:30 PDT; 4min 6s ago
>
>>>
>
>>>
>
>>> May 04 08:53:30  systemd[1]: Reached target ceph target allowing to
>
>>> start/stop all ceph*@.service instances at once.
>
>>>
>
>>> May 04 08:53:30  systemd[1]: Starting ceph target allowing to start/stop all
>
>>> ceph*@.service instances at once.
>
>>>
>
>>> May 04 08:57:32  systemd[1]: Reached target ceph target allowing to
>
>>> start/stop all ceph*@.service instances at once.
>
>>>
>
>>>
>
>>> # 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: disabled)
>
>>>
>
>>>    Active: active since Wed 2016-05-04 08:53:30 PDT; 4min 20s ago
>
>>>
>
>>>
>
>>> May 04 08:53:30  systemd[1]: Reached target ceph target allowing to
>
>>> start/stop all ceph-osd@.service instances at once.
>
>>>
>
>>> May 04 08:53:30  systemd[1]: Starting ceph target allowing to start/stop all
>
>>> ceph-osd@.service instances at once.
>
>>>
>
>>>
>
>>> # systemctl status ceph-osd@.service
>
>>>
>
>>> Failed to get properties: Unit name ceph-osd@.service is not valid.
>
>>>
>
>>>
>
>>>
>
>>>
>
>>>
>
>>>
>
>>>
>
>>> _______________________________________________
>
>>> ceph-users mailing list
>
>>> ceph-users@xxxxxxxxxxxxxx
>
>>> https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.ceph.com_listinfo.cgi_ceph-2Dusers-2Dceph.com&d=CwIFaQ&c=lXkdEK1PC7UK9oKA-BBSI8p1AamzLOSncm6Vfn0C_UQ&r=CSYA9OS6Qd7fQySI2LDvlQ&m=ha3XvQGcc5Yztz98b7hb8pYQo14dcIiYxfOoMzyUM00&s=VdVOtGV4JQUKyQDDC_QYn1-7wBcSh-eYwx_cCSQWlQk&e= 
>
>>>
>
>_______________________________________________
>ceph-users mailing list
>ceph-users@xxxxxxxxxxxxxx
>https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.ceph.com_listinfo.cgi_ceph-2Dusers-2Dceph.com&d=CwIGaQ&c=lXkdEK1PC7UK9oKA-BBSI8p1AamzLOSncm6Vfn0C_UQ&r=CSYA9OS6Qd7fQySI2LDvlQ&m=54N4L4csPxJYvC5YZlDB9mMwEKANhFwo2m6R0HMUGZ0&s=LER873rXoF5--GPvmOzkJaQDhPpSvRptxAZ3QP-mlBM&e= 
_______________________________________________
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