Bug 1110443
| Summary: | heat build-info returns unknown | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Jeff Peeler <jpeeler> |
| Component: | openstack-heat | Assignee: | Jeff Peeler <jpeeler> |
| Status: | CLOSED ERRATA | QA Contact: | Ami Jeain <ajeain> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 5.0 (RHEL 7) | CC: | ajeain, breeler, sbaker, sdake, shardy, yeylon |
| Target Milestone: | rc | ||
| Target Release: | 5.0 (RHEL 7) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| 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"
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-07-24 17:24:28 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: | |||
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 :) verified:
modified heat.conf with revision 1.0:
# heat build-info
+----------+---------------------+
| Property | Value |
+----------+---------------------+
| api | { |
| | "revision": "1.0" |
| | } |
| engine | { |
| | "revision": "1.0" |
| | } |
+----------+---------------------+
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 |
[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