Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1047146

Summary: foreman openstack about page must include correct version and not Version Satellite 6 MDP2 (6.0.2)
Product: Red Hat OpenStack Reporter: Ofer Blaut <oblaut>
Component: ruby193-rubygem-foreman_openstack_simplifyAssignee: Jiri Stransky <jstransk>
Status: CLOSED ERRATA QA Contact: Omri Hochman <ohochman>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.0CC: dcleal, jstransk, mlopes, morazi, oblaut, ohochman, rhos-maint, yeylon
Target Milestone: z1Keywords: ZStream
Target Release: 4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ruby193-rubygem-foreman_openstack_simplify-0.0.6-5.el6ost Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-23 14:22:56 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
about TAB none

Description Ofer Blaut 2013-12-29 12:49:18 UTC
Created attachment 843070 [details]
about TAB

Description of problem:

foreman openstack about page must include correct version and not Version Satellite 6 MDP2 (6.0.2) 

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.install openstack foreman 
2.check about page & also look at TAB info when using chrome browser 
3.

Actual results:
Version Satellite 6 MDP2 (6.0.2)  ( see attach JPG )

Expected results:

foreman-1.3.0-28.el6sat openstack 

Additional info:
foreman-1.3.0-28.el6sat.noarch
foreman-installer-1.3.0-1.el6sat.noarch
ruby193-rubygem-foreman_openstack_simplify-0.0.6-3.el6ost.noarch
openstack-foreman-installer-1.0.0-1.el6ost.noarch
foreman-selinux-1.3.0-1.el6sat.noarch
foreman-proxy-1.3.0-3.el6sat.noarch
foreman-mysql2-1.3.0-28.el6sat.noarch
foreman-mysql-1.3.0-28.el6sat.noarch
rubygem-foreman_api-0.1.6-1.el6sat.noarch

Comment 1 Mike Orazi 2014-01-06 22:15:56 UTC
Related to bz:  1045026

Comment 2 Dominic Cleal 2014-01-07 08:16:16 UTC
This could be done in the simplify plugin again, by overriding SETTINGS[:version] with a new Foreman::Version object (see config/settings.rb, app/services/foreman/version.rb, VERSION).

Comment 3 Jiri Stransky 2014-01-08 13:17:23 UTC
Foreman 1.3 doesn't contain Foreman::Version class yet, but even if it did, it would read version info from VERSION file, so that wouldn't help. (VERSION file in the package contains the "Satellite 6 MDP2 (6.0.2)" string.)

So i made it read the version information from the rpm database (calling the rpm command), which is probably not the most elegant solution, but i don't see a better possibility to achieve the desired effect. I also added the "openstack" string to the version as Ofer suggested above, to indicate that foreman_openstack_simplify changes are being applied.

Code is here:
http://git.engineering.redhat.com/users/jstransk/os_m/foreman_openstack_simplify.git/commit/?id=31fc1ccf55b8ea02a0dec55e62ed5d046b4db626

The about page should now display this:


System Information

Version 1.3.0-28.el6sat openstack © 2009-2014 Paul Kelly and Ohad Levy

Comment 5 Omri Hochman 2014-01-15 10:20:17 UTC
Verified with ruby193-rubygem-foreman_openstack_simplify-0.0.6-5.el6ost.noarch (puddle 2014-01-13.5) 


The about page now display this:

System Information
Version 1.3.0.1-1.el6sat openstack © 2009-2014 Paul Kelly and Ohad Levy

Comment 10 Lon Hohberger 2014-02-04 17:19:59 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://rhn.redhat.com/errata/RHBA-2014-0046.html