[openstack-dev] [Xen-API] xcp-xapi on Ubuntu 13.04

AP apxeng at gmail.com
Tue Apr 2 19:00:53 UTC 2013


On Tue, Apr 2, 2013 at 3:02 AM, John Garbutt
<John.Garbutt at rackspace.co.uk> wrote:
> Not sure of the state of xcp-xapi 13.04 on Ubuntu. Does anyone know if Xen
> 4.2 fixes got upstream?
>
> DevStack is only really recommended as a way for developers to get the
> latest code, and it is the script that is used to create the setup that
> gates code going into OpenStack trunk. I would certainly give the packages
> a try if you are looking for something more stable.

I am open to giving the stable packages a try. What I have at the
moment is a host running Ubuntu 13.04 + xcp-xapi. I need to be on
13.04 as I need some of the features from Xen 4.2 (mem_event). I am
now trying to create the OpenStack VM as described here:
http://docs.openstack.org/trunk/openstack-compute/admin/content/introduction-to-xen.html#xenapi-install

Can I just bring up a Debian 7.0 PV instance and install the packages
described here?
http://docs.openstack.org/trunk/openstack-compute/admin/content/installing-openstack-compute-on-debian.html

Will that give me the OpenStack VM?

PS: The other OpenStack pieces (glance, horizon) needed to connect to
the host and manage it have been setup by other members of my team.

> If you could modify the script, or run it yourself and get the output of
> kpartx, we should be able to help you debug the issues you are seeing. I
> am johnthetubaguy on IRC if you want to chat in real-time.

I think we can hold off on this if we can just go with the stable packages.

> John
>
> PS
> You may get more luck for help on openstack-dev

I have CCed openstack-dev

Thanks,
AP

>
> On 01/04/2013 19:21, "AP" <apxeng at gmail.com> wrote:
>
>>On Mon, Apr 1, 2013 at 8:16 AM, Thomas Goirand <zigo at debian.org> wrote:
>>> On 03/30/2013 08:43 AM, AP wrote:
>>>> I am trying to get OpenStack working with a host running Xen 4.2. I
>>>> found that Ubuntu 13.04 has moved to using Xen 4.2. I was able to
>>>> install the hypervisor and toolstack using "apt-get xcp-xapi". I
>>>> basically followed the instructions here:
>>>>
>>>> https://wiki.openstack.org/wiki/XenServer/Install/XcpXapiOnPrecise
>>>
>>> You are in fact using the packages which are developed in Debian, and
>>> just migrated to Ubuntu without much change. IMO, you should really
>>> be using Debian rather than Ubuntu (of course, don't have to trust me,
>>> as I am the Debian Developer in charge of this, so I am of course
>>> vouching for the distro that I like...).
>>
>>I have no problems switching to Debian, however looking at what you
>>have written below I might not have better luck there either with the
>>devstack script.
>>
>>>> I am now unable to find clear instructions on how to setup a OpenStack
>>>> compute VM. Many websites pointed me at devstack to get the whole
>>>> stack running in a VM. But I am unable to get that to work.
>>>
>>> Yes, and IMO, that's really crap that they all tell "just use devstack".
>>> I wrote about it multiple times, but it seems nobody cares much.
>>>
>>>> I realize that the script is trying to mount the DomU disk in Dom0 but
>>>> kpartx is not able to handle it. I tried doing it by hand and was
>>>> unable to do so. Is there an updated script to do this? Or if someone
>>>> can point me at instructions to setup the OpenStack compute VM that
>>>> would helpful too.
>>>>
>>>> Thanks,
>>>> AP
>>>
>>> The problem is that everyone tests with XCP as the CentOS
>>> appliance, and never with what is in Debian/Ubuntu. So I think
>>> that devstack must be broken in such a case. I don't think you
>>> will find any updated script for XCP in Ubuntu/Debian, you will
>>> have to work it out yourself. Though I'm quite sure it shouldn't
>>> be hard to mount your domU disk in the dom0.
>>
>>OK, I will try debugging the problem and post if I succeed.
>>
>>Thanks,
>>AP
>>
>>
>
> John Garbutt
> Software Developer IV - UK
>
> Tel: +442087344853
> Mob:
> Fax:
> Web:
>
> _______________________________________________
>>Xen-api mailing list
>>Xen-api at lists.xen.org
>>http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api
>
> Rackspace International GmbH a company registered in the Canton of Zurich, Switzerland (company identification number CH-020.4.047.077-1) whose registered office is at Balz-Zimmerman Strasse 7, 8302 Kloten, Switzerland. Rackspace International GmbH privacy policy can be viewed at www.rackspace.co.uk/legal/swiss-privacy-policy
> -
> Rackspace Hosting Australia PTY LTD a company registered in the state of Victoria, Australia (company registered number ACN 153 275 524) whose registered office is at Suite 3, Level 7, 210 George Street, Sydney, NSW 2000, Australia. Rackspace Hosting Australia PTY LTD privacy policy can be viewed at www.rackspace.com.au/company/legal-privacy-statement.php
> -
> Rackspace US, Inc, 5000 Walzem Road, San Antonio, Texas 78218, United States of America
> Rackspace US, Inc privacy policy can be viewed at www.rackspace.com/information/legal/privacystatement
> -
> Rackspace Limited is a company registered in England & Wales (company registered number 03897010) whose registered office is at 5 Millington Road, Hyde Park Hayes, Middlesex UB3 4AZ.
> Rackspace Limited privacy policy can be viewed at www.rackspace.co.uk/legal/privacy-policy
> -
> Rackspace Benelux B.V. is a company registered in the Netherlands (company KvK nummer 34276327) whose registered office is at Teleportboulevard 110, 1043 EJ Amsterdam.
> Rackspace Benelux B.V privacy policy can be viewed at www.rackspace.nl/juridisch/privacy-policy
> -
> Rackspace Asia Limited is a company registered in Hong Kong (Company no: 1211294) whose registered office is at 9/F, Cambridge House, Taikoo Place, 979 King's Road, Quarry Bay, Hong Kong.
> Rackspace Asia Limited privacy policy can be viewed at www.rackspace.com.hk/company/legal-privacy-statement.php
> -
> This e-mail message (including any attachments or embedded documents) is intended for the exclusive and confidential use of the individual or entity to which this message is addressed, and unless otherwise expressly indicated, is confidential and privileged information of Rackspace. Any dissemination, distribution or copying of the enclosed material is prohibited. If you receive this transmission in error, please notify us immediately by e-mail at abuse at rackspace.com and delete the original message. Your cooperation is appreciated.



More information about the OpenStack-dev mailing list