Bug 1191035 - RFE : Use contents of /etc/redhat-storage-release to show RHS version for a host
Summary: RFE : Use contents of /etc/redhat-storage-release to show RHS version for a host
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: rhsc
Version: rhgs-3.0
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: ---
Assignee: Sahina Bose
QA Contact: RHS-C QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-02-10 10:28 UTC by Shruti Sampat
Modified: 2018-01-30 11:40 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-01-30 11:40:36 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 979177 0 high CLOSED [RHSC] Need way to determine RHS version 2023-09-14 01:47:16 UTC

Internal Links: 979177

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.


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