Bug 829566

Summary: 3.1 - Fails to continue VM on Unexpected exception after vdsmd restart
Product: Red Hat Enterprise Linux 6 Reporter: Chao Yang <chayang>
Component: vdsmAssignee: Federico Simoncelli <fsimonce>
Status: CLOSED CURRENTRELEASE QA Contact: Pavel Stehlik <pstehlik>
Severity: high Docs Contact:
Priority: high    
Version: 6.3CC: abaron, bazulay, ewarszaw, fsimonce, ghammer, iheim, ilvovsky, ohochman, syeghiay, ykaul
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: virt
Fixed In Version: vdsm-4.9.6-31.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-05 07:41:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
unexpected exception (Error code:16) on vdsm-13 none

Description Chao Yang 2012-06-07 03:29:08 UTC
Created attachment 590058 [details]
unexpected exception (Error code:16) on vdsm-13

Description of problem:
I have VM in PAUSED status, click on "Run" button returns me "Unexpected exception (Error code:16)".
# vdsClient -s 0 list table
fdabf547-909a-4242-b957-be6d60bf1ca7  12617  win7-16-6-2          Paused 
# vdsClient -s 0 continue fdabf547-909a-4242-b957-be6d60bf1ca7
Unexpected exception

Version-Release number of selected component (if applicable):
# rpm -q vdsm libvirt qemu-kvm-rhev
vdsm-4.9.6-13.el6.x86_64
libvirt-0.9.10-21.el6.x86_64
qemu-kvm-rhev-0.12.1.2-2.294.el6.x86_64

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:
Traceback (most recent call last):
  File "/usr/share/vdsm/clientIF.py", line 275, in _recoverExistingVms
    vmObj.preparePaths(vmObj.getConfDevices()[vm.DISK_DEVICES])
  File "/usr/share/vdsm/vm.py", line 402, in getConfDevices
    self.normalizeDrivesIndices(devices[DISK_DEVICES])
  File "/usr/share/vdsm/vm.py", line 540, in normalizeDrivesIndices
    if not self._usedIndices.has_key(drv['iface']):
KeyError: 'iface'

Comment 2 Federico Simoncelli 2012-07-13 12:20:31 UTC
Is this still reproducible?

Comment 3 Chao Yang 2012-07-16 06:07:30 UTC
(In reply to comment #2)
> Is this still reproducible?

Not yet. The env. is not available at the moment.

Comment 4 Gal Hammer 2012-08-08 14:56:13 UTC
I think this patch http://gerrit.ovirt.org/#/c/6970/3 will fix this bug as well.

Comment 5 Eduardo Warszawski 2012-08-08 15:34:06 UTC
This bug is fixed by commit:

http://gerrit.ovirt.org/#/c/787/
Change-Id: I912cc1418e0df32d44bbc1a7c79c496aebd86c36