Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1427328 - System info tab in horiozon does not display correct version.
System info tab in horiozon does not display correct version.
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-django-horizon (Show other bugs)
10.0 (Newton)
Unspecified Unspecified
low Severity low
: z3
: 10.0 (Newton)
Assigned To: Radomir Dopieralski
Ido Ovadia
: Triaged, ZStream
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-02-27 17:44 EST by Jeremy
Modified: 2017-06-28 11:17 EDT (History)
5 users (show)

See Also:
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 11:17:35 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


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


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:1598 normal SHIPPED_LIVE Low: python-django-horizon security, bug fix, and enhancement update 2017-06-28 14:52:32 EDT

  None (edit)
Description Jeremy 2017-02-27 17:44:39 EST
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 17:44:45 EST
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 08:47:01 EST
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 12:57:37 EST
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 10:49:43 EDT
Verified
========
python-django-horizon-10.0.3-6.el7ost.noarch
Comment 10 errata-xmlrpc 2017-06-28 11:17:35 EDT
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.