]> 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, 5 Jan 2026 21:23:33 +0000 (16:23 -0500)
commitc329bdc600510a3f37fd62c21336e3c89d84fecb
tree9d958e264109daeaec0892e1275959f8eeb06607
parent3ecb7cceb64ec9f050a9e07937db204cb66ec2bb
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