[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ceph-users
Subject:    [ceph-users] deploy on centos 7
From:       rogerpbrown () gmail ! com (Roger Brown)
Date:       2017-04-28 16:33:50
Message-ID: CAFS+ELjTxoy9m6oPh092n1tNwhKKfK=onEVEdAHM69txh4mQFw () mail ! gmail ! com
[Download RAW message or body]

I don't recall. Perhaps later I can try a test and see.


On Fri, Apr 28, 2017 at 10:22 AM Ali Moeinvaziri <moeinvaz at gmail.com> wrote:

> Thanks. So, you didn't get any error on command "ceph-deploy mon
> create-initial"?
> -AM
>
>
> On Fri, Apr 28, 2017 at 9:50 AM, Roger Brown <rogerpbrown at gmail.com>
> wrote:
>
>> I used ceph on centos 7. I check monitor status with commands like these:
>> systemctl status ceph-mon at nuc1
>> systemctl stop ceph-mon at nuc1
>> systemctl start ceph-mon at nuc1
>> systemctl restart ceph-mon at nuc1
>>
>> for me, the hostnames are nuc1, nuc2, nuc3 so you have to modify to suit
>> your case.
>>
>>
>> On Fri, Apr 28, 2017 at 9:43 AM Ali Moeinvaziri <moeinvaz at gmail.com>
>> wrote:
>>
>>>
>>> Hi,
>>>
>>> I'm just trying to install and test cephs with centos 7, which is the
>>> recommended version
>>> over centos 6 (if I read it correctly). However, the scripts seem to be
>>> still tuned for centos6. So
>>> here is the error I get on deploying monitor node:
>>>
>>> [ceph_deploy.mon][ERROR ] Failed to execute command: /usr/sbin/service
>>> ceph -c /etc/ceph/ceph.conf start mon.xxxx
>>> [ceph_deploy][ERROR ] GenericError: Failed to create 1 monitors
>>>
>>>
>>> Here is the tail of log file:
>>>
>>> [xxxx][DEBUG ] checking for done path: /var/lib/ceph/mon/ceph-orion2/done
>>> [xxxx][DEBUG ] create a done file to avoid re-doing the mon deployment
>>> [xxxx][DEBUG ] create the init path if it does not exist
>>> [xxxx][DEBUG ] locating the `service` executable...
>>> [orion2][INFO  ] Running command: sudo /usr/sbin/service ceph -c
>>> /etc/ceph/ceph.conf start mon.xxxx
>>> [xxxx][WARNING] The service command supports only basic LSB actions
>>> (start, stop, restart, try-restart, reload, force-reload, status). For
>>> other actions, please try to use systemctl.
>>> [xxxx][ERROR ] RuntimeError: command returned non-zero exit status: 2
>>> [ceph_deploy.mon][ERROR ] Failed to execute command: /usr/sbin/service
>>> ceph -c /etc/ceph/ceph.conf start mon.xxxx
>>> [ceph_deploy][ERROR ] GenericError: Failed to create 1 monitors
>>>
>>>
>>> Are there scripts for centos7, or should this be done manually? Any
>>> suggestions?
>>>
>>> Thanks,
>>> -AM
>>>
>>> _______________________________________________
>>> ceph-users mailing list
>>> ceph-users at lists.ceph.com
>>> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ceph.com/pipermail/ceph-users-ceph.com/attachments/20170428/21c400df/attachment.htm>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic