Files
os-brick/releasenotes/notes/default-timeout-26c838af8b7af9fc.yaml
Gorka Eguileor 3c15f88a36 Add timeout default to execute command
This patch adds a reasonable timeout (10 minutes) to all commands
executed using process_utils.execute.

This is useful in current release to make sure that if a processes hangs
it doesn't get stuck there forever.

For older releases, where privsep could only process a single request at
a time, it's even more helpful, because it means it will "automatically"
unblock privsep requests after 10 minutes if a process gets stuck.

Change-Id: I2a42ede824c4b0d0d7b3e4eefefabd64714604eb
2020-11-10 16:36:29 +01:00

6 lines
162 B
YAML

---
fixes:
- |
Add a 10 minutes default timeout to shell commands executed through
subprocess to prevent the possibility of them getting stuck forever.