]> git-server-git.apps.pok.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>
Mon, 29 Dec 2025 22:30:00 +0000 (17:30 -0500)
commit0208c4c73fef0354d69dc71c329d94cf2829f555
treedcf793b70c1965bac296e169f091059d6112e596
parent10effdf4b427f6f8d4f75dcb6f15e41cd4cd7d00
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