Bug 1191729 - [3.5_6.6] - VM fails to start in snapshot preview mode with a RAM snapshot
Summary: [3.5_6.6] - VM fails to start in snapshot preview mode with a RAM snapshot
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: rhev-hypervisor
Version: 3.5.0
Hardware: Unspecified
OS: Linux
high
urgent
Target Milestone: ---
: 3.5.1
Assignee: Fabian Deutsch
QA Contact: Virtualization Bugs
URL:
Whiteboard: node
Depends On:
Blocks: 1193058 1197441
TreeView+ depends on / blocked
 
Reported: 2015-02-11 20:21 UTC by Gordon Watson
Modified: 2022-07-09 07:07 UTC (History)
15 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-04-28 18:39:27 UTC
oVirt Team: Node
Target Upstream Version:
Embargoed:
ylavi: Triaged+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:0902 0 normal SHIPPED_LIVE rhev-hypervisor bug fix and enhancement update for RHEV 3.5.1 2015-04-28 22:38:48 UTC
Red Hat Product Errata RHSA-2015:0888 0 normal SHIPPED_LIVE Moderate: Red Hat Enterprise Virtualization Manager 3.5.1 update 2015-04-28 22:40:04 UTC

Description Gordon Watson 2015-02-11 20:21:56 UTC
Description of problem:

If a live snapshot of a VM is taken with 'Save Memory' selected, and that snapshot is later previewed with 'Restore Memory' selected, then the VM will fails to start.

VDSM reports;

Thread-49::ERROR::2015-02-11 20:06:19,190::vm::2324::vm.Vm::(_startUnderlyingVm) vmId=`3b8bd683-c75d-413b-b58c-b3ad20dada54`::The vm start process failed
Traceback (most recent call last):
  File "/usr/share/vdsm/virt/vm.py", line 2264, in _startUnderlyingVm
  File "/usr/share/vdsm/virt/vm.py", line 3307, in _run
  File "/usr/lib/python2.6/site-packages/vdsm/libvirtconnection.py", line 111, in wrapper
  File "/usr/lib64/python2.6/site-packages/libvirt.py", line 3225, in restoreFlags
libvirtError: unsupported configuration: Target controller type ide does not match source usb


If the snapshot is previewed without 'Restore Memory' selected, then the VM will start up successfully.

This is not a problem in a 3.4 environment with a RHEL 6.5 host with 'vdsm-4.14.13-2' and 'libvirt-0.10.2-46'.


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

RHEV 3.5 RC build (rhevm-3.5.0-0.29)
RHEV-H 6.6 20150114.0
   - vdsm-4.16.8.1-5
   - libvirt-0.10.2-46.el6_6.2


How reproducible:

Fails every time for me.


Steps to Reproduce:

1. Take a live VM snapshot with 'Save Memory' selected.
2. Shutdown VM.
3. Preview the snapshot with 'Restore Memory' selected.
4. VM fails to start, "Target controller type ide does not match source usb".
5. Undo snapshot.
6. Preview the snapshot without 'Restore Memory' selected.
7. VM starts successfully.

If steps 1-4 are performed in 3.4 on RHEL 6.5 host with 'vdsm-4.14.13-2' and 'libvirt-0.10.2-46' then the VM will start without a problem.


Actual results:

VM fails to start.


Expected results:

VM should start.


Additional info:

Comment 4 sefi litmanovich 2015-02-15 13:31:32 UTC
Hi, I tried to reproduce in rhevm-3.5.0-0.31.el6ev.noarch env with several hosts:

1. same steps as in description with RHEL 7 host -
vdsm-4.16.8.1-6.el7ev.
libvirt-1.1.1-29.el7_0.7.

bug didn't re produce.

2. same with RHEL 6.5 host on 3.4 cluster with -
vdsm-4.14.18-6.el6ev
libvirt-0.10.2-29.el6_5.13

bug didn't re produce.

3. same again with RHEL 6.6 host with -
vdsm-4.16.8.1-6.el6ev
libvirt-0.10.2-46.el6_6.3

bug didn't re produce.

4. same with RHEV Hypervisor - 6.6 - 20150128.0.el6ev
vdsm-4.16.8.1-6.el6ev
libvirt-0.10.2-46.el6_6.2

bug re produced with the same error as mentioned in description.
In my case, the vm then migrated to the RHEL 6.6 on the same cluster and then went up.

So it seems it's a RHEV-H bug only, or it's a libvirt-0.10.2-46.el6_6.2 bug which is fixed on:
libvirt-0.10.2-46.el6_6.3

Comment 7 Fabian Deutsch 2015-02-16 09:46:31 UTC
Changing the component according to the findings in comment 6 - this is caused by an outdated libvirt build.

Comment 9 Ying Cui 2015-03-19 11:38:52 UTC
see comment 6, comment 7 and comment 8
Verified this bug on rhev-hypervisor6-6.6-20150312.0

# rpm -q libvirt
libvirt-0.10.2-46.el6_6.3.x86_64
# cat /etc/system-release
Red Hat Enterprise Virtualization Hypervisor 6.6 (20150312.0.el6ev)

Comment 11 errata-xmlrpc 2015-04-28 18:39:27 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-0902.html


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