|
|
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
/ o/ b4 ~9 s" i; D6 S2021-01-14 23:20:33.227691 7fb8ee362700 -1 monclient(hunting): ERROR: missing keyring, cannot use cephx for authentication
& Z! E5 p$ Z r* f/ A0 N: n" T e2021-01-14 23:20:33.227696 7fb8ee362700 0 librados: client.admin initialization error (2) No such file or directory
( j) N; x$ G% `: t: B9 v& KError connecting to cluster: ObjectNotFound. R5 v8 \. E. z- l0 M
* _7 e9 ?) R7 F& `
) I8 E" s( O9 j( ?0 @
从ceph节点copy一个admin的认证文件到/etc/ceph目录下即可。
& C' M$ S- [3 I* lceph auth get-or-create client.admin | ssh Hostname/IP sudo tee /etc/ceph/ceph2.client.admin.keyring 即可解决问题。
5 @6 H5 o0 h0 H$ S |
|