|
|
2021-01-14 23:20:33.227657 7fb8ee362700 -1 auth: unable to find a keyring on /etc/ceph/ceph2.client.admin.keyring,/etc/ceph/ceph2.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin: (2) No such file or directory
; f$ e/ _: j; X g! S2021-01-14 23:20:33.227691 7fb8ee362700 -1 monclient(hunting): ERROR: missing keyring, cannot use cephx for authentication
$ c8 l6 |7 K* z8 ]% z3 D! m2021-01-14 23:20:33.227696 7fb8ee362700 0 librados: client.admin initialization error (2) No such file or directory' j2 Q" y6 {) a T- s# p
Error connecting to cluster: ObjectNotFound8 g+ y2 x0 J3 ]# K$ x
% Q+ {! w D% z( g$ \9 `- S1 n5 y& p, s
& N/ R8 p# ?5 p( S8 m从ceph节点copy一个admin的认证文件到/etc/ceph目录下即可。! g+ d) H. ~/ H) {
ceph auth get-or-create client.admin | ssh Hostname/IP sudo tee /etc/ceph/ceph2.client.admin.keyring 即可解决问题。, B5 ]0 M- E" s
|
|