[Openstack] [openstack][kilo][compute_driver]

chinasubbareddy m subbareddy.openstack at gmail.com
Mon Jun 8 19:48:08 UTC 2015


Hi,

problem was openstack installation auto detecting the hypervisor type and
installing the compute driver accordingly.

since i am running my vm in my laptop on vmware player ,compute driver got
installed was vmware, but i would like to install libvirt driver.

Here is the error if i try to install nova-compute-kvm:

root at kiloos:~# apt-get install nova-compute-kvm sysfsutils
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 nova-compute-kvm : Depends: nova-compute-libvirt (=
1:2015.1.0-0ubuntu1~cloud0) but it is not going to be installed
                    Depends: qemu-system (>= 1.3.0) or
                             kvm
E: Unable to correct problems, you have held broken packages.



On Mon, Jun 8, 2015 at 11:36 AM, chinasubbareddy m <
subbareddy.openstack at gmail.com> wrote:

> Hello,
>
> could you please help me to mention compute driver in kilo?
>
> my /etc/nova-compute.conf
>
> [DEFAULT]
> compute_driver=libvirt.LibvirtDriver
>
> [libvirt]
> virt_type = qemu
>
>
> i am getting error like
>
> root at kiloctl:~# tail -f /var/log/nova/nova-compute.log
> 2015-06-08 17:04:53.155 16600 ERROR nova.virt.driver [-] Unable to load
> the virtualization driver
> 2015-06-08 17:04:53.155 16600 TRACE nova.virt.driver Traceback (most
> recent call last):
> 2015-06-08 17:04:53.155 16600 TRACE nova.virt.driver   File
> "/usr/lib/python2.7/dist-packages/nova/virt/driver.py", line 1389, in
> load_compute_driver
> 2015-06-08 17:04:53.155 16600 TRACE nova.virt.driver     virtapi)
> 2015-06-08 17:04:53.155 16600 TRACE nova.virt.driver   File
> "/usr/lib/python2.7/dist-packages/oslo_utils/importutils.py", line 52, in
> import_object_ns
> 2015-06-08 17:04:53.155 16600 TRACE nova.virt.driver     return
> import_class(import_str)(*args, **kwargs)
> 2015-06-08 17:04:53.155 16600 TRACE nova.virt.driver   File
> "/usr/lib/python2.7/dist-packages/oslo_utils/importutils.py", line 27, in
> import_class
> 2015-06-08 17:04:53.155 16600 TRACE nova.virt.driver
> __import__(mod_str)
> 2015-06-08 17:04:53.155 16600 TRACE nova.virt.driver ImportError: No
> module named libvirt
> 2015-06-08 17:04:53.155 16600 TRACE nova.virt.driver
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150609/9947afb9/attachment.html>


More information about the Openstack mailing list