]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
node-proxy: logout from redfish api on Exception
authorGuillaume Abrioux <gabrioux@ibm.com>
Wed, 5 Apr 2023 12:14:40 +0000 (14:14 +0200)
committerGuillaume Abrioux <gabrioux@ibm.com>
Thu, 25 Jan 2024 14:48:43 +0000 (14:48 +0000)
commitb104cc57d2aa5f7cd35ca155b660a3f4ff304f20
treee0e960355eb0f193663cf5b1c0677a78dad905e3
parent8db1d9accc8079c6653099ac2b22c5151e5ac209
node-proxy: logout from redfish api on Exception

Otherwise it ends up recreating new session each time whereas the previous session
is left. After multiple failures, it reaches the limit and left sessions need to be
cleaned up manually.

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit 7c602947e45ceff719c105b0277a10a6e72831e5)
src/cephadm/node-proxy/redfish_system.py