Ask Your Question
2

What's the best guide to follow to install Openstack using Xen and Libvirt?

asked 2013-06-11 07:36:43 -0500

cyberang3l gravatar image

updated 2013-07-26 17:24:34 -0500

smaffulli gravatar image

I am a fairly new user of OpenStack using Ubuntu 12.04 with the cloud archive enabled to get Grizzly. I have managed to run a distributed node setup with KVM and libvirt by following this guide, but now that I try to setup a compute node with Xen and Libvirt I cannot make it work. I know that the supported and suggested way for Xen hypervisor is to either use XCP or Citrix XenServer, but the documentation says that it is possible to manage Xen using libvirt (This would be necessary for any Xen-based system that isn't using the XCP toolstack, such as SUSE Linux or Oracle Linux) and I need to try this solution instead (I tried XCP as well and I didn't manage to make it work properly on top of Ubuntu either, but even if I did, I would eventually try to use libvirt).

When I try to boot a CirrOS instance in the Xen based compute node (nova boot --image <id-of-cirros-image> --flavor m1.small --availability-zone nova:xennode1 TestXenHost) the spawning fails and instance boots in one of the KVM nodes. The error I get from the logs is this: error from xen daemon: (xend.err 'Device /dev/xvdp (51952, tap) is already connected.')

I found some people talking about blktap module, but I installed blktap-utils and blktap-dkms packages, and made sure the blktap module is running (lsmod).

Here you can find some pastebin links with the nova configuration files and logs: nova.conf, nova-compute.conf, nova-compute.log, libvirtd.log, xend.log

Can anyone say what is wrong here and if there is any rescue?

Thank you!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-08-19 09:28:37 -0500

annegentle gravatar image

To answer the title question requesting a guide for Xen with libvirt, I do not know of one. Sorry I can't help there.

edit flag offensive delete link more

Comments

1

I haven't found any either and what I realized so far after an extensive research, is that XEN+Libvirt+OpenStack is pretty much unusable. Even XCP+OpenStack has many advertised non working features.

cyberang3l gravatar imagecyberang3l ( 2013-08-19 09:33:01 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2013-06-11 07:36:43 -0500

Seen: 876 times

Last updated: Aug 19 '13