Re: ceph-deploy mon create failing with exception

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

 



Hi,

from what I'm seeing your ceph.conf isn't quite right if we take into account you cluster description "...with one monitor node and one osd...". The parameters "mon_inital_members" and "mon_host" should only contain monitor nodes. Not all the nodes in you cluster. 

More over you should provide in the "public_network" parameter also the netmask of the network.

What where the exact commands you performed before the step 5? DNS and hostname lookup does work correctly?

Best,
Martin

On Sat, Oct 10, 2015 at 11:40 PM, prasad pande <pande.prasad1@xxxxxxxxx> wrote:

I am installing a ceph-cluster with one monitor node and one osd. I am following the document:

http://docs.ceph.com/docs/v0.86/start/quick-ceph-deploy/

During the step 5: Add the initial monitor(s) and gather the keys (new in ceph-deploy v1.1.3),

I am getting the following exception:

[ceph-mon1][ERROR ] admin_socket: exception getting command descriptions: [Errno 2] No such file or directory [ceph-mon1][WARNIN] monitor: mon.ceph-mon1, might not be running yet [ceph-mon1][INFO ] Running command: sudo ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.ceph-mon1.asok mon_status [ceph-mon1][ERROR ] admin_socket: exception getting command descriptions: [Errno 2] No such file or directory [ceph-mon1][WARNIN] monitor ceph-mon1 does not exist in monmap


Just for reference my ceph.conf is as follows:

[global]

fsid = 351948ba-9716-4a04-802d-28b5510bfeb0

mon_initial_members = ceph-mon1,ceph-admin,ceph-osd1

mon_host = xxx.yyy.zzz.78,xxx.yyy.zzz.147,xxx.yyy.zzz.135

auth_cluster_required = cephx

auth_service_required = cephx

auth_client_required = cephx

filestore_xattr_use_omap = true

osd_pool_default_size = 2

public_addr = xxx.yyy.zzz.0


I tried to understand all the questions related to same on ceph user mailing list but there is no precise solution I found for this problem.

Can anyone help me on this?



Thanks & Regards
 
Prasad Pande


_______________________________________________
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