]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mon/AuthMonitor: shutdown session connection on auth failure
authorPatrick Donnelly <pdonnell@ibm.com>
Tue, 13 May 2025 16:28:39 +0000 (12:28 -0400)
committerPatrick Donnelly <pdonnell@ibm.com>
Wed, 1 Oct 2025 18:47:07 +0000 (14:47 -0400)
commit4987e13ba5d833a8a7968e4f8f38cb41d1699420
tree93962f36f846eda4648f66bdd3e0d581685a6216
parentd68685517c8194d021db17c09924b54dc0b2f225
mon/AuthMonitor: shutdown session connection on auth failure

Currently the mons will allow the session to persist even though an auth
failure has occurred, probably while trying to obtain new tickets.

A sequence to easily trigger this:

    ceph auth rotate osd.0
    ceph auth wipe-rotating-service-keys

The osd.0 will continue interacting with the mons until restart or a network
interruption occurs.

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