]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
node-proxy: narrow build_data exception handling and re-raise
authorGuillaume Abrioux <gabrioux@ibm.com>
Thu, 29 Jan 2026 10:38:45 +0000 (11:38 +0100)
committerGuillaume Abrioux <gabrioux@ibm.com>
Thu, 19 Feb 2026 12:48:41 +0000 (12:48 +0000)
commit67b633ee7438ff85a2c5c71f2c4b9a04479fa6b6
treeae12f968b722da891aa193af6ef7a549660b3c16
parentd473bcc22573fe429be2395303fe9f958d2fda1c
node-proxy: narrow build_data exception handling and re-raise

With this commit, it catches only KeyError, TypeError, and
AttributeError in build_data() instead of Exception, and
re-raise after logging so callers get the actual error.

Fixes: https://tracker.ceph.com/issues/74749
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit ef9405850b96bd45c4dc1de04d9f7e77f642e76d)
src/ceph-node-proxy/ceph_node_proxy/redfishdellsystem.py