Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1421683

Summary: [backport] --format json doesn't work since python-heatclient 0.8.0
Product: Red Hat OpenStack Reporter: Aviv Guetta <aguetta>
Component: python-heatclientAssignee: Crag Wolfe <cwolfe>
Status: CLOSED ERRATA QA Contact: Shai Revivo <srevivo>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 8.0 (Liberty)CC: augol, cwolfe, dcadzow, jruzicka, mburns, mlopes, nlevinki, pablo.iranzo, rhel-osp-director-maint, shardy, srevivo, therve, zbitter
Target Milestone: ---Keywords: FeatureBackport, Triaged, ZStream
Target Release: 8.0 (Liberty)   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: python-heatclient-1.0.0-2.el7ost Doc Type: Bug Fix
Doc Text:
Previously, when running the "heat output-show" command with the "--format json" option, only the output value was shown. This was a change in behaviour from previous versions (prior to 0.8.0), where the entire output definition (including the output_value, but also the description) was shown. There was no longer any way to get all of the data returned by the underlying API via the command line. With this update, the default format changes from "json" to "raw", but when the "json" format is selected the entire output data is shown. As a result, there is no change in the default behaviour, but when the "--format json" option is passed all of the data returned by the underlying API is shown, not just the output value.
Story Points: ---
Clone Of:
: 1424597 1424600 (view as bug list) Environment:
Last Closed: 2017-06-14 15:44:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1424597, 1424600    

Description Aviv Guetta 2017-02-13 12:46:32 UTC
Fix "heat output-show -F json" output format

So that it matches the equivalent OSC command's output. 
Also change the default output-show format to 'raw' to maintain current behavior.

Upsteam bug: https://bugs.launchpad.net/python-heatclient/+bug/1560087


Additional info:
Fix released for RHOS 11.

Comment 11 errata-xmlrpc 2017-06-14 15:44:25 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/RHBA-2017:1469