Bug 1110443 - heat build-info returns unknown
Summary: heat build-info returns unknown
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-heat
Version: 5.0 (RHEL 7)
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 5.0 (RHEL 7)
Assignee: Jeff Peeler
QA Contact: Ami Jeain
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-17 16:18 UTC by Jeff Peeler
Modified: 2014-09-08 05:43 UTC (History)
6 users (show)

Fixed In Version: openstack-heat-2014.1.1-2.1.el7ost
Doc Type: Enhancement
Doc Text:
Previously, Orchestration's revision build-info was returned with the default "unknown", for example "revision": "unknown", which was not very useful. This has been fixed to reflect the RPM version information of the packages produced at build time. For example: "revision": "1.0"
Clone Of:
Environment:
Last Closed: 2014-07-24 17:24:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:0935 0 normal SHIPPED_LIVE openstack-heat bug-fix advisory 2014-07-24 21:22:09 UTC

Description Jeff Peeler 2014-06-17 16:18:16 UTC
[root@525400ea1a66 ~(openstack_admin)]# heat build-info
+----------+-------------------------+
| Property | Value                   |
+----------+-------------------------+
| api      | {                       |
|          |   "revision": "unknown" |
|          | }                       |
| engine   | {                       |
|          |   "revision": "unknown" |
|          | }                       |
+----------+-------------------------+

Version-Release number of selected component (if applicable):
openstack-heat-engine-2014.1-1.4.el7ost.noarch

Looks like settings this in the configuration file during build time will fix it:
#heat_revision=unknown

Comment 5 Steven Hardy 2014-07-17 09:08:13 UTC
Note this is not a bug exactly - the returned data is correct wrt what's specified in the config file, see related upstream bug I just commented on:

https://bugs.launchpad.net/heat/+bug/1343102

It may make sense for us to populate this with version information derived from the packages though, which I guess is the point Jeff was making :)

Comment 7 Ami Jeain 2014-07-21 08:24:14 UTC
verified:

modified heat.conf with revision 1.0:
# heat build-info
+----------+---------------------+
| Property | Value               |
+----------+---------------------+
| api      | {                   |
|          |   "revision": "1.0" |
|          | }                   |
| engine   | {                   |
|          |   "revision": "1.0" |
|          | }                   |
+----------+---------------------+

Comment 9 errata-xmlrpc 2014-07-24 17:24:28 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.

http://rhn.redhat.com/errata/RHBA-2014-0935.html


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