Hello!
I am novice in Ceph and I in the desperation.
My problem in the fact that I cannot obtain keys from the nodes.
I found similar problem in maillist
(http://www.spinics.net/lists/ceph-users/msg03843.html), but me did not
succeed in solving it.
There Francesc Alted writes about the fact that " I tracked down my
problem. It turned out that I was setting different names for the ceph
servers in /etc/hosts than their own `hostname`."
I rename all hostnames on all my nodes but it did not help.
My admin server and nodes are:
adm ceph-vm01 ceph-vm02 ceph-vm03 ceph-vm04
Below my ceph.conf, log and hosts file.
[ceph@adm ~]$ more ceph.conf
[global]
auth_service_required = cephx
filestore_xattr_use_omap = true
auth_client_required = cephx
auth_cluster_required = cephx
mon_host = 192.168.10.210,192.168.10.211,192.168.10.212,192.168.10.213
mon_initial_members = ceph-vm01, ceph-vm02, ceph-vm03, ceph-vm04
fsid = 0a5be896-bbd8-4bea-9ca9-486d93222164
osd pool default size = 2
[ceph@adm ~]$ ceph-deploy gatherkeys ceph-vm01
[ceph_deploy.conf][DEBUG ] found configuration file at:
/home/ceph/.cephdeploy.conf
[ceph_deploy.cli][INFO ] Invoked (1.5.11): /usr/bin/ceph-deploy
gatherkeys ceph-vm01
[ceph_deploy.gatherkeys][DEBUG ] Checking ceph-vm01 for
/etc/ceph/ceph.client.admin.keyring
[ceph-vm01][DEBUG ] connected to host: ceph-vm01
[ceph-vm01][DEBUG ] detect platform information from remote host
[ceph-vm01][DEBUG ] detect machine type
[ceph-vm01][DEBUG ] fetch remote file
[ceph_deploy.gatherkeys][WARNIN] Unable to find
/etc/ceph/ceph.client.admin.keyring on ['ceph-vm01']
[ceph_deploy.gatherkeys][DEBUG ] Have ceph.mon.keyring
[ceph_deploy.gatherkeys][DEBUG ] Checking ceph-vm01 for
/var/lib/ceph/bootstrap-osd/ceph.keyring
[ceph-vm01][DEBUG ] connected to host: ceph-vm01
[ceph-vm01][DEBUG ] detect platform information from remote host
[ceph-vm01][DEBUG ] detect machine type
[ceph-vm01][DEBUG ] fetch remote file
[ceph_deploy.gatherkeys][WARNIN] Unable to find
/var/lib/ceph/bootstrap-osd/ceph.keyring on ['ceph-vm01']
[ceph_deploy.gatherkeys][DEBUG ] Checking ceph-vm01 for
/var/lib/ceph/bootstrap-mds/ceph.keyring
[ceph-vm01][DEBUG ] connected to host: ceph-vm01
[ceph-vm01][DEBUG ] detect platform information from remote host
[ceph-vm01][DEBUG ] detect machine type
[ceph-vm01][DEBUG ] fetch remote file
[ceph_deploy.gatherkeys][WARNIN] Unable to find
/var/lib/ceph/bootstrap-mds/ceph.keyring on ['ceph-vm01']
[ceph@adm ~]$ more /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4
localhost4.localdomain4
::1 localhost localhost.localdomain localhost6
localhost6.localdomain6
192.168.10.214 ceph-vm05.2memory.ru ceph-vm05 adm
192.168.10.210 ceph-vm01.2memory.ru ceph-vm01 node01 mon01 osd01
192.168.10.211 ceph-vm02.2memory.ru ceph-vm02 node02 mon02 osd02
192.168.10.212 ceph-vm03.2memory.ru ceph-vm03 node03 mon03 osd03
192.168.10.213 ceph-vm04.2memory.ru ceph-vm04 node04 mon04 osd04
--
Best regards,
Konstantin Khatskevich
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com