Hello to all!<br><br>I have a problem with nova-compute daemon, start-up fails with following error:<br><br>2012-11-15 19:14:34 INFO nova.compute.manager [-] Loading compute driver 'libvirt.LibvirtDriver'<br>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"])<br>

<br>My release is Folsom, running on Ubuntu Server 12.04 x86_64.<br><br>This is /etc/nova/nova.conf file:<br><br>-------------------------------<br>[DEFAULT]<br>dhcpbridge_flagfile=/etc/nova/nova.conf<br>iscsi_helper=tgtadm<br>

root_helper=sudo nova-rootwrap /etc/nova/rootwrap.conf<br>ec2_private_dns_show_ip=True<br>api_paste_config=/etc/nova/api-paste.ini<br>#dhcpbridge=/usr/bin/nova-dhcpbridge<br>nova_url=<a href="http://192.168.0.12:8774/v1.1/">http://192.168.0.12:8774/v1.1/</a><br>

cc_host=192.168.0.12<br>metadata_host=192.168.0.12<br>metadata_listen=0.0.0.0<br>ec2_dmz_host=192.168.0.12<br>s3_host=192.168.0.11<br>s3_port=3333<br>enabled_apis=ec2,osapi_compute,metadata<br>osapi_compute_extension=nova.api.openstack.compute.contrib.standard_extensions<br>

allow_resize_to_same_host=True<br><br>## LOGS/STATE<br>verbose=True<br>logdir=/var/log/nova<br>state_path=/var/lib/nova<br>lock_path=/var/lock/nova<br><br># AUTH<br>auth_strategy=keystone<br><br># SCHEDULER<br>compute_scheduler_driver=nova.scheduler.filter_scheduler.FilterScheduler<br>

<br>## CINDER<br>volume_api_class=nova.volume.cinder.API<br>osapi_volume_listen_port=5900<br><br># DATABASE<br>sql_connection=mysql://nova:nova123@localhost/nova<br><br>## COMPUTE - KVM<br>libvirt_use_virtio_for_bridges=True<br>

#connection_type=libvirt<br>compute_driver=libvirt.LibvirtDriver<br>libvirt_type=kvm<br>libvirt_cpu_mode=none<br>instance_name_template=instance-%08x<br>instances_path=/var/lib/nova/instances<br><br># RABBITMQ<br>rabbit_host=192.168.0.12<br>

rabbit_password=openstack<br><br>## VIF-PLUGGING, using Nova Security Groups:<br>libvirt_vif_driver=nova.virt.libvirt.vif.LibvirtHybirdOVSBridgeDriver<br><br>## QUANTUM and other network stuff<br>network_api_class=nova.network.quantumv2.api.API<br>

quantum_url=<a href="http://192.168.0.13:9696">http://192.168.0.13:9696</a><br>quantum_auth_strategy=keystone<br>quantum_admin_tenant_name=service<br>quantum_admin_username=quantum<br>quantum_admin_password=openstack<br>
quantum_admin_auth_url=<a href="http://192.168.0.13:35357/v2.0">http://192.168.0.13:35357/v2.0</a><br>
force_dhcp_release=True<br>linuxnet_interface_driver=nova.network.linux_net.LinuxOVSInterfaceDriver<br>firewall_driver=nova.virt.libvirt.firewall.IptablesFirewallDriver<br>fixed_range=<a href="http://192.168.0.22/28">192.168.0.22/28</a><br>

<br># GLANCE<br>image_service=nova.image.glance.GlanceImageService<br>glance_api_servers=<a href="http://192.168.0.12:9292">192.168.0.12:9292</a><br><br># NOVNC CONSOLE<br>novnc_enabled=true<br>novncproxy_base_url=<a href="http://192.168.0.12:6080/vnc_auto.html">http://192.168.0.12:6080/vnc_auto.html</a><br>

xvpvncproxy_base_url=<a href="http://192.168.0.12:6081/console">http://192.168.0.12:6081/console</a><br>novncproxy_port=6080<br># Change vncserver_proxyclient_address and vncserver_listen to match each compute host<br>vncserver_proxyclient_address=192.168.0.12<br>

vncserver_listen=192.168.0.12<br>my_ip=192.168.0.12<br><br>[keystone_authtoken]<br>auth_host = 192.168.0.12<br>auth_port = 35357<br>auth_protocol = http<br>auth_uri = <a href="http://192.168.0.12:5000/">http://192.168.0.12:5000/</a><br>

admin_tenant_name = ubuntu<br>admin_user = admin<br>admin_password = openstack<br>-----------------------------------------<br><br>I've installed all libvirt packages (including python-libvirt) and I have support for KVM.<br>

<br>root@novaglance:~# dpkg --get-selections | grep libvirt<br>libvirt-bin                    install<br>libvirt-dev                    install<br>libvirt-ocaml                    install<br>libvirt0                    install<br>

libvirt0-dbg                    install<br>libvirtodbc0                    install<br>python-libvirt                    install<br><br>root@novaglance:~# kvm-ok<br>INFO: /dev/kvm exists<br>KVM acceleration can be used<br>

<br>root@novaglance:~# nova-manage service list<br>Binary           Host                                 Zone             Status     State Updated_At<br>nova-cert        novaglance                           nova             enabled    :-)   2012-11-15 18:23:12<br>

nova-consoleauth novaglance                           nova             enabled    :-)   2012-11-15 18:23:12<br>nova-scheduler   novaglance                           nova             enabled    :-)   2012-11-15 18:23:12<br>

nova-volume      novaglance                           nova             enabled    XXX   None<br><br>So, am I missing some package which provides LibvirtDriver class? Or something else could prevent nova-compute to start? I did a lot of googling and I found the same question on several mailing lists and IRC chat logs, but no one gave any solution. <br>

<br>I was hoping that changed over time and that someone could help me with this one.<br><br>Thank you all in advance.<br><br>Best regards.<br><br>