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

Doug Goldstein cardoe at gentoo.org
Thu Nov 15 19:43:08 UTC 2012


On Thu, Nov 15, 2012 at 12:36 PM, Nikola Pajtic <salgeras at gmail.com> 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




More information about the Openstack mailing list