Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1553279

Summary: [RFE] Have foreman_theme_satellite read from a file to get Satellite version
Product: Red Hat Satellite Reporter: Zach Huntington-Meath <zhunting>
Component: PackagingAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: jcallaha
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.3.1CC: ehelms, mmccune
Target Milestone: UnspecifiedKeywords: FutureFeature
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tfm-rubygem-foreman_theme_satellite-1.0.4.17-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-13 13:32:28 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
verification screenshot 1
none
verification screenshot 2 none

Description Zach Huntington-Meath 2018-03-08 15:51:58 UTC
Description of problem:
Currently we have to update both the Satellite 'meta' rpm and Foreman_theme_satellite everytime we make a new Satellite release. It can be easy to miss updating foreman_theme_satellite which leads to having to rerelease and waste a lot of time.

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

Comment 3 jcallaha 2018-03-26 15:24:50 UTC
Verified in Satellite 6.3.1.

The current Satellite version is stored in /usr/share/satellite/metadata.yml

# cat /usr/share/satellite/metadata.yml
---
version: 6.3.1


Modifying this value will then propagate to the displayed version after restarting katello-services. See attached screenshot for modified version number.

Deleting the file reverts to a displayed version of '0.0.0-development'. See attached screenshot.

Comment 4 jcallaha 2018-03-26 15:25:13 UTC
Created attachment 1413218 [details]
verification screenshot 1

Comment 5 jcallaha 2018-03-26 15:25:29 UTC
Created attachment 1413219 [details]
verification screenshot 2

Comment 7 errata-xmlrpc 2018-04-13 13:32:28 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-2018:1126