ceph-deploy mgr create error No such file or directory:

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

 



Hi, 

I'm following the instructions of the web (http://docs.ceph.com/docs/master/start/quick-ceph-deploy/) and I'm trying to create a manager on my first node.

In my environment I have 2 nodes:

- vdicnode01 (mon, mgr and osd)
- vdicnode02 (osd)

Each server has to NIC, the public and the private where all ceph trafic will go over. 

I have created .local entries in /etc/hosts:

192.168.100.101   vdicnode01.local
192.168.100.102   vdicnode02.local 

Public names are resolved via DNS.

When I try to create the mgr in a fresh install I get the following error:

[vdicceph@vdicnode01 ceph]$ ceph-deploy --username vdicceph mgr create vdicnode01.local
[ceph_deploy.conf][DEBUG ] found configuration file at: /home/vdicceph/.cephdeploy.conf
[ceph_deploy.cli][INFO  ] Invoked (1.5.38): /bin/ceph-deploy --username vdicceph mgr create vdicnode01.local
[ceph_deploy.cli][INFO  ] ceph-deploy options:
[ceph_deploy.cli][INFO  ]  username                      : vdicceph
[ceph_deploy.cli][INFO  ]  verbose                       : False
[ceph_deploy.cli][INFO  ]  mgr                           : [('vdicnode01.local', 'vdicnode01.local')]
[ceph_deploy.cli][INFO  ]  overwrite_conf                : False
[ceph_deploy.cli][INFO  ]  subcommand                    : create
[ceph_deploy.cli][INFO  ]  quiet                         : False
[ceph_deploy.cli][INFO  ]  cd_conf                       : <ceph_deploy.conf.cephdeploy.Conf instance at 0x1985680>
[ceph_deploy.cli][INFO  ]  cluster                       : ceph
[ceph_deploy.cli][INFO  ]  func                          : <function mgr at 0x1916848>
[ceph_deploy.cli][INFO  ]  ceph_conf                     : None
[ceph_deploy.cli][INFO  ]  default_release               : False
[ceph_deploy.mgr][DEBUG ] Deploying mgr, cluster ceph hosts vdicnode01.local:vdicnode01.local
[vdicnode01.local][DEBUG ] connection detected need for sudo
[vdicnode01.local][DEBUG ] connected to host: vdicceph@vdicnode01.local
[vdicnode01.local][DEBUG ] detect platform information from remote host
[vdicnode01.local][DEBUG ] detect machine type
[ceph_deploy.mgr][INFO  ] Distro info: CentOS Linux 7.3.1611 Core
[ceph_deploy.mgr][DEBUG ] remote host will use systemd
[ceph_deploy.mgr][DEBUG ] deploying mgr bootstrap to vdicnode01.local
[vdicnode01.local][DEBUG ] write cluster configuration to /etc/ceph/{cluster}.conf
[vdicnode01.local][DEBUG ] create path if it doesn't exist
[ceph_deploy.mgr][ERROR ] OSError: [Errno 2] No such file or directory: '/var/lib/ceph/mgr/ceph-vdicnode01.local'
[ceph_deploy][ERROR ] GenericError: Failed to create 1 MGRs

--> I tet the same error if I use the vdicnode01 hostname (without .local).

Any help will be welcome!

Thanks a lot in advance
_______________________________________________
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