mon create error

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

 



Have you tried specifying the socket path in your Ceph configuration file?


On Sat, May 17, 2014 at 9:38 AM, reistlin87 <reistlin87 at yandex.ru> wrote:

> Hi all! Sorry for my english, I am russian)
>
> We get the same error on diffrent linux distro(CentOS 6.4 & SuSe 11),
> diffrent ceph version (0.67,0.72,0.8).
>
> Point of error:
>
> We want to create new cluster with non-standart name(for example cephtst):
> [root at admin ceph]# ceph-deploy --cluster cephtst new mon
> Cluster creates Ok.
>
> And then we want to create monitor:
> [root at admin ceph]# ceph-deploy --cluster cephtst mon create mon
>
> We get a error related to name of admin socket:
> [root at admin ceph]# ceph-deploy --cluster cephtst mon create mon
> [ceph_deploy.conf][DEBUG ] found configuration file at:
> /root/.cephdeploy.conf
> [ceph_deploy.cli][INFO  ] Invoked (1.5.1): /usr/bin/ceph-deploy --cluster
> cephtst mon create mon
> [ceph_deploy.mon][DEBUG ] Deploying mon, cluster cephtst hosts mon
> [ceph_deploy.mon][DEBUG ] detecting platform for host mon ...
> [mon][DEBUG ] connected to host: mon
> [mon][DEBUG ] detect platform information from remote host
> [mon][DEBUG ] detect machine type
> [ceph_deploy.mon][INFO  ] distro info: CentOS 6.5 Final
> [mon][DEBUG ] determining if provided host has same hostname in remote
> [mon][DEBUG ] get remote short hostname
> [mon][DEBUG ] deploying mon to mon
> [mon][DEBUG ] get remote short hostname
> [mon][DEBUG ] remote hostname: mon
> [mon][DEBUG ] write cluster configuration to /etc/ceph/{cluster}.conf
> [mon][DEBUG ] create the mon path if it does not exist
> [mon][DEBUG ] checking for done path: /var/lib/ceph/mon/cephtst-mon/done
> [mon][DEBUG ] create a done file to avoid re-doing the mon deployment
> [mon][DEBUG ] create the init path if it does not exist
> [mon][DEBUG ] locating the `service` executable...
> [mon][INFO  ] Running command: /sbin/service ceph -c
> /etc/ceph/cephtst.conf start mon.mon
> [mon][DEBUG ] === mon.mon ===
> [mon][DEBUG ] Starting Ceph mon.mon on mon...already running
> [mon][INFO  ] Running command: ceph --cluster=cephtst --admin-daemon
> /var/run/ceph/cephtst-mon.mon.asok mon_status
> [mon][ERROR ] admin_socket: exception getting command descriptions: [Errno
> 2] No such file or directory
> [mon][WARNIN] monitor: mon.mon, might not be running yet
> [mon][INFO  ] Running command: ceph --cluster=cephtst --admin-daemon
> /var/run/ceph/cephtst-mon.mon.asok mon_status
> [mon][ERROR ] admin_socket: exception getting command descriptions: [Errno
> 2] No such file or directory
> [mon][WARNIN] monitor mon does not exist in monmap
> [mon][WARNIN] neither `public_addr` nor `public_network` keys are defined
> for monitors
> [mon][WARNIN] monitors may not be able to form quorum
> Unhandled exception in thread started by
> Error in sys.excepthook:
> Original exception was:
>
> And in this time in folder /var/run/ceph/ present file with name
> ceph-mon.mon.asok
>
> Why does name of admin socket not changes to right?
> _______________________________________________
> ceph-users mailing list
> ceph-users at lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>



-- 
John Wilkins
Senior Technical Writer
Intank
john.wilkins at inktank.com
(415) 425-9599
http://inktank.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ceph.com/pipermail/ceph-users-ceph.com/attachments/20140518/d37e882c/attachment.htm>


[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