Hi,
We are getting the below error while trying to create monitor from the
admin node.
ceph-deploy mon create-initial
====
[osd-ceph1][INFO ] Running command: ceph --cluster=ceph --admin-daemon
/var/run/ceph/ceph-mon.osd-ceph1.asok mon_status
[osd-ceph1][ERROR ] admin_socket: exception getting command
descriptions: [Errno 2] No such file or directory
====
I couldn't see /var/run/ceph/ceph-mon.osd-ceph1.aso in the monitor server.
See the full output
==========
[osd-ceph1][DEBUG ] connected to host: osd-ceph1
[osd-ceph1][DEBUG ] detect platform information from remote host
[osd-ceph1][DEBUG ] detect machine type
[osd-ceph1][DEBUG ] find the location of an executable
[ceph_deploy.mon][INFO ] distro info: CentOS Linux 7.3.1611 Core
[osd-ceph1][DEBUG ] determining if provided host has same hostname in remote
[osd-ceph1][DEBUG ] get remote short hostname
[osd-ceph1][DEBUG ] deploying mon to osd-ceph1
[osd-ceph1][DEBUG ] get remote short hostname
[osd-ceph1][DEBUG ] remote hostname: osd-ceph1
[osd-ceph1][DEBUG ] write cluster configuration to /etc/ceph/{cluster}.conf
[osd-ceph1][DEBUG ] create the mon path if it does not exist
[osd-ceph1][DEBUG ] checking for done path:
/var/lib/ceph/mon/ceph-osd-ceph1/done
[osd-ceph1][DEBUG ] create a done file to avoid re-doing the mon deployment
[osd-ceph1][DEBUG ] create the init path if it does not exist
[osd-ceph1][INFO ] Running command: systemctl enable ceph.target
[osd-ceph1][INFO ] Running command: systemctl enable ceph-mon@osd-ceph1
[osd-ceph1][INFO ] Running command: systemctl start ceph-mon@osd-ceph1
[osd-ceph1][INFO ] Running command: ceph --cluster=ceph --admin-daemon
/var/run/ceph/ceph-mon.osd-ceph1.asok mon_status
[osd-ceph1][ERROR ] admin_socket: exception getting command
descriptions: [Errno 2] No such file or directory
[osd-ceph1][WARNIN] monitor: mon.osd-ceph1, might not be running yet
[osd-ceph1][INFO ] Running command: ceph --cluster=ceph --admin-daemon
/var/run/ceph/ceph-mon.osd-ceph1.asok mon_status
[osd-ceph1][ERROR ] admin_socket: exception getting command
descriptions: [Errno 2] No such file or directory
[osd-ceph1][WARNIN] monitor osd-ceph1 does not exist in monmap
[ceph_deploy.mon][INFO ] processing monitor mon.osd-ceph1
root@osd-ceph1's password:
root@osd-ceph1's password:
[osd-ceph1][DEBUG ] connected to host: osd-ceph1
[osd-ceph1][DEBUG ] detect platform information from remote host
[osd-ceph1][DEBUG ] detect machine type
[osd-ceph1][DEBUG ] find the location of an executable
[osd-ceph1][INFO ] Running command: ceph --cluster=ceph --admin-daemon
/var/run/ceph/ceph-mon.osd-ceph1.asok mon_status
[osd-ceph1][ERROR ] admin_socket: exception getting command
descriptions: [Errno 2] No such file or directory
==========
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com