Bug 1042740 - Virt related links are returned in RSDL when engine is in Gluster only mode
Summary: Virt related links are returned in RSDL when engine is in Gluster only mode
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: rhsc
Version: 2.1
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: RHGS 2.1.2
Assignee: Ramesh N
QA Contact: Matt Mahoney
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-13 09:13 UTC by Ramesh N
Modified: 2015-05-13 16:28 UTC (History)
6 users (show)

Fixed In Version: cb12
Doc Type: Bug Fix
Doc Text:
Cause: There was an issue in session handling at server side Consequence: Virt related links are returned in RSDL during SDK generation. This happens only when user generates the SDK immediately after starting the engine without accessing the RSDL thorugh browser or another way. Because of this RSDL issue, generated SDK/CLI will have Virt related verbs. Fix: Session handling has fixed to handle this case and RSDL will have only Gluster related links in. Result: Generated SDK will not have any Virt related verb.
Clone Of:
Environment:
Last Closed: 2014-02-25 08:08:49 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2014:0208 0 normal SHIPPED_LIVE Red Hat Storage 2.1 enhancement and bug fix update #2 2014-02-25 12:20:30 UTC
oVirt gerrit 22367 0 None None None Never

Description Ramesh N 2013-12-13 09:13:46 UTC
Description of problem:

 Virt related API links are returned in rsdl thought engine is running in Gluster only application mode

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


How reproducible:


Steps to Reproduce:
1. Setup the engine in gluster only mode
2. access http://server/api with "prefer: persistent-auth" header
3. access http://server/api?rsdl with "prefer: persistent-auth" and session id returned in previous step.

Actual results:

  Response will have all the links including the links which are only relevant for RHEVM like datacenter and vm.


Expected results:
  RSDL should contain only Gluster related API links.It should not contain data center, vms, etc

Additional info:

Comment 2 Dustin Tsang 2013-12-17 17:52:08 UTC
link elements with the attribute href set to "/api/domains" are present in the rsdl.

Comment 3 Kanagaraj 2013-12-18 04:59:00 UTC
"/api/domains" refers to LDAP/ad domains, this is applicable to us. Moving this back to ON_QA

Comment 4 Dusmant 2014-01-06 09:25:05 UTC
This is an internal bug and hence not required to be documented, considering it's already fixed.

Comment 6 errata-xmlrpc 2014-02-25 08:08:49 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


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