Bug 1427328 - System info tab in horiozon does not display correct version.
Summary: System info tab in horiozon does not display correct version.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-django-horizon
Version: 10.0 (Newton)
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: z3
: 10.0 (Newton)
Assignee: Radomir Dopieralski
QA Contact: Ido Ovadia
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-02-27 22:44 UTC by Jeremy
Modified: 2022-07-09 10:28 UTC (History)
5 users (show)

Fixed In Version: python-django-horizon-10.0.3-1.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-06-28 15:17:35 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
horizon version (47.97 KB, image/png)
2017-02-27 22:44 UTC, Jeremy
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-17028 0 None None None 2022-07-09 10:28:49 UTC
Red Hat Product Errata RHSA-2017:1598 0 normal SHIPPED_LIVE Low: python-django-horizon security, bug fix, and enhancement update 2017-06-28 18:52:32 UTC

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


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