Bug 1038678

Summary: REST: rsdl definition for brick migrate is incorrectly defined
Product: Red Hat Gluster Storage Reporter: Dustin Tsang <dtsang>
Component: rhsc-sdkAssignee: Shubhendu Tripathi <shtripat>
Status: CLOSED ERRATA QA Contact: Dustin Tsang <dtsang>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 2.1CC: dpati, mmahoney, mmccune, rhs-bugs
Target Milestone: ---Keywords: ZStream
Target Release: RHGS 2.1.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cb12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-25 08:07:52 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
excerpt none

Description Dustin Tsang 2013-12-05 15:43:53 UTC
Description of problem:
The rsdl definition is not defined properly for brick migrate.
Rsdl excerpt attached.

According to the specifications attached, expected xml for request
should be like:

<bricks>
  <brick>
    <name>${name}</name>
  </brick>
</bricks>

instead it is expecting:

<action>
  <bricks>
    <brick>
      <name>${name}</name>
    </brick>
  </bricks>
</action>


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

Comment 2 Dustin Tsang 2013-12-05 15:46:26 UTC
Created attachment 833222 [details]
excerpt

Comment 3 Dustin Tsang 2013-12-18 16:22:13 UTC
verified as fixed in rhsc cb12

Comment 4 Shubhendu Tripathi 2014-01-22 11:35:52 UTC
Its new feature so doc text not required

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