]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
mon/MonClient: improve error message when failing to auth
authorPatrick Donnelly <pdonnell@ibm.com>
Wed, 14 May 2025 23:33:43 +0000 (19:33 -0400)
committerPatrick Donnelly <pdonnell@ibm.com>
Mon, 26 Jan 2026 15:27:05 +0000 (10:27 -0500)
commitf7e2dcd190c5e720463ada1f86f05b3ea50842eb
tree900dcd81c3b128bb319808fb9c7ff49d47100e3d
parent509dc0d84fbce229f5ccd272e5565f71e9e3a9e5
mon/MonClient: improve error message when failing to auth

Currently you just see:

    2025-05-14T23:07:37.244+0000 7f00dedd1640 -1 monclient(hunting): handle_auth_bad_method server allowed_methods [2] but i only support [2]

which is terrible at communicating the problem.

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
src/mon/MonClient.cc