Bug 830789 - VMs created by vmpool fail to run
VMs created by vmpool fail to run
Status: CLOSED CURRENTRELEASE
Product: oVirt
Classification: Community
Component: ovirt-engine-core (Show other bugs)
unspecified
Unspecified Unspecified
unspecified Severity urgent
: ---
: 3.1
Assigned To: Eli Mesika
: Regression, TestBlocker
Depends On:
Blocks:
  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:
Environment:
Last Closed: 2012-08-09 03:56:56 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
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

Version:
vdsm-4.9.6-0.158.gitae53181.fc16.x86_64.rpm
I used engine on devel env, last commit's hash: 0f298ab06222be0121faa9e2b400f59ddec22d35

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

Result:
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
    self._run()
  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]
logs
Comment 3 Eli Mesika 2012-06-11 10:31:06 EDT
http://gerrit.ovirt.org/#/c/5246/
Comment 4 Itamar Heim 2012-08-09 03:56:56 EDT
closing ON_QA bugs as oVirt 3.1 was released:
http://www.ovirt.org/get-ovirt/

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