Bug 798211

Summary: VDSM: Can't Suspend VM due to vdsm migration failure
Product: [Retired] oVirt Reporter: Avi Tal <atal>
Component: vdsmAssignee: Igor Lvovsky <ilvovsky>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: urgent Docs Contact:
Priority: urgent    
Version: unspecifiedCC: abaron, acathrow, bazulay, danken, hateya, iheim, ilvovsky, lpeer, oramraz, srevivo, ykaul
Target Milestone: ---Keywords: Regression, TestBlocker
Target Release: 3.1   
Hardware: x86_64   
OS: Linux   
Whiteboard: virt
Fixed In Version: vdsm-4.9.6-2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-09 08:02:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
vdsm log none

Description Avi Tal 2012-02-28 10:33:50 UTC
Created attachment 566284 [details]
vdsm log

Description of problem:
i am running suspend VM from rest api which call for HibernateVmCommand on backend.
this is actually a migration to file that fail on VDSM:
Thread-294::ERROR::2012-02-28 11:35:31,748::vm::239::vm.Vm::(run) vmId=`96e44249-8e77-40b7-9b8f-a85f6b18143c`::Traceback (most recent call last):
  File "/usr/share/vdsm/vm.py", line 222, in run
    self._startUnderlyingMigration()
  File "/usr/share/vdsm/libvirtvm.py", line 398, in _startUnderlyingMigration
    fname = self._vm.cif.prepareVolumePath(self._dst)
  File "/usr/share/vdsm/clientIF.py", line 173, in prepareVolumePath
    if drive['device'] == 'disk' and vm.isVdsmImage(drive):
KeyError: 'device'

Comment 1 Igor Lvovsky 2012-02-29 14:26:24 UTC
gerrit.ovirt.org/#change,2431,patchset

Comment 2 Itamar Heim 2012-08-09 08:02:38 UTC
closing ON_QA bugs as oVirt 3.1 was released:
http://www.ovirt.org/get-ovirt/

Comment 3 Itamar Heim 2012-08-09 08:03:46 UTC
closing ON_QA bugs as oVirt 3.1 was released:
http://www.ovirt.org/get-ovirt/