Bug 830789

Summary: VMs created by vmpool fail to run
Product: [Retired] oVirt Reporter: Rami Vaknin <rvaknin>
Component: ovirt-engine-coreAssignee: Eli Mesika <emesika>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: urgent Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: abaron, acathrow, bazulay, dyasny, emesika, iheim, knesenko, mgoldboi, yeylon, ykaul
Target Milestone: ---Keywords: Regression, TestBlocker
Target Release: 3.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-09 07:56:56 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
vdsm log
none
logs none

Description Rami Vaknin 2012-06-11 12:32:20 UTC
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 12:48:03 UTC
It happens on a regular desktop vm that was created from template. Attaching logs.
Commit: f7dbeae136065c139f7585d5c2d51d0ec088a026

Comment 2 Kiril Nesenko 2012-06-11 12:48:28 UTC
Created attachment 590921 [details]
logs

Comment 3 Eli Mesika 2012-06-11 14:31:06 UTC
http://gerrit.ovirt.org/#/c/5246/

Comment 4 Itamar Heim 2012-08-09 07:56:56 UTC
closing ON_QA bugs as oVirt 3.1 was released:
http://www.ovirt.org/get-ovirt/