Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1572827 - FFU: openstack overcloud upgrade run outputs to stdout content which is not human readable and is not stored to a persistent location
FFU: openstack overcloud upgrade run outputs to stdout content which is not h...
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-common (Show other bugs)
13.0 (Queens)
Unspecified Unspecified
high Severity urgent
: rc
: 13.0 (Queens)
Assigned To: Lukas Bezdicka
Marius Cornea
: Triaged
Depends On:
Blocks: 1561169
  Show dependency treegraph
 
Reported: 2018-04-27 21:13 EDT by Marius Cornea
Modified: 2018-06-27 09:55 EDT (History)
12 users (show)

See Also:
Fixed In Version: openstack-tripleo-common-8.6.1-14.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-06-27 09:53:50 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
overcloud_upgrade_Controller.log (2.55 MB, text/plain)
2018-04-27 21:14 EDT, Marius Cornea
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
OpenStack gerrit 565853 None stable/queens: NEW tripleo-common: Persist package update ansible logs (I522acab84833b942865dc57156f3de99779d4f43) 2018-05-09 12:03 EDT
OpenStack gerrit 566018 None None None 2018-05-14 09:48 EDT
Red Hat Product Errata RHEA-2018:2086 None None None 2018-06-27 09:55 EDT

  None (edit)
Description Marius Cornea 2018-04-27 21:13:17 EDT
Description of problem:

FFU: openstack overcloud upgrade run outputs to stdout content which is not human readable. To give a brief example the following tasks output a huge amount of data which should be stored on a persistent location instead of stdout output:

TASK [Upgrade Mysql database from the host] 
TASK [take new os-net-config parameters into account now] 
TASK [Update all packages] <= this one actually puts the entire output of yum update * in the Ansible task json output

Version-Release number of selected component (if applicable):
openstack-tripleo-heat-templates-8.0.2-4.el7ost.noarch

How reproducible:
100%

Steps to Reproduce:
1. Run upgrade commands.

Actual results:
A lot of information which is not human readable.

Expected results:

stdout should reflect information relevant and readable by the user and point to the error in case of failure. The verbose logging should be stored on a persistent location that can be used for later debug purposes.

Additional info:

I believe this applies to all ffu/upgrade/updates. I am attaching such example from running openstack overcloud upgrade run --roles Controller --skip-tags validation.
Comment 1 Marius Cornea 2018-04-27 21:14 EDT
Created attachment 1427901 [details]
overcloud_upgrade_Controller.log
Comment 2 Jose Luis Franco 2018-04-30 10:24:25 EDT
@Jirka, this BZ has been assigned to you during triage duty call. Please, feel free to reasign.
Comment 7 Carlos Camacho 2018-05-18 07:42:10 EDT
This is a cosmetic bug that we need to solve, but it does not affect the FFWD workflow, removing the blocker flag.
Comment 16 Marius Cornea 2018-05-22 19:58:36 EDT
Output of ansible playbook is available in /var/log/mistral/package_update.log
Comment 18 errata-xmlrpc 2018-06-27 09:53:50 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2018:2086

Note You need to log in before you can comment on or make changes to this bug.