Bug 1332239 - [REST-API] rsdl: wrong parameter name under copy disk template action
Summary: [REST-API] rsdl: wrong parameter name under copy disk template action
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: RestAPI
Version: 3.6.5
Hardware: x86_64
OS: Unspecified
unspecified
medium
Target Milestone: ovirt-4.0.0-beta
: 4.0.0
Assignee: Tal Nisan
QA Contact: Kevin Alon Goldblatt
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-05-02 15:16 UTC by Elad
Modified: 2016-07-05 07:39 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-05 07:39:35 UTC
oVirt Team: Storage
Embargoed:
rule-engine: ovirt-4.0.0+
rule-engine: planning_ack+
tnisan: devel_ack+
rule-engine: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 56953 0 master MERGED restapi: Change parameter name for template disk copy in RSDL 2016-05-03 10:50:52 UTC

Description Elad 2016-05-02 15:16:23 UTC
Description of problem:
In rsdl, the storage domain parameter should be called 'storage_domain' and not 'storagedomain'. 




Version-Release number of selected component (if applicable):
rhevm-3.6.6-0.1.el6.noarch
rhevm-restapi-3.6.6-0.1.el6.noarch


Actual results:

<type>Action</type>
<parameters_set>
<description>
copy the specified disk attached to the template to a specific storage domain
</description>
<parameter required="true" type="xs:string">
<name>storagedomain.id|name</name>


Expected results:

<type>Action</type>
<parameters_set>
<description>
copy the specified disk attached to the template to a specific storage domain
</description>
<parameter required="true" type="xs:string">
<name>storage_domain.id|name</name>


Additional info:

Comment 1 Yaniv Lavi 2016-05-09 10:53:26 UTC
Moving to first RC, since things should not be targeted to second one at this point.

Comment 2 Kevin Alon Goldblatt 2016-06-08 14:51:24 UTC
Tested with the following code:
------------------------------------------
rhevm-4.0.0.2-0.1.el7ev.noarch
vdsm-4.18.1-11.gita92976e.el7ev.x86_64

Tested with the following result:
------------------------------------------
Output from rsdl
-----------------
Parameter name of storage domain is now called storage_domain for copy template disk 

<description>copy the specified disk attached to the template to a specific storage domain</description><parameter required="true" type="xs:string"><name>action.storage_domain.id|name</name></parameter>

Moving to VERIFIED!

Comment 3 Sandro Bonazzola 2016-07-05 07:39:35 UTC
oVirt 4.0.0 has been released, closing current release.


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