Bug 1152664

Summary: [PPC][restapi] Cannot clone ppc64 VMs from snapshot using REST API
Product: Red Hat Enterprise Virtualization Manager Reporter: Ori Gofen <ogofen>
Component: ovirt-engineAssignee: Michal Skrivanek <michal.skrivanek>
Status: CLOSED CURRENTRELEASE QA Contact: Artyom <alukiano>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 3.4.1-1CC: acanan, bazulay, dfediuck, gklein, hannsj_uhl, istein, lsurette, michal.skrivanek, rbalakri, rgolan, Rhev-m-bugs, sherold, srevivo, ykaul
Target Milestone: ovirt-3.6.0-rc3Keywords: Triaged, ZStream
Target Release: 3.6.0   
Hardware: ppc64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: A balloon device was created for a VM which didn't support it. Consequence: a clone CM for PPC was failing Fix: prevent the balloon setting if the vm doesn't have the device and doesn't support it Result: Clone a PPC VM works
Story Points: ---
Clone Of:
: 1182549 (view as bug list) Environment:
Last Closed: 2016-04-20 01:26:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1152659    
Bug Blocks: 1122979, 1182549, 1201513    

Description Ori Gofen 2014-10-14 15:59:37 UTC
Description of problem:
cloning ppc VM from snapshot fails without adding additional info about 

<memory_policy>
      <ballooning>
               false
      </ballooning>
</memory_policy>

There isn't need to be any api change on this matter,or, in case PM decides that libvirt consistency is more important than costumer & all rhev qa automation scripts, this bug needs to be edited to be a [DOC] bug but closed

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Michal Skrivanek 2014-10-22 10:19:41 UTC
easy workaround. targeting 3.5

Comment 2 Scott Herold 2014-10-22 19:26:12 UTC
Assuming this becomes a non-issue once BZ 1152659 is resolved.  Setting dependent BZ.  Leaving this item open for test validation upon resolution of core issue.

Comment 5 Sandro Bonazzola 2015-10-26 12:30: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 6 Michal Skrivanek 2015-10-26 17:15:01 UTC
Moving to ON_QA to test as it is supposed to work ok in 3.6

Comment 7 Artyom 2015-10-27 07:43:55 UTC
Verified on rhevm-3.6.0-0.18.el6.noarch

Run REST code:
<vm>
  <name>test_clone_snapshot</name>
  <cluster><name>golden_env_mixed_1</name></cluster>
  <display>
    <type>vnc</type>
  </display>
  <snapshots>
    <snapshot id="1b60b936-439f-4b3c-887b-98d249fd649c"/>
  </snapshots>
</vm>
Succeed and vm created