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

monclient(hunting): handle_auth_bad_method server allowed_methods [2] but i only

[复制链接]

0

主题

0

回帖

9

积分

管理员

积分
9
QQ
发表于 2025-12-27 23:57:10 | 显示全部楼层 |阅读模式
2025-12-27T21:47:31.930+0800 7f39f8099700 -1 auth: unable to find a keyring on /etc/ceph/ceph.client.admin.keyring,/etc/ceph/ceph.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin,: (2) No such file or directory
9 T+ S! s/ [* ]& |1 I! x. L* a  r% X6 `
2025-12-27T21:47:31.930+0800 7f39f8099700 -1 AuthRegistry(0x7f39f006b050) no keyring found at /etc/ceph/ceph.client.admin.keyring,/etc/ceph/ceph.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin,, disabling cephx
9 h( G" r8 J6 X1 |$ X
; h; F+ K* {* v) M' |2025-12-27T21:47:31.932+0800 7f39f8099700 -1 auth: unable to find a keyring on /etc/ceph/ceph.client.admin.keyring,/etc/ceph/ceph.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin,: (2) No such file or directory
, \0 T% M0 V( x9 \8 Y0 I- \+ J5 }9 F3 H2 h
2025-12-27T21:47:31.932+0800 7f39f8099700 -1 AuthRegistry(0x7f39f8097e90) no keyring found at /etc/ceph/ceph.client.admin.keyring,/etc/ceph/ceph.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin,, disabling cephx/ |$ O5 m- }* {8 l: I  J, o

6 Y3 Q; R6 f# Z7 ]2025-12-27T21:47:31.933+0800 7f39f5e35700 -1 monclient(hunting): handle_auth_bad_method server allowed_methods [2] but i only support [1]
2 R0 N. Z" a5 j  ?, u, q, \' @4 R- g3 p3 F' O3 O9 {. J' g6 u+ V) \
2025-12-27T21:47:35.006+0800 7f39f5e35700 -1 monclient(hunting): handle_auth_bad_method server allowed_methods [2] but i only support [1]: A7 v* j# B- h8 _  V" o* s* }! F
" H+ P/ Z: }) @. w& m( j% c6 ^# Y
^CCluster connection aborted
7 D' e! U$ u: h9 G( G
( I$ X1 @" w* o" h
: \% I6 u- B( R. U2 L+ j4 `2 [
% }- A& {; t2 g% T# e3 B5 {解决办法:
+ L$ K1 O: i& l+ u" C
0 G- k% h2 M$ ~8 g) S  L9 x[root@ceph1 etc]# cd /var/lib/ceph/mon/+ s& [# F( Y4 w" J" A
[root@ceph1 mon]# ls
# T& n0 w1 o3 {3 A8 @* J/ ~0 Eceph-ceph1
5 d; u" v# P2 z5 F/ M$ j9 W[root@ceph1 mon]# cd ceph-ceph1/& K1 v+ F( o: l0 C  ]
[root@ceph1 ceph-ceph1]# ls
5 R% c4 {2 ?/ j: _% |* b6 r: s- Ykeyring  kv_backend  min_mon_release  store.db
% N% z) o, l  a5 K2 N' c[root@ceph1 ceph-ceph1]# cat keyring
, w- @1 m0 P! N! p, H0 |0 W& l[mon.]% i3 E6 X2 q7 u
        key = AQB4XUVpeUuTJBAAcExxxxxSDv4PEg==
7 r# y# U' U$ w" E        caps mon = "allow *"" }1 J( v5 b# F9 ]; m
[root@ceph1 ceph-ceph1]# ! u. K- Z. R1 a5 c; I9 P

9 ~$ `" q$ A4 H- q4 b
* |6 I6 [: Z- G1 [只能通过kerying来恢复。/ b, T6 _: O/ |
* C5 s" n: I4 H  h3 p
1 q# V) G1 M, E4 t5 v

4 W( O" Z% i& d+ S0 {) M0 B4 s: o
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-6-11 22:57 , Processed in 0.016666 second(s), 22 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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