找回密码
 注册
查看: 191|回复: 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; i5 {' F& s) a! u1 }& J
- \+ F) \' `1 w* a- }: f
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
/ @. z( `; ?. ^/ u3 I  s0 w" W
( `& [3 p2 J! V. E2025-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- ?- u  s0 |4 {1 v

( \1 ^& P  i& b! h' i# [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, \0 x( ?# K! W* u$ u

. ^8 [0 Q! V% O( _0 A2025-12-27T21:47:31.933+0800 7f39f5e35700 -1 monclient(hunting): handle_auth_bad_method server allowed_methods [2] but i only support [1]# W) @( I1 \  o3 W# X2 t

; l2 ^  i. L; F2 l2025-12-27T21:47:35.006+0800 7f39f5e35700 -1 monclient(hunting): handle_auth_bad_method server allowed_methods [2] but i only support [1]
7 R6 t% s7 N* ~+ e. Z  O8 L. V! C
  n& ]5 C5 r) n) @: w2 x3 g* b$ a^CCluster connection aborted
9 \' {* S" D; s" W' t( u% ?' r) R$ o4 n& W8 r" X: A# \

/ M4 E1 M) }0 d* u% C3 ~5 n5 d/ }( s8 \: Z! d
解决办法:
5 H! ^9 J% _0 q% x1 [( j% f0 Q/ O2 D$ w* B: {: A8 I# Z
[root@ceph1 etc]# cd /var/lib/ceph/mon/
' u$ `. G9 z2 v[root@ceph1 mon]# ls
. W0 e: g, f) Dceph-ceph1
1 Z! H4 E- O7 d. N+ Y7 Y[root@ceph1 mon]# cd ceph-ceph1/
* O# R9 v( u# [5 ^/ m0 e. f$ c[root@ceph1 ceph-ceph1]# ls
, I1 C6 ~+ g3 T& K3 g! }4 ]keyring  kv_backend  min_mon_release  store.db
( I. F+ R5 j3 F9 p[root@ceph1 ceph-ceph1]# cat keyring
: v, m4 `7 v5 F8 @4 t! M[mon.]
( y0 X% b4 }4 ?        key = AQB4XUVpeUuTJBAAcExxxxxSDv4PEg==
5 @0 G0 _; o. F% h7 t. V        caps mon = "allow *"
8 ]2 O$ L8 p5 a7 E. x) c[root@ceph1 ceph-ceph1]# $ f3 l# v% K! n. w

- e4 Q/ |' R) g" n* W- y7 D" L, t- G1 L" |6 }
只能通过kerying来恢复。, e/ n7 E" F8 g' |. }$ o
, ^8 c; U3 _  s2 s& e! ?
( m6 S0 c# @% c/ s( Q8 P5 g9 c

- k0 Y) N: l4 l# S3 `1 T( T
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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