Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1213803

Summary: [Docs] [REST] [RFE] - Add an example of importing a block storage domain using the REST API
Product: Red Hat Enterprise Virtualization Manager Reporter: Andrew Dahms <adahms>
Component: DocumentationAssignee: Dayle Parker <dayleparker>
Status: CLOSED CURRENTRELEASE QA Contact: Byron Gravenorst <bgraveno>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.5.0CC: aburden, amureini, bgraveno, derez, gklein, lbopf, lsurette, mlipchuk, rbalakri, srevivo, ykaul, ylavi
Target Milestone: ovirt-3.6.4Keywords: FutureFeature
Target Release: 3.6.3   
Hardware: Unspecified   
OS: Unspecified   
URL: http://www.ovirt.org/Features/ImportStorageDomain
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-20 01:11:49 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Docs RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Andrew Dahms 2015-04-21 10:37:06 UTC
With RHEV 3.5.1, it is now possible to add a block storage domain using the REST API.

The following example must be added to the Technical Guide -

POST /api/storagedomains/ HTTP/1.1
Accept: application/xml
Content-type: application/xml
<storage_domain id="39baf524-380e-407c-8625-50709fcaa9c2">
  <import>true</import>
  <host id="052a880a-53e0-4fe3-9ed5-01f939d1df66" />
  <type>data</type>
  <storage>
     <type>iscsi</type>
  </storage>
</storage_domain>

Comment 1 Andrew Dahms 2015-04-21 12:29:03 UTC
Assigning to Andrew for review.

Comment 2 Sandro Bonazzola 2015-10-26 12:49:40 UTC
this is an automated message. oVirt 3.6.0 RC3 has been released and GA is targeted to next week, Nov 4th 2015.
Please review this bug and if not a blocker, please postpone to a later release.
All bugs not postponed on GA release will be automatically re-targeted to

- 3.6.1 if severity >= high
- 4.0 if severity < high

Comment 3 Andrew Burden 2015-11-19 03:49:08 UTC
Reassigning to rhev-docs queue

Comment 4 Andrew Dahms 2015-12-01 05:13:32 UTC
Returning to status 'NEW' while assigned to the default assignee.

Comment 5 Lucy Bopf 2016-02-24 00:48:06 UTC
Assigning to Dayle for review.

Dayle, this example should be added to the REST API Guide.

Comment 10 Byron Gravenorst 2016-04-07 06:48:46 UTC
Verified. Added revision history to the REST API guide.

Comment 11 Dayle Parker 2016-04-08 04:24:46 UTC
Thanks so much, Byron!

Everything appears to be all good to be published for an async docs update -- Maor, if you see anything requiring corrections, please needinfo me on this bug and I will make the changes.