Bug 1567773 - Failed to start sealed windows vm , Error message: <Element 'disk' at 0x7fb700681390>, 'driver'
Summary: Failed to start sealed windows vm , Error message: <Element 'disk' at 0x7fb70...
Keywords:
Status: CLOSED DUPLICATE of bug 1567617
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Virt
Version: 4.2.2
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Michal Skrivanek
QA Contact: meital avital
URL:
Whiteboard:
: 1568000 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-04-16 07:59 UTC by Israel Pinto
Modified: 2018-04-17 05:04 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-04-17 05:04:34 UTC
oVirt Team: Virt
Embargoed:
ipinto: planning_ack?
ipinto: devel_ack?
ipinto: testing_ack?


Attachments (Terms of Use)
logs (441.96 KB, application/zip)
2018-04-16 07:59 UTC, Israel Pinto
no flags Details

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 ***


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