Hi,
My lab environment has just one node for testing purposes.
As user ceph (with sudo privileges granted) I have executed the following commands in my environment:
ceph-deploy install vdicnode01
ceph-deploy --cluster vdiccephmgmtcluster new vdicnode01 --cluster-network 192.168.100.0/24 --public-network 192.168.100.0/24
ceph-deploy --cluster vdiccephmgmtcluster mon create-initial
But I get the followihg error:
[vdicnode01][INFO ] Running command: sudo /usr/bin/ceph --connect-timeout=25 --cluster=vdiccephmgmtcluster --admin-daemon=/var/run/ceph/vdiccephmgmtcluster-mon.vdicnode01.asok mon_status
[vdicnode01][ERROR ] "ceph mon_status vdicnode01" returned 22
[vdicnode01][DEBUG ] admin_socket: exception getting command descriptions: [Errno 2] No such file or directory
[ceph_deploy.gatherkeys][ERROR ] Failed to connect to host:vdicnode01
[ceph_deploy.gatherkeys][INFO ] Destroy temp directory /tmp/tmp8Rp143
[ceph_deploy][ERROR ] RuntimeError: Failed to connect any mon
The conf file:
[ceph@vdicnode01 ceph]$ cat /etc/ceph/vdiccephmgmtcluster.conf
[global]
fsid = 5841962c-4100-41e9-a450-12ef53312b8f
public_network = 192.168.100.0/24
cluster_network = 192.168.100.0/24
mon_initial_members = vdicnode01
mon_host = 192.168.100.101
auth_cluster_required = cephx
auth_service_required = cephx
auth_client_required = cephx
The content of the directory where I've run all commands:
[ceph@vdicnode01 vdiccephmgmtcluster]$ ls -lisa
total 64
191316 4 drwxrwxr-x. 2 ceph ceph 4096 Jul 11 01:21 .
67153692 4 drwx------. 4 ceph ceph 4096 Jul 10 01:06 ..
1433511 8 -rw-rw-r--. 1 ceph ceph 8097 Jul 11 01:17 ceph-deploy-ceph.log
191306 40 -rw-rw-r--. 1 ceph ceph 39174 Jul 11 01:34 ceph-deploy-vdiccephmgmtcluster.log
194468 4 -rw-rw-r--. 1 ceph ceph 272 Jul 11 01:21 vdiccephmgmtcluster.conf
1433510 4 -rw-------. 1 ceph ceph 73 Jul 11 01:21 vdiccephmgmtcluster.mon.keyring
[
Any help will be welcome!
Thanks a lot.
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com