Bug 1427328

Summary: System info tab in horiozon does not display correct version.
Product: Red Hat OpenStack Reporter: Jeremy <jmelvin>
Component: python-django-horizonAssignee: Radomir Dopieralski <rdopiera>
Status: CLOSED ERRATA QA Contact: Ido Ovadia <iovadia>
Severity: low Docs Contact:
Priority: low    
Version: 10.0 (Newton)CC: aortega, athomas, jschluet, mrunge, srevivo
Target Milestone: z3Keywords: Triaged, ZStream
Target Release: 10.0 (Newton)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-django-horizon-10.0.3-1.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-28 15:17:35 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:
Attachments:
Description Flags
horizon version none

Description Jeremy 2017-02-27 22:44:39 UTC
Created attachment 1258212 [details]
horizon version

Description of problem: version says "REDHATVERSION" instead of actual package version.

Looks like incomplete code here for version.py.
osp10 should say :
    release = "4.el7ost"
    version = "10.0.1"



###osp10
cat /usr/lib/python2.7/site-packages/horizon/version.py

class VersionInfo(object):
    release = "REDHATRELEASE"
    version = "REDHATVERSION"

    def version_string(self):
        return self.version

    def release_string(self):
        return self.release

version_info = VersionInfo()

python-django-horizon-10.0.1-4.el7ost.noarch



###OSP9
/usr/lib/python2.7/site-packages/horizon/version.py

class VersionInfo(object):
    release = "3.el7ost"
    version = "9.0.1"

    def version_string(self):
        return self.version

    def release_string(self):
        return self.release

version_info = VersionInfo()


[root@overcloud-controller-0 heat-admin]# rpm -qa |grep horiz
python-django-horizon-9.0.1-3.el7ost.noarch

Comment 1 Red Hat Bugzilla Rules Engine 2017-02-27 22:44:45 UTC
This bugzilla has been removed from the release and needs to be reviewed and Triaged for another Target Release.

Comment 2 Red Hat Bugzilla Rules Engine 2017-03-02 13:47:01 UTC
This bugzilla has been removed from the release and needs to be reviewed and Triaged for another Target Release.

Comment 3 Radomir Dopieralski 2017-03-08 17:57:37 UTC
This is now fixed in the spec file, in commit 268f26385599ac6779e8e0af2a4fbbecefdbfc2a, it should be correct in the next build.

Comment 8 Ido Ovadia 2017-06-01 14:49:43 UTC
Verified
========
python-django-horizon-10.0.3-6.el7ost.noarch

Comment 10 errata-xmlrpc 2017-06-28 15:17:35 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/RHSA-2017:1598