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

On Fri, Apr 28, 2017 at 10:22 AM Ali Moeinvaziri <moein...@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 <rogerpbr...@gmail.com>
> wrote:
>
>> I used ceph on centos 7. I check monitor status with commands like these:
>> systemctl status ceph-mon@nuc1
>> systemctl stop ceph-mon@nuc1
>> systemctl start ceph-mon@nuc1
>> systemctl restart ceph-mon@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 <moein...@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@lists.ceph.com
>>> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>>>
>>
>
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to