Issue with ceph-deploy

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

 



I'm following the tutorial at http://docs.ceph.com/docs/v0.79/start/quick-ceph-deploy/ to deploy a monitor using 

% ceph-deploy mon create-initial

But I got the following errors:

...
[ceph-node1][INFO  ] Running command: ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.ceph-node1.asok mon_status
[ceph-node1][ERROR ] admin_socket: exception getting command descriptions: [Errno 2] No such file or directory
...

I checked on the monitor ceph-node1, it turned out that there were asok file, but with it's `hostname` rather than the /etc/hosts alias e.g. ceph-node1:

[root@GZH-ZB-SA2-Kiev-116 ~]# ls /var/run/ceph/
ceph-mon.GZH-ZB-SA2-Kiev-116.asok  mon.GZH-ZB-SA2-Kiev-116.pid

When creating the socket file, is it better to use some hostname-neutral or passing-from-admin-node name? 
I think we shall at least modify ceph-deploy to run ceph --admin-daemon with the monitor's real hostname. Most users tend to use IP addresses or aliases rather than admin node's hostname.

_______________________________________________
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]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux