ironic-python-agent/releasenotes/notes/fix-agent-unable-to-stop-py3-6c210793476968d1.yaml
Riccardo Pittau d525f8a07f Making ironic-python-agent able to stop with python 3.x
The agent stop function will write a byte string 'a' to the pipe
as a signal for the run function to end process.
The run function is expecting a literal string.
In python 2.x the byte string will automatically be converted to
literal, while python 3.x won't do the conversion, causing the
process to never stop.
This patch will fix that behavior, allowing the IPA to correctly
stop using python 3.x.

Story: 2004928
Task: 29308
Change-Id: Iad16e8bed2436d961dea8ddaec1c2724225b4097
2019-02-04 09:55:08 +01:00

6 lines
114 B
YAML

---
fixes:
- Fixes an issue where the ironic-python-agent is not able to stop when
running with python3.x.