]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commit
Fix dispatcher crash on gevent LoopExit exceptions
authordeepssin <deepssin@redhat.com>
Tue, 11 Nov 2025 13:16:20 +0000 (13:16 +0000)
committerDavid Galloway <david.galloway@ibm.com>
Mon, 12 Jan 2026 21:12:29 +0000 (16:12 -0500)
commit28247fde1b09e1a7ec83620e1b8b56133b456353
treea96b45555dcdc44aada0623399414202b6b73000
parent6d71acd4063c3e2a53e5e67f97627ee8151337ff
Fix dispatcher crash on gevent LoopExit exceptions
Handle gevent LoopExit exceptions gracefully to prevent dispatcher
crashes. Add exception handling in main loop and lock_machines() call,
with loop exit counter (max 10) to prevent infinite restarts. Isolate
child processes using start_new_session=True so job supervisors
continue running independently if dispatcher encounters exceptions.

Signed-off-by: deepssin <deepssin@redhat.com>
teuthology/dispatcher/__init__.py