Upgrade migration scripts discard stdout and stderr

Bug #1884253 reported by Joseph Richard
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Triaged
Low
John Kung

Bug Description

Brief Description
-----------------
Upgrade migration script run with both stdout and stderr directed to /dev/null, which could cause important information to be lost.
See https://opendev.org/starlingx/config/src/branch/master/controllerconfig/controllerconfig/controllerconfig/upgrades/utils.py#L80

Severity
--------
Minor. Could make diagnosing failures harder.

Steps to Reproduce
------------------
Run upgrade migration script that outputs to stdout or stderr

Expected Behavior
------------------
Output is captured

Actual Behavior
----------------
Output is discarded

Reproducibility
---------------
100%

Test Activity
-------------
Developer Testing

Tags: stx.update
Ghada Khalil (gkhalil)
tags: added: stx.update
Revision history for this message
Ghada Khalil (gkhalil) wrote :

Low priority - would be nice to fix, but shouldn't hold up any release

Changed in starlingx:
importance: Undecided → Low
status: New → Triaged
assignee: nobody → John Kung (john-kung)
Revision history for this message
Ghada Khalil (gkhalil) wrote :

Assigning to John Kung to decide whether this should be something to address in the future as a low priority improvement.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.