]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.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 16:12:04 +0000 (16:12 +0000)
commitaff9d6f9ea73f3a603c066ec56c00630cbf99790
tree08fc8310f9cb6acd5e7a907b8a3bce4d5eac5981
parent6d1c80a5e902c54ba3050b4e30cee1262e625381
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>
(cherry picked from commit 06a4a637b5988a1b6d7bae5d74ae140ff9ba83b6)
src/ceph-node-proxy/ceph_node_proxy/baseredfishsystem.py