[tripleo-common] DibImageBuilder spews stdout/stderr
Bug #1577374 reported by
John Trowbridge
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
High
|
John Trowbridge |
Bug Description
We do not provide any log file for the subprocess.
https:/
This is undesirable behavior for a library, as the code calling into the library can not change this behavior without some mock gymnastics.
In particular, I am writing an ansible module that consumes this library. Ansible uses a job status file for tracking async tasks, and the stdout/stderr from DIB is ending up in that status file. This breaks the json format of that file.
We can instead have a defaulted log file option, and pipe both stderr and stdout to that file.
Changed in tripleo: | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → John Trowbridge (trown) |
milestone: | none → newton-1 |
Changed in tripleo: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This was fixed with https:/ /github. com/openstack/ tripleo- common/ commit/ 29d6f749d7bab01 fa3defb0c1c6e1f 95b268d665
not sure why the bot didnt update this bug