octavia/releasenotes/notes/fix-driver-agent-graceful-shutdown-daff9ffaccb09a9e.yaml
Gregory Thiemonge 51eef0d6d7 Fix driver-agent cleanup
The cleanup function (that handles graceful shutdown) of the Octavia
driver-agent didn't work properly, the threads that were spawned for
stopping the Unix listeners were stuck (deadlock), so the threads leaked
and the join functions in the caller didn't return.

Now the code uses a thread for handling the connections, and the
shutdown function is called from the process.

Story 2010052
Task 45468

Change-Id: Ida33a1a24eab2706902b1ce3cca704d51fa6a599
2022-06-21 08:13:02 +02:00

8 lines
263 B
YAML

---
fixes:
- |
Fix the shutdown of the driver-agent, the process might have been stuck
while waiting for threads to finish. Systemd would have killed the process
after a timeout, but some children processes might have leaked on the
controllers.