Bug 851099 - RESTAPI: Allow copying template's disks to another storage domain
Summary: RESTAPI: Allow copying template's disks to another storage domain
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-restapi
Version: 3.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 3.1.0
Assignee: Michael Pasternak
QA Contact: Jakub Libosvar
URL:
Whiteboard: storage
: 853136 (view as bug list)
Depends On:
Blocks: 860095
TreeView+ depends on / blocked
 
Reported: 2012-08-23 08:57 UTC by Michael Pasternak
Modified: 2018-12-01 18:04 UTC (History)
12 users (show)

Fixed In Version: si21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-12-04 20:01:19 UTC
oVirt Team: Storage
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Michael Pasternak 2012-08-23 08:57:43 UTC
Description of problem:

api should allow copying template's disks to another storage domain

Comment 1 Oded Ramraz 2012-08-23 09:09:07 UTC
Isn't it duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=660218 which closed as wontfix ?

Comment 2 Michael Pasternak 2012-08-23 09:21:07 UTC
No, as it for coping disk/s and not entire template.

Comment 3 Miki Kenneth 2012-08-23 11:56:54 UTC
so what will the process to copy template with 3 disk from one domain to another?

Comment 4 Michael Pasternak 2012-08-23 12:19:11 UTC
loop over all template's disks calling /copy routine, of course it make sense
providing copy-at-once interface, and we will, but only if backend will
implemented it, cause such action has to be executed in atomic context,
as no client can/should maintain roll-back on failure.

Comment 6 Michael Pasternak 2012-09-02 07:22:32 UTC
*** Bug 853136 has been marked as a duplicate of this bug. ***

Comment 8 Michael Pasternak 2012-10-09 12:44:18 UTC
implemented as:

POST /api/templates/xxx/disks/yyy/copy

<action>
 <storage_domain id="zzz"/>
</action>

http://gerrit.ovirt.org/8428

Comment 10 Jakub Libosvar 2012-10-24 13:46:09 UTC
Verified rhevm-restapi-3.1.0-22.el6ev.noarch


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