找回密码
 注册
查看: 192|回复: 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& N% G, S6 ~( S+ T  d  a
0 b$ B2 u/ s* S; n9 V- v
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# ?, X- @" m3 y0 O
* d+ m+ j6 f! K
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
$ W. L1 n4 w1 W0 t" c
6 k' F+ {5 C9 c! H2025-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# `; s, g0 P4 @* ~9 a; J& Z

+ a8 A8 K  ^9 H' @, _2025-12-27T21:47:31.933+0800 7f39f5e35700 -1 monclient(hunting): handle_auth_bad_method server allowed_methods [2] but i only support [1]. b4 |' J4 U& j

1 a# R) [/ o9 Z% b' ~' u2025-12-27T21:47:35.006+0800 7f39f5e35700 -1 monclient(hunting): handle_auth_bad_method server allowed_methods [2] but i only support [1]2 H' a! j0 @+ x, k+ D5 l

' k( F& g- Y) v5 G2 m( M^CCluster connection aborted2 @* K# w! F' @6 E; [) t/ w
" ~+ e$ W$ H$ C
6 m5 B2 o- n! f$ y8 M( c9 `

) i$ F& i+ S! @# l* e: R7 o解决办法:
) Q" E2 l; H( w# Q! l$ N, f8 U# h1 V, ~3 [6 Z; P% m7 F
[root@ceph1 etc]# cd /var/lib/ceph/mon/
  @) G  f; g* o* o% o$ z[root@ceph1 mon]# ls# f) }% z8 G. }" Q
ceph-ceph1+ G; H6 }( }0 C  s$ N
[root@ceph1 mon]# cd ceph-ceph1/
0 Y- X$ z) I6 T7 x[root@ceph1 ceph-ceph1]# ls
5 g4 |: o( g* i0 Q3 ykeyring  kv_backend  min_mon_release  store.db& J6 H8 ^. F4 u: u9 Q/ L; S
[root@ceph1 ceph-ceph1]# cat keyring
* f' x0 Y6 b# O9 O6 p[mon.]
6 G5 w" \2 ?) F: X* r1 P        key = AQB4XUVpeUuTJBAAcExxxxxSDv4PEg==* l& O- @4 z: L4 a2 ^0 u0 O
        caps mon = "allow *". I& C& d1 ]7 k  l! A
[root@ceph1 ceph-ceph1]#
* X# @: m- G1 F( g: h  X5 l% n: P* v0 l
+ ]/ t4 Z4 W% y
只能通过kerying来恢复。6 R7 B9 T" `' V: Y9 k
8 ?! P/ s: d$ Y$ \+ d/ p+ Z) Y
, T7 l1 g3 a! w* I) P# C- ~
; U2 {' J& S1 ?% t6 j+ q( Q1 s
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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