openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #16175
Re: Fwd: nova-compute on VirtualBox with qemu
*Hi Andi*
*Here is an extract from an installation guide for Essex which describes a
bit different approach to the problem solution rather than command line
customization:*
When running Nova within a vmWare/VirtualBox/etcThe default libvirt-bin
provided by the official Ubuntu repository (ver. 0.9.8-2ubuntu17) has a
problem with pure software virtualization fallback which doesn’t allow it
to run instances within a virtualized machine. However this problem is
fixed in the latest version of libvirt which can be installed from the PPA
with the following commands
# apt-get install python-software-properties
# add-apt-repository ppa:ubuntu-virt/ppa
# apt-get update && apt-get upgrade
The packages proved to be working have the following versions
qemu-common 1.0+noroms-20120330-0ubuntu3
qemu-kvm 1.0+noroms-0ubuntu13
qemu-utils 1.0+noroms-20120330-0ubuntu3
libvirt-bin 0.9.9-3ubuntu1~ppa1
libvirt0 0.9.9-3ubuntu1~ppa1
Also make sure you have the following line in /etc/nova/nova-compute.conf
--libvirt_type=qemu
You can also try running /usr/bin/qemu-system-x86_64 manually, this might
help to troubleshoot the problem. This binary might have some dependencies
missing when being improperly packaged.
Hope this helps.
On Mon, Aug 27, 2012 at 11:42 PM, andi abes <andi.abes@xxxxxxxxx> wrote:
> ---------- Forwarded message ----------
> From: andi abes <andi.abes@xxxxxxxxx>
> Date: Mon, Aug 27, 2012 at 1:54 PM
> Subject: nova-compute on VirtualBox with qemu
> To: openstack-operators@xxxxxxxxxxxxxxxxxxx
>
>
> I'm using Essex on virtual box, and am having some issues getting
> nova-compute to not hate me that much.
> The error I'm getting is: libvir: QEMU error : internal error Cannot
> find suitable emulator for x86_64
> Running the same steps as in [1] seems to reproduce the same behavior.
>
> The VB guest is 12.04.
>
> nova-compute.conf has:
> [DEFAULT]
> libvirt_type=qemu
>
> I guess my question is - where do i supply libvirt / nova the magical
> 'disable accel' flags? (i.e. '-machine accel=kvm:tcg', which seem to
> make qemu happy).
>
>
> TIA,
> a.
>
>
> [1] https://lists.fedoraproject.org/pipermail/virt/2012-July/003358.html
>
>
>
> (adding openstack, and some more details)
>
> Versions:
> qemu-system-x86_64 --version
> QEMU emulator version 1.0.50 (qemu-kvm-devel), Copyright (c) 2003-2008
> Fabrice Bellard
>
> libvirtd --version
> libvirtd (libvirt) 0.9.9
>
> tia,
> a
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help : https://help.launchpad.net/ListHelp
>
References