找回密码
 注册
查看: 190|回复: 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
) j) {4 u; |  E2 J+ j8 h  ]2 }$ Q$ n4 w: k' M% `
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
* ^% G# b! B1 N9 s3 ]$ \/ T' R5 l- D: F; \( Y; s6 \
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* H( T" t/ D5 v/ _! G2 q
, ]# Y' ^' y( b& [2 D) D
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; {- \5 r4 ^  t4 P2 \: ?! a& |9 {

, ^& S; N; |+ P# h3 K! X2025-12-27T21:47:31.933+0800 7f39f5e35700 -1 monclient(hunting): handle_auth_bad_method server allowed_methods [2] but i only support [1]7 G- s% v7 ^2 }; H+ l, d

( j- i1 Z. O; T2 S6 U4 w% E9 i2025-12-27T21:47:35.006+0800 7f39f5e35700 -1 monclient(hunting): handle_auth_bad_method server allowed_methods [2] but i only support [1]
; b$ b- e0 p! s  y4 |, e# E  U: Q# j% O! X
^CCluster connection aborted# ]* f3 G, o% P1 W6 S4 [" Q: l
+ a7 i/ D! y( y' d; a1 I2 u' M" w
, s8 p; Q. r2 n! S1 \+ U+ y

+ {% \7 t+ Z1 L, O4 ?0 ^" n解决办法:
7 w3 `9 R. _$ L2 j& y- d
% b/ j1 ^: A; G8 V; s- U" D[root@ceph1 etc]# cd /var/lib/ceph/mon/- ~7 l* C2 i  N' m' T9 d
[root@ceph1 mon]# ls
5 E8 c3 L$ Z; s/ j7 aceph-ceph1
- l, f8 c! r- m+ o& }& Z% S+ x[root@ceph1 mon]# cd ceph-ceph1/; M# v% X1 H2 {& d
[root@ceph1 ceph-ceph1]# ls- M- |3 \0 Z) a& q0 ?
keyring  kv_backend  min_mon_release  store.db' c- {2 ]7 z* w) d
[root@ceph1 ceph-ceph1]# cat keyring + d3 v& @* s5 q4 l
[mon.]
! Z) P5 S0 a( o        key = AQB4XUVpeUuTJBAAcExxxxxSDv4PEg==
, f: N# G! {, L2 e# o$ A        caps mon = "allow *") W: ?1 @% w$ x9 f6 \/ J, X
[root@ceph1 ceph-ceph1]# . [0 T0 c& G& G7 k( c( W$ ?( Q7 _

2 q7 P* @, Q# }( X% x3 s% [
% v( a, O( G9 ^( s0 o% d! F只能通过kerying来恢复。
' p/ `. d; F" u8 D
- w- d  h* E! J2 k- ^
. Y# R' v6 B0 I1 Z
9 q1 W4 z/ U7 N6 s$ p$ ?9 i$ Q+ f. p
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-6-11 21:59 , Processed in 0.018478 second(s), 22 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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