Bug 1002661

Summary: [RHS-C] Version in API is wrong
Product: Red Hat Gluster Storage Reporter: Spenser Shumaker <sshumake>
Component: rhscAssignee: Shubhendu Tripathi <shtripat>
Status: CLOSED ERRATA QA Contact: Prasanth <pprakash>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.1CC: dtsang, knarra, mmahoney, pprakash, rhs-bugs, sdharane, sharne, shtripat, ssampat
Target Milestone: ---Keywords: ZStream
Target Release: RHGS 2.1.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cb8 Doc Type: Bug Fix
Doc Text:
Previously, incorrect version details were displayed in the API listing. Now, with this update, the correct version details are set to display in the API listing.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-25 07:36:15 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:
Attachments:
Description Flags
Downstream only patch none

Description Spenser Shumaker 2013-08-29 16:52:07 UTC
Description of problem:
<full_version> in api is wrong

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

How reproducible:
Always

Steps to Reproduce:
1.query the rhsc REST api "/api"
2.
3.

Actual results:
<version major="3" minor="3" build="0" revision="0"/><full_version>2.1.0.0</full_version>

Expected results:
<version major="3" minor="3" build="0" revision="0"/><full_version>3.3.0.0</full_version>

Additional info:

Comment 2 Shubhendu Tripathi 2013-11-09 09:31:14 UTC
For RHSC, the full version should be something like 2.1.<Revision>.<Build> id and accordingly the values of major, monir, revision and build should be populated.

Comment 3 Shubhendu Tripathi 2013-11-09 11:51:42 UTC
Created attachment 821863 [details]
Downstream only patch

Comment 4 Prasanth 2013-11-19 09:03:47 UTC
Verified as fixed in cb8

Following is the relevant output from cb8 build:

------
<product_info>
<name>Red Hat Storage Console</name>
<vendor>Red Hat</vendor>
<version major="2" minor="1" build="2" revision="0"/><full_version>2.1.2-0.24.master.el6_5</full_version>
</product_info>
------

Comment 5 Shalaka 2014-01-07 10:34:00 UTC
Please review the edited DocText and signoff.

Comment 6 Shubhendu Tripathi 2014-01-07 12:13:31 UTC
Doc text looks fine

Comment 8 errata-xmlrpc 2014-02-25 07:36:15 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.

http://rhn.redhat.com/errata/RHEA-2014-0208.html