Bug 830789 - VMs created by vmpool fail to run
Summary: VMs created by vmpool fail to run
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-core
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
: 3.1
Assignee: Eli Mesika
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-06-11 12:32 UTC by Rami Vaknin
Modified: 2012-08-09 07:56 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-08-09 07:56:56 UTC
oVirt Team: ---
Embargoed:


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

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/


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