Bug 866985 - Cloned VM can't be placed on chosen storage domain
Summary: Cloned VM can't be placed on chosen storage domain
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-restapi
Version: 3.1.0
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: ---
Assignee: Michael Pasternak
QA Contact: Oded Ramraz
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-16 13:38 UTC by Petr Dufek
Modified: 2014-01-13 00:38 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-10-16 13:52:36 UTC
oVirt Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
logs (944.63 KB, application/x-gzip)
2012-10-16 13:38 UTC, Petr Dufek
no flags Details

Description Petr Dufek 2012-10-16 13:38:04 UTC
Created attachment 628162 [details]
logs

Description of problem:
When creating VM (clone VM from snapshot), final storage domain is stated. But VM is created then on different storage domain.

Version-Release number of selected component (if applicable):
rhevm-3.1.0-20.el6ev.noarch

How reproducible:
- send CREATE on rhevm/api/vms with body like:
<vm>
  :
  <snapshots>
    <snapshot id="..">
    :
  </snapshots>
  <storage_domain id="">
  :
  </storage_domain>
</vm>
  
Actual results:
VM on data_sd storage domain

Expected results:
VM on data_sd2 storage domain

Additional info:

Comment 1 Michael Pasternak 2012-10-16 13:52:36 UTC
Petr,

your syntax is wrong, storage domain set via disk

<vm>
<disks>
  <disk>
    <storage_domains>
      <storage_domain id=xxx>


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