]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
node-proxy: fix a thread/locking issue
authorGuillaume Abrioux <gabrioux@ibm.com>
Fri, 12 Jan 2024 09:11:21 +0000 (09:11 +0000)
committerGuillaume Abrioux <gabrioux@ibm.com>
Thu, 25 Jan 2024 15:07:21 +0000 (15:07 +0000)
commitc3682f0e663a6fc4c471030d7f5ff15ef0239a49
treec7fb35f2867a9ce4aa97e4377e63e7fec74cfa91
parentc4675a6c97a8fe331f836113e5ffde4a09717dc4
node-proxy: fix a thread/locking issue

This `sleep(5)` should be initiated *after* the lock is released.
Otherwise, it can cause troubles with the reporter loop which can
never acquire the lock.

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
src/ceph-node-proxy/ceph_node_proxy/baseredfishsystem.py