← Back to team overview

openstack team mailing list archive

Re: [Folsom] Nova-compute: Class LibvirtDriver cannot be found

 

On Thu, Nov 15, 2012 at 12:36 PM, Nikola Pajtic <salgeras@xxxxxxxxx> wrote:
> Hello to all!
>
> I have a problem with nova-compute daemon, start-up fails with following
> error:
>
> 2012-11-15 19:14:34 INFO nova.compute.manager [-] Loading compute driver
> 'libvirt.LibvirtDriver'
> 2012-11-15 19:14:34 ERROR nova.compute.manager [-] Unable to load the
> virtualization driver: Class LibvirtDriver cannot be found (['Traceback
> (most recent call last):\n', '  File
> "/usr/lib/python2.7/dist-packages/nova/openstack/common/importutils.py",
> line 31, in import_class\n    return getattr(sys.modules[mod_str],
> class_str)\n', "AttributeError: 'module' object has no attribute
> 'LibvirtDriver'\n"])
>
> My release is Folsom, running on Ubuntu Server 12.04 x86_64.

Try setting in nova.conf.

compute_driver=nova.virt.libvirt.LibvirtDriver

-- 
Doug Goldstein


Follow ups

References