LXC instance fails to start

Bug #812553 reported by Scott Moser
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
High
Scott Moser
nova (Ubuntu)
Fix Released
Medium
Scott Moser

Bug Description

When trying to run an LXC instance, after working around bug 812548, I get the following trace:

2011-07-18 20:51:44,318 DEBUG nova.utils [-] Running cmd (subprocess): qemu-img create -f qcow2 -o cluster_size=2M,backing_file=/var/lib/nova/instances/_base/local_20 /var/lib/nova/instances/instance-00000002/disk.local from (pid=20109) execute /usr/lib/pymodules/python2.7/nova/utils.py:143
2011-07-18 20:51:44,641 ERROR nova.exception [-] Uncaught exception
(nova.exception): TRACE: Traceback (most recent call last):
(nova.exception): TRACE: File "/usr/lib/pymodules/python2.7/nova/exception.py", line 87, in _wrap
(nova.exception): TRACE: return f(*args, **kw)
(nova.exception): TRACE: File "/usr/lib/pymodules/python2.7/nova/virt/libvirt/connection.py", line 591, in spawn
(nova.exception): TRACE: domain = self._create_new_domain(xml)
(nova.exception): TRACE: File "/usr/lib/pymodules/python2.7/nova/virt/libvirt/connection.py", line 1085, in _create_new_domain
(nova.exception): TRACE: domain = self._conn.defineXML(xml)
(nova.exception): TRACE: File "/usr/lib/python2.7/dist-packages/libvirt.py", line 1708, in defineXML
(nova.exception): TRACE: if ret is None:raise libvirtError('virDomainDefineXML() failed', conn=self)
(nova.exception): TRACE: libvirtError: internal error cannot determine default video type
(nova.exception): TRACE:
2011-07-18 20:51:44,644 ERROR nova.compute.manager [-] Instance '2' failed to spawn. Is virtualization enabled in the BIOS? Details: internal error cannot determine default video type
(nova.compute.manager): TRACE: Traceback (most recent call last):
(nova.compute.manager): TRACE: File "/usr/lib/pymodules/python2.7/nova/compute/manager.py", line 311, in _run_instance
(nova.compute.manager): TRACE: self.driver.spawn(instance, network_info, bd_mapping)
(nova.compute.manager): TRACE: File "/usr/lib/pymodules/python2.7/nova/exception.py", line 93, in _wrap
(nova.compute.manager): TRACE: raise Error(str(e))
(nova.compute.manager): TRACE: Error: internal error cannot determine default video type
(nova.compute.manager): TRACE:

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: nova-compute 2011.3~d3~20110708.1251-0ubuntu1
ProcVersionSignature: User Name 3.0.0-5.6-virtual 3.0.0-rc7
Uname: Linux 3.0.0-5-virtual x86_64
Architecture: amd64
Date: Mon Jul 18 20:52:41 2011
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: nova
UpgradeStatus: No upgrade log present (probably fresh install)

Related branches

Revision history for this message
Scott Moser (smoser) wrote :
Revision history for this message
Scott Moser (smoser) wrote :

The fix for bug 805083 is what caused this bug. See the last comment in bug 805083.

Changed in nova (Ubuntu):
assignee: nobody → Scott Moser (smoser)
importance: Undecided → Medium
status: New → In Progress
Thierry Carrez (ttx)
Changed in nova:
assignee: nobody → Scott Moser (smoser)
importance: Undecided → High
status: New → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → diablo-3
Thierry Carrez (ttx)
Changed in nova (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Scott Moser (smoser) wrote :

This is fix-released in last beta

Changed in nova:
status: Fix Committed → Fix Released
Revision history for this message
Scott Moser (smoser) wrote :

Sorry for spam. I guess openstack doesn't go to fix-released until full release, not beta. switching back to fix-commited.

Changed in nova:
status: Fix Released → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: diablo-3 → 2011.3
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.