monclient(hunting): handle_auth_bad_method server allowed_methods [2] but i only
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 directory2025-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
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
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
2025-12-27T21:47:31.933+0800 7f39f5e35700 -1 monclient(hunting): handle_auth_bad_method server allowed_methods but i only support
2025-12-27T21:47:35.006+0800 7f39f5e35700 -1 monclient(hunting): handle_auth_bad_method server allowed_methods but i only support
^CCluster connection aborted
解决办法:
# cd /var/lib/ceph/mon/
# ls
ceph-ceph1
# cd ceph-ceph1/
# ls
keyringkv_backendmin_mon_releasestore.db
# cat keyring
key = AQB4XUVpeUuTJBAAcExxxxxSDv4PEg==
caps mon = "allow *"
#
只能通过kerying来恢复。
页:
[1]