Bug 1191035

Summary: RFE : Use contents of /etc/redhat-storage-release to show RHS version for a host
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Shruti Sampat <ssampat>
Component: rhscAssignee: Sahina Bose <sabose>
Status: CLOSED CANTFIX QA Contact: RHS-C QE <rhsc-qe-bugs>
Severity: low Docs Contact:
Priority: low    
Version: rhgs-3.0CC: nlevinki, rhs-bugs, rhsc-qe-bugs, sabose, ssampat
Target Milestone: ---Keywords: FutureFeature, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-01-30 11:40:36 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:

Description Shruti Sampat 2015-02-10 10:28:21 UTC
Description of problem:
------------------------

Currently the RHS version for a host displayed in the Console is fetched from the rpm version of the package redhat-storage-server. I would suggest to show the contents of the file /etc/redhat-storage-release instead of the rpm version. 

For e.g. the RHS version for a RHSS 3.0.3 node appears like this -

3.0.3.4 - 1.el6rhs

On the node -

# rpm -qa|grep redhat-storage-server
redhat-storage-server-3.0.3.4-1.el6rhs.noarch

# cat /etc/redhat-storage-release 
Red Hat Storage Server 3.0 Update 3

I think the contents of the file above are more meaningful to the user as far as the RHS version is concerned.

Version-Release number of selected component (if applicable):
Red Hat Storage Console Version: 3.0.3-1.21.el6rhs

How reproducible:
Always

Steps to Reproduce:
1. See RHS version in General tab of a host managed by the Console.

Actual results:
Console shows the version of redhat-storage-server package as the RHS version.

Expected results:
Show the contents of file /etc/redhat-storage-release as RHS version.

Additional info:

Comment 1 Sahina Bose 2015-04-20 07:26:19 UTC
How would you differentiate between async and update releases if you read the /etc/redhat-storage-release?

Comment 2 Shruti Sampat 2015-04-20 07:34:29 UTC
Information about updates to a major version can be obtained from /etc/redhat-storage-release file. For e.g. on a RHSS 3.0.4 system, the following can be observed -

# cat /etc/redhat-storage-release 
Red Hat Storage Server 3.0 Update 4

Comment 4 Sahina Bose 2018-01-30 11:40:36 UTC
Thank you for your bug report. However, this bug is being closed as it's on a component where no further new development is being undertaken.