|
|
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
5 s4 {& j( a; T5 n, ], O2021-01-14 23:20:33.227691 7fb8ee362700 -1 monclient(hunting): ERROR: missing keyring, cannot use cephx for authentication
/ x }5 A; \9 y6 o$ K. e; c2021-01-14 23:20:33.227696 7fb8ee362700 0 librados: client.admin initialization error (2) No such file or directory% e% Q" t& {+ h2 f& ? @
Error connecting to cluster: ObjectNotFound6 N" `" C8 {! m |: a/ H) r
# R- {# b$ o" C, }0 T, D) t
- B9 V C" F6 X: ~从ceph节点copy一个admin的认证文件到/etc/ceph目录下即可。
$ `' H+ x0 a; t h' d& I8 bceph auth get-or-create client.admin | ssh Hostname/IP sudo tee /etc/ceph/ceph2.client.admin.keyring 即可解决问题。
/ O" }/ i" B( ~( a; { |
|