Bug 1567773

Summary: Failed to start sealed windows vm , Error message: <Element 'disk' at 0x7fb700681390>, 'driver'
Product: [oVirt] ovirt-engine Reporter: Israel Pinto <ipinto>
Component: BLL.VirtAssignee: Michal Skrivanek <michal.skrivanek>
Status: CLOSED DUPLICATE QA Contact: meital avital <mavital>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.2.2CC: bugs, pmatyas
Target Milestone: ---Keywords: Automation, Regression
Target Release: ---Flags: ipinto: planning_ack?
ipinto: devel_ack?
ipinto: testing_ack?
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-17 05:04:34 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:
Attachments:
Description Flags
logs none

Description Israel Pinto 2018-04-16 07:59:53 UTC
Created attachment 1422382 [details]
logs

Description of problem:
In automation windows sysprep we run the seal vm,
The running of the VM failed with error: <Element 'disk' at 0x7fb700681390>, 'driver'

Version-Release number of selected component (if applicable):
Engine version:4.2.3-0.1.el7
Host: 
OS Version:RHEL - 7.5 - 8.el7
Kernel Version:3.10.0 - 861.el7.x86_64
KVM Version:2.10.0 - 21.el7_5.2
LIBVIRT Version:libvirt-3.9.0-14.el7_5.2
VDSM Version:vdsm-4.20.25-1.el7ev

Steps to Reproduce:
Test case:
https://polarion.engineering.redhat.com/polarion/#/project/RHEVM3/workitem?id=RHEVM-21590

1. Create windows vm
2. Seal VM
3. Create template from VM
4. Run VM

Actual results:
Failed to run VM

Additional info:
VDSM log:
2018-04-15 05:30:26,773+0300 ERROR (vm/e9252f48) [virt.vm] (vmId='e9252f48-6b22-4c9b-8d9a-8531fcf71f4c') The vm start process failed (vm:943)
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/vdsm/virt/vm.py", line 872, in _startUnderlyingVm
    self._run()
  File "/usr/lib/python2.7/site-packages/vdsm/virt/vm.py", line 2861, in _run
    domxml = hooks.before_vm_start(self._buildDomainXML(),
  File "/usr/lib/python2.7/site-packages/vdsm/virt/vm.py", line 2246, in _buildDomainXML
    self, dom, self._devices[hwclass.DISK])
  File "/usr/lib/python2.7/site-packages/vdsm/virt/domxml_preprocess.py", line 197, in update_disks_xml_from_objs
    dev_elem, disk_obj, vm.log, replace_attribs=True)
  File "/usr/lib/python2.7/site-packages/vdsm/virt/vmdevices/storagexml.py", line 300, in update_disk_element_from_object
    driver = vmxml.find_first(disk_element, 'driver')
  File "/usr/lib/python2.7/site-packages/vdsm/virt/vmxml.py", line 112, in find_first
    raise NotFound((element, tag,))
NotFound: (<Element 'disk' at 0x7fb700693890>, 'driver')

Comment 1 Petr Matyáš 2018-04-16 14:47:30 UTC
*** Bug 1568000 has been marked as a duplicate of this bug. ***

Comment 2 Michal Skrivanek 2018-04-17 05:04:34 UTC

*** This bug has been marked as a duplicate of bug 1567617 ***