Re: infernalis on centos 7

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

 



I'm guessing that your ceph deploy version is not up-to-date and you are usinf one that does not support systemd.
Be sure to update to the latest ceph-deploy available in the ceph noarch repo (1.5.28) and you should be fine.

Adrien

On Wed, Dec 2, 2015 at 1:08 PM, Dan Nica <dan.nica@xxxxxxxxxxxxxxxxxxxx> wrote:

Hi guys,

 

I try to setup the cluster but it seems to fail for me on setting up the mons with the error

bellow:

 

[ceph_deploy.conf][DEBUG ] found configuration file at: /home/ceph/.cephdeploy.conf

[ceph_deploy.cli][INFO  ] Invoked (1.5.25): /usr/bin/ceph-deploy mon create cmon01 cmon02 cmon03

[ceph_deploy.mon][DEBUG ] Deploying mon, cluster ceph hosts cmon01 cmon02 cmon03

[ceph_deploy.mon][DEBUG ] detecting platform for host cmon01 ...

[cmon01][DEBUG ] connection detected need for sudo

[cmon01][DEBUG ] connected to host: cmon01

[cmon01][DEBUG ] detect platform information from remote host

[cmon01][DEBUG ] detect machine type

[ceph_deploy.mon][INFO  ] distro info: CentOS Linux 7.1.1503 Core

[cmon01][DEBUG ] determining if provided host has same hostname in remote

[cmon01][DEBUG ] get remote short hostname

[cmon01][DEBUG ] deploying mon to cmon01

[cmon01][DEBUG ] get remote short hostname

[cmon01][DEBUG ] remote hostname: cmon01

[cmon01][DEBUG ] write cluster configuration to /etc/ceph/{cluster}.conf

[cmon01][DEBUG ] create the mon path if it does not exist

[cmon01][DEBUG ] checking for done path: /var/lib/ceph/mon/ceph-cmon01/done

[cmon01][DEBUG ] create a done file to avoid re-doing the mon deployment

[cmon01][DEBUG ] create the init path if it does not exist

[cmon01][DEBUG ] locating the `service` executable...

[cmon01][INFO  ] Running command: sudo /usr/sbin/service ceph -c /etc/ceph/ceph.conf start mon.cmon01

[cmon01][WARNIN] 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.

[cmon01][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.cmon01

 

 

Can someone advice ?

 

Thanks,

Dan


_______________________________________________
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