Bug 1248465

Summary: REDHATVERSION in footer is not substituted
Product: Red Hat OpenStack Reporter: Martin Pavlásek <mpavlase>
Component: python-django-horizonAssignee: Matthias Runge <mrunge>
Status: CLOSED ERRATA QA Contact: Martin Pavlásek <mpavlase>
Severity: unspecified Docs Contact:
Priority: high    
Version: 7.0 (Kilo)CC: aortega, athomas, iovadia, mrunge, sclewis, yeylon
Target Milestone: asyncKeywords: Triaged, ZStream
Target Release: 7.0 (Kilo)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-django-horizon-2015.1.0-11.el7ost Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-19 11:53:29 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:

Description Martin Pavlásek 2015-07-30 11:10:37 UTC
Description of problem:
In footer of System information page there is string REDHATVERSION that I think should be substituted by real version such as "7.0" or "RHOS 7.0".

Version-Release number of selected component (if applicable):
openstack-dashboard-2015.1.0-8.el7ost.noarch
openstack-dashboard-theme-2015.1.0-8.el7ost.noarch
RHEL 7.1

How reproducible:
100%

Steps to Reproduce:
1. log in as admin user
2. navigate: Admin - System - System Information

Actual results:
Version: REDHATVERSION

Expected results:
Version: something like RHOS-7.0

Additional info:

Comment 3 Matthias Runge 2015-08-04 13:34:24 UTC
This is a fall out of using/not using pbr at runtime, and patching pbr out of horizon.

Comment 4 Matthias Runge 2015-08-06 07:40:52 UTC
How to test:

go to dashboard/admin/info/
look at lower right corner: there should be a release version instead of
Version: REDHATVERSION

Comment 6 Lon Hohberger 2015-08-06 20:38:18 UTC
You can add pbr back in if you need to - it's part of RHEL OSP 7.

Comment 7 Matthias Runge 2015-08-07 07:24:15 UTC
I would put 

# finalize pbr removal
sed -i s/REDHATVERSION/%{version}/ horizon/version.py
sed -i s/REDHATRELEASE/%{release}/ horizon/version.py


back in spec file.

Comment 9 Martin Pavlásek 2015-08-17 16:00:15 UTC
Installed from package:
  python-django-horizon-2015.1.0-11.el7ost.noarch

and it's fixed - here is note in footer of the page:
"Version: 2015.1.0"

Verified.

Comment 11 errata-xmlrpc 2015-08-19 11:53:29 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-2015:1644