Bug 1152664 - [PPC][restapi] Cannot clone ppc64 VMs from snapshot using REST API
Summary: [PPC][restapi] Cannot clone ppc64 VMs from snapshot using REST API
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.4.1-1
Hardware: ppc64
OS: Unspecified
unspecified
urgent
Target Milestone: ovirt-3.6.0-rc3
: 3.6.0
Assignee: Michal Skrivanek
QA Contact: Artyom
URL:
Whiteboard:
Depends On: 1152659
Blocks: 1122979 1182549 RHEV3.6PPC
TreeView+ depends on / blocked
 
Reported: 2014-10-14 15:59 UTC by Ori Gofen
Modified: 2016-05-26 01:48 UTC (History)
14 users (show)

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
Clone Of:
: 1182549 (view as bug list)
Environment:
Last Closed: 2016-04-20 01:26:59 UTC
oVirt Team: Virt
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 34428 0 ovirt-engine-3.5 ABANDONED restapi: Fix balloon device when creating VMs from snaphots Never

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


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