]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.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, 11 Feb 2026 10:22:43 +0000 (11:22 +0100)
commit408bfac02269a64be451ebaecdddc0d497a50ab9
tree72e71066b4d69f0b879081d6aca6a6da1159e0f8
parentc7d846020ec43b36c903639caf7ad57c775c7582
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