Bug 1469994 - Make output of openstack stack failures list overcloud easy to read
Summary: Make output of openstack stack failures list overcloud easy to read
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 12.0 (Pike)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: beta
: 12.0 (Pike)
Assignee: Emilien Macchi
QA Contact: Marius Cornea
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-07-12 08:51 UTC by Marius Cornea
Modified: 2018-02-05 19:10 UTC (History)
13 users (show)

Fixed In Version: openstack-tripleo-heat-templates-7.0.0-0.20170805163048.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-13 21:40:04 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 474269 0 None MERGED Improve logs from ansible, puppet, docker-puppet.py 2020-11-18 18:42:10 UTC
Red Hat Product Errata RHEA-2017:3462 0 normal SHIPPED_LIVE Red Hat OpenStack Platform 12.0 Enhancement Advisory 2018-02-16 01:43:25 UTC

Description Marius Cornea 2017-07-12 08:51:54 UTC
Description of problem:

openstack stack failures list overcloud outputs the Ansible task output on a single line which makes it very difficult to read in order to debug the failure. 

Below is such an example:
http://paste.openstack.org/show/615126/

We should format the task failure output so it is easy to read by a human operator in order to quickly spot what went wrong. 

Version-Release number of selected component (if applicable):

puppet-tripleo-7.1.1-0.20170627224658.f99b72a.el7ost.noarch
openstack-tripleo-common-containers-7.2.1-0.20170628001837.5a6423b.el7ost.noarch
openstack-tripleo-heat-templates-7.0.0-0.20170628002128.el7ost.noarch
openstack-tripleo-image-elements-7.0.0-0.20170607161959.401d861.el7ost.noarch
python-tripleoclient-7.1.1-0.20170628001144.e4e66f7.el7ost.noarch
openstack-tripleo-common-7.2.1-0.20170628001837.5a6423b.el7ost.noarch
openstack-tripleo-validations-7.1.1-0.20170627224206.591a65f.el7ost.noarch
openstack-tripleo-ui-7.1.1-0.20170627161345.68e8684.el7ost.noarch
openstack-tripleo-puppet-elements-7.0.0-0.20170614005502.9285877.el7ost.noarch

Comment 1 Martin André 2017-07-17 13:19:21 UTC
Bogdan recently pushed a change upstream that should dramatically improve ansible logs readability: https://review.openstack.org/#/c/474269/

Comment 2 Omri Hochman 2017-07-19 13:30:04 UTC
(In reply to Martin André from comment #1)
> Bogdan recently pushed a change upstream that should dramatically improve
> ansible logs readability: https://review.openstack.org/#/c/474269/


According to Jarda -  If it's not in already by now , that would be RFE for osp13.  

Marius - Can you please retest with the patch ?

Comment 4 Dan Prince 2017-08-16 13:32:07 UTC
Re-reading the initial issue here this seems to be related to not liking the format of the Ansible output from the CLI. And not necessarily a containers specific issue. As such it is unclear to me that the patch Martin Andre linked in above would fix the issue.

Alex: Not convinced this one belongs to the containers DFG. Will wait for feedback from QE before re-assigning.

Comment 12 errata-xmlrpc 2017-12-13 21:40:04 UTC
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-2017:3462


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