Not all commands in fuel upgrade script has stderr redirection
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
Medium
|
Ruslan Aliev |
Bug Description
From this: https:/
System test showed following error message:
===
Traceback
... skipped ...
AssertionError: Upgrade script fails with next message {here must be stderr output}
===
But fuel-upgrade.log contain more usable error message:
===
2015-07-31 05:37:49 ERROR 6464 (upgrade) HostSystemUpgrader: failed to upgrade: "Shell command executed with "1" exit code: yum install -v -y fuel-7.0.0 "
Traceback (most recent call last):
File "/var/upgrade/
upgrader.
File "/var/upgrade/
self.
File "/var/upgrade/
utils.
File "/var/upgrade/
_wait_
File "/var/upgrade/
'exit code: {1} '.format(exit_code, cmd))
ExecutedErrorNo
===
Therefore, not all commands in fuel upgrade script has stderr redirection.
Changed in fuel: | |
status: | New → Confirmed |
description: | updated |
tags: |
added: feature-upgrade removed: system-tests |
summary: |
- def run_script logging errors without stderr + Not all commands in fuel upgrade script has stderr redirection |
no longer affects: | fuel/7.0.x |
tags: | added: low-hanging-fruit |
tags: | added: area-python |
Changed in fuel: | |
assignee: | Fuel Python Team (fuel-python) → Ruslan Aliev (raliev) |
Changed in fuel: | |
status: | In Progress → Fix Released |
Fix proposed to branch: master /review. openstack. org/241314
Review: https:/