Bug 830789 - VMs created by vmpool fail to run
VMs created by vmpool fail to run
Product: oVirt
Classification: Community
Component: ovirt-engine-core (Show other bugs)
Unspecified Unspecified
unspecified Severity urgent
: ---
: 3.1
Assigned To: Eli Mesika
: Regression, TestBlocker
Depends On:
  Show dependency treegraph
Reported: 2012-06-11 08:32 EDT by Rami Vaknin
Modified: 2012-08-09 03:56 EDT (History)
10 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-08-09 03:56:56 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
vdsm log (682.97 KB, application/x-gzip)
2012-06-11 08:32 EDT, Rami Vaknin
no flags Details
logs (569.92 KB, application/x-bzip)
2012-06-11 08:48 EDT, Kiril Nesenko
no flags Details

  None (edit)
Description Rami Vaknin 2012-06-11 08:32:20 EDT
Created attachment 590916 [details]
vdsm log

I used engine on devel env, last commit's hash: 0f298ab06222be0121faa9e2b400f59ddec22d35

1. Create a template from vm
2. Create vmpool based on that template
3. Run VMs created by the vmpool

VMs fail to start

Thread-1643::ERROR::2012-06-11 13:37:09,403::vm::604::vm.Vm::(_startUnderlyingVm) vmId=`3aab28d5-3783-44ff-aa98-226c39990a6f`::The vm start process failed
Traceback (most recent call last):
  File "/usr/share/vdsm/vm.py", line 570, in _startUnderlyingVm
  File "/usr/share/vdsm/libvirtvm.py", line 1337, in _run
    domxml = hooks.before_vm_start(self._buildCmdLine(), self.conf)
  File "/usr/share/vdsm/libvirtvm.py", line 1203, in _buildCmdLine
    devElem = dev.getXML()
  File "/usr/share/vdsm/libvirtvm.py", line 1113, in getXML
    m.setAttribute('model', self.specParams['model'])
KeyError: 'model'
Thread-1643::DEBUG::2012-06-11 13:37:09,407::vm::920::vm.Vm::(setDownStatus) vmId=`3aab28d5-3783-44ff-aa98-226c39990a6f`::Changed state to Down: 'model'

Note that emesika tried to reproduce that on vdsm-4.9.6-14.el6.x86_64 *without* success.
Comment 1 Kiril Nesenko 2012-06-11 08:48:03 EDT
It happens on a regular desktop vm that was created from template. Attaching logs.
Commit: f7dbeae136065c139f7585d5c2d51d0ec088a026
Comment 2 Kiril Nesenko 2012-06-11 08:48:28 EDT
Created attachment 590921 [details]
Comment 3 Eli Mesika 2012-06-11 10:31:06 EDT
Comment 4 Itamar Heim 2012-08-09 03:56:56 EDT
closing ON_QA bugs as oVirt 3.1 was released:

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