-- coding: utf-8 --

from future import unicode_literals Jan 15 21:42:47 l22-41-14 ceph-create-keys: INFO:ceph-create-keys:ceph-mon admin socket not ready yet. Jan 15 21:42:48 l22-41-14 ceph-create-keys: admin_socket: exception getting command descriptions: [Errno 2] No such file or directory Jan 15 21:42:48 l22-41-14 ceph-create-keys: INFO:ceph-create-keys:ceph-mon admin socket not ready yet. Jan 15 21:42:49 l22-41-14 ceph-create-keys: INFO:ceph-create-keys:ceph-mon admin socket not ready yet. Jan 15 21:42:50 l22-4-14 ceph-create-keys: admin_socket: exception getting command descriptions: [Errno 2] No such file or directory Jan 15 21:42:50 l22-41-14 ceph-create-keys: INFO:ceph-create-keys:ceph-mon admin socket not ready yet. Jan 15 21:42:51 l22-41-14 ceph-create-keys: admin_socket: exception getting command descriptions: [Errno 2] No such file or directory

解决办法:

		cd /var/lib/ceph/bootstrap-mds
		cp -fr /etc/ceph/ceph.bootstrap-mds.keyring ceph.keyring
		chown ceph:ceph ceph.keyring
		sservice ceph-create-keys@l22-41-14 restart