找回密码
 注册
查看: 4177|回复: 0

7fb8ee362700 -1 auth: unable to find a keyring on /etc/ceph/ceph2.client.admin.k

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2021-1-16 18:19:58 | 显示全部楼层 |阅读模式
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 directory4 i. @! ^- ^4 K8 z( M* j+ c
2021-01-14 23:20:33.227691 7fb8ee362700 -1 monclient(hunting): ERROR: missing keyring, cannot use cephx for authentication, g( Y* O3 W. c% u) }4 |
2021-01-14 23:20:33.227696 7fb8ee362700  0 librados: client.admin initialization error (2) No such file or directory/ S4 M. W, J8 C. r  w2 l) {
Error connecting to cluster: ObjectNotFound
& |; |+ ~% m" _4 r5 \+ U. V- N& R/ @! e8 |2 q% g6 C! o1 Z/ O8 }

% D& G% s: H& J, g" J  h从ceph节点copy一个admin的认证文件到/etc/ceph目录下即可。
3 z1 W6 z: }* a* I6 |) zceph auth get-or-create client.admin | ssh  Hostname/IP sudo tee /etc/ceph/ceph2.client.admin.keyring  即可解决问题。
) C" n2 V' c- Q! x
您需要登录后才可以回帖 登录 | 注册

本版积分规则

返回首页|Archiver|手机版|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )

GMT+8, 2026-6-12 01:05 , Processed in 0.015677 second(s), 22 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表