Risk of zombie subprocess when running playbooks in sysinv
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Confirmed
|
Low
|
Joshua Kraitberg |
Bug Description
Brief Description
-----------------
A robustness improvement to mitigate the potential of zombie subprocesses in sysinv.
Severity
--------
Minor
Steps to Reproduce
------------------
A number of run_playbook calls are issued within sysinv, such as on sysinv-conductor startup.
Expected Behavior
------------------
No zombie subprocesses
Actual Behavior
----------------
Chance of zombie subprocesses if killed at correct time
Reproducibility
---------------
100% if sysinv is killed while a playbook is running inside a subprocess
System Configuration
-------
N/A
Branch/Pull Time/Commit
-------
N/A
Last Pass
---------
N/A
Timestamp/Logs
--------------
N/A
Test Activity
-------------
Developer Testing
Workaround
----------
Use a helper function like subprocess.run or use Popen inside a context manager. "with subprocess.Popen".
Changed in starlingx: | |
assignee: | nobody → Joshua Kraitberg (jkraitbe-wr) |
Changed in starlingx: | |
importance: | Undecided → Low |
tags: | added: stx.config |
Fix proposed to branch: master /review. opendev. org/c/starlingx /config/ +/859086
Review: https:/