]> 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, 5 Jan 2026 21:23:33 +0000 (16:23 -0500)
commit92a6c855e704dcb73dce7ade1138771af0c9356b
tree6ccd86dd5cf6bae569cb6039cf75a074a91e95d6
parent648479853b766d8143c2a68e1e1e3ca5946e15e7
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