← Back to team overview

registry team mailing list archive

[Bug 660042] [NEW] Better error when no virtualization method is available on the server

 

Public bug reported:

When no hardware virtualisation is available (which is used on the
default install) on the server and trying to run an instance nothing are
get back to the user and the logs contains only  an error like this :


==> /var/log/nova/nova-compute.log <==
2010-10-13 16:41:13+0100 [-] (root): ERROR instance 4014792697: Failed to spawn
2010-10-13 16:41:13+0100 [-] Traceback (most recent call last):
2010-10-13 16:41:13+0100 [-]   File "/usr/lib/pymodules/python2.6/nova/compute/manager.py", line 86, in run_instance
2010-10-13 16:41:13+0100 [-]     yield self.driver.spawn(instance_ref)
2010-10-13 16:41:13+0100 [-]   File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 893, in _inlineCallbacks
2010-10-13 16:41:13+0100 [-]     result = g.send(result)
2010-10-13 16:41:13+0100 [-]   File "/usr/lib/pymodules/python2.6/nova/virt/libvirt_conn.py", line 218, in spawn
2010-10-13 16:41:13+0100 [-]     yield self._conn.createXML(xml, 0)
2010-10-13 16:41:13+0100 [-]   File "/usr/lib/python2.6/dist-packages/libvirt.py", line 1289, in createXML
2010-10-13 16:41:13+0100 [-]     if ret is None:raise libvirtError('virDomainCreateXML() failed', conn=self)
2010-10-13 16:41:13+0100 [-] libvirtError: internal error no supported architecture for os type 'hvm'
2010-10-13 16:41:13+0100 [-] Unhandled error in Deferred:
2010-10-13 16:41:13+0100 [-] Unhandled Error
        Traceback (most recent call last):

A more meaningful error would be nice for the users to enable
virtualisation in BIOS.

** Affects: nova
     Importance: Undecided
         Status: New

-- 
Better error when no virtualization method is available on the server
https://bugs.launchpad.net/bugs/660042
You received this bug notification because you are a member of Registry
Administrators, which is subscribed to OpenStack.



Follow ups

References