]> 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, 29 Dec 2025 22:30:02 +0000 (17:30 -0500)
commita2d38659b30d58f6537e109ad532b8f664d985f2
treee1d91c36e3ac99012ccbb9e86dc292986d4fdf3c
parent806524080ed4c1bab0a41b9681415b6723f8303e
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