Bug 1038686 - rest: accepted request body for glusterhook resolve action is incorrect
Summary: rest: accepted request body for glusterhook resolve action is incorrect
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: rhsc-sdk
Version: 2.1
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: ---
: RHGS 2.1.2
Assignee: Ramesh N
QA Contact: Dustin Tsang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-05 15:53 UTC by Dustin Tsang
Modified: 2015-07-13 04:39 UTC (History)
7 users (show)

Fixed In Version: cb11
Doc Type: Bug Fix
Doc Text:
Previously, the accepted format for the action parameter for the glusterhook resolve action was incorrect. Now, with this update, the format of the action parameter is corrected.
Clone Of:
Environment:
Last Closed: 2014-02-25 08:07:56 UTC
Target Upstream Version:


Attachments (Terms of Use)
excerpt (871 bytes, text/plain)
2013-12-05 15:53 UTC, Dustin Tsang
no flags Details


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 21773 0 None None None Never

Description Dustin Tsang 2013-12-05 15:53:45 UTC
Created attachment 833224 [details]
excerpt

Description of problem:

The accepted body for a call to the glusterhooks/resolve action incorrect.
(POST api/clusters/{cluster:id}/glusterhooks/{glusterhook:id}/resolve)
rsdl excerpt attached.

Currently what is accepted:
<action>
  <host.name>${name}</host.name>
</action>

To follow the convention followed by all the other calls defined in the rsdl the request should allow:

<action>
  <host>
    <name>${name}</name>
  </host>
</action>
Version-Release number of selected component (if applicable):
rhsc-cb10

Comment 2 Dustin Tsang 2013-12-13 22:09:23 UTC
verified as fixed in rhsc-cb11

Comment 3 Shalaka 2014-01-21 08:52:29 UTC
Please review the edited DocText and signoff.

Comment 4 Ramesh N 2014-01-21 09:35:15 UTC
Doc test looks good.

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