]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
node-proxy: re-auth and retry once on 401
authorGuillaume Abrioux <gabrioux@ibm.com>
Wed, 11 Feb 2026 07:41:32 +0000 (08:41 +0100)
committerGuillaume Abrioux <gabrioux@ibm.com>
Wed, 18 Feb 2026 08:52:38 +0000 (09:52 +0100)
commit3eb664e5f7e4decba96c6566b6252ff0ecc523e3
tree669ef86bbc10effd9bd2ee2bb292c8f769047d2e
parent0a4ad2fefc810b8c09b29beea8f16f54487902b8
node-proxy: re-auth and retry once on 401

This commit makes node-proxy clear the session, call login() and retry
the request when a 401 http error is caught.

Fixes: https://tracker.ceph.com/issues/74749
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
src/ceph-node-proxy/ceph_node_proxy/redfish.py
src/ceph-node-proxy/ceph_node_proxy/redfish_client.py