[Openstack] XCP with DevStack

John Garbutt John.Garbutt at citrix.com
Mon Jun 25 09:25:36 UTC 2012


Glad your networking is fine :)

One other possibility is, do you have anything in the PRESEED_URL variable?
Are you OK to share your localrc file?

Cheers,
John

From: ryu at midokura.jp [mailto:ryu at midokura.jp] On Behalf Of Ishimoto, Ryu
Sent: 25 June 2012 3:49
To: John Garbutt
Cc: Takaaki Suzuki; openstack at lists.launchpad.net
Subject: Re: [Openstack] XCP with DevStack

Hi John,


I think that error means you don't have anything set in HOST_IP (i.e. IP address of the XenServer) at the point in install_os_domU.sh:
https://github.com/openstack-dev/devstack/blob/master/tools/xen/install_os_domU.sh#L257

The HOST_IP should have been setup by this (or whatever is in your localrc file):
https://github.com/openstack-dev/devstack/blob/master/tools/xen/install_os_domU.sh#L168


Thanks for pointing these out.  While tracing out the problem, interestingly, I noticed that HOST_IP was indeed set properly inside the script(and so was PRESEED_URL).  Even so, for whatever reason during the DomU install, the IP got stripped out from the preseed URL:  http:///devstackubuntupreseed.cfg<http://devstackubuntupreseed.cfg>.


Have you got the networking working correctly on your XenServer on Ubuntu?
Ifconfig should list xenbr0 having an appropriate IP address.


Yes, networking is working properly.  It is solely a DomU installation issue that we are having with devstack + XCP 1.3.  Everything else is working like a charm so far.

Good to know that you have already gotten it to work on 12.04.  It is most likely some silly configuration mistake that I've made that's causing this.  I will try digging a bit more myself and will let you know if I come across any interesting finding.

Thanks!
Ryu


Hope that helps,
John

From: ryu at midokura.jp<mailto:ryu at midokura.jp> [mailto:ryu at midokura.jp<mailto:ryu at midokura.jp>] On Behalf Of Ishimoto, Ryu
Sent: 22 June 2012 3:11
To: John Garbutt
Cc: Takaaki Suzuki; openstack at lists.launchpad.net<mailto:openstack at lists.launchpad.net>
Subject: Re: [Openstack] XCP with DevStack

Hi John,

Thanks for all your help.  I have a question regarding your patch to make devstack work with XCP (https://review.openstack.org/#/c/7673/).  Does this patch apply to devstack with XCP 1.3.2(the package version that comes with Ubuntu 12.04?)  We verified that devstack does install without a problem with XCP 1.5 but we are still having issues with 1.3.2.

After looking into this issue a bit further, we noticed that the problem occurs during the OpenStack DomU VM installation process.  The preseed file location is incorrect ('http:///devstackubuntupressed.cfg') even though this file was  copied to the correct location by the script prior to the installation step.  Due to our lack of knowledge in this matter, all we could manage was to hard-code the proper URL in the kernel parameter set in  'tools/xen/scripts/install-os-vpx.sh' script.  To be more precise, we added the hard-coded URL in the generation of kernel parameters in 'set_kernel_params()' method, and this successfully got us through the installation process.  Although this temporary hack got us moving forward, we would love to get some inputs on how we can actually fix this.

We would really like devstack to work with 1.3, so if you or anyone could point us in the right direction, we would be more than happy to help out on this.

Thanks in advance!

Cheers,
Ryu

On Fri, Jun 1, 2012 at 9:18 PM, John Garbutt <John.Garbutt at citrix.com<mailto:John.Garbutt at citrix.com>> wrote:
Hi,

I assume you are using xcp-xapi in Ubuntu. First of all, is it all running correctly (i.e. xe vm-list is returning correctly):
http://wiki.xen.org/wiki/Using_XCP_-_preparing_the_toolstack

It turns out the current DevStack will not work with this, but I have pushed some changes to support it:
https://review.openstack.org/#/c/7673/

The networking configuration can be a little confusing, there is an overview on the wiki:
http://wiki.openstack.org/XenServer/NetworkingFlags

The DevStack flags are there to configure each of the VIFs on the DomU, the defaults can be seen here:
https://github.com/openstack-dev/devstack/blob/master/tools/xen/xenrc

If things are still un clear, do ask some more questions.
I have plans to document this exact setup in some detail in the near future.
Feel free to add to these docs on the wiki.

Thanks,
John

> -----Original Message-----
> From: openstack-bounces+john.garbutt=eu.citrix.com at lists.launchpad.net<mailto:eu.citrix.com at lists.launchpad.net>
> [mailto:openstack-bounces+john.garbutt<mailto:openstack-bounces%2Bjohn.garbutt>=eu.citrix.com at lists.launchpad.net<mailto:eu.citrix.com at lists.launchpad.net>]
> On Behalf Of Takaaki Suzuki
> Sent: 01 June 2012 10:12
> To: openstack at lists.launchpad.net<mailto:openstack at lists.launchpad.net>
> Cc: dev
> Subject: [Openstack] XCP with DevStack
>
> Hi all.
>
> I need your knowledge. :)
> I prepared XCP plus OpenvSwitch with Ubuntu precise on own environment.
>
> And I want to prepare DevStack for XCP(Ubuntu).
> https://github.com/openstack-
> dev/devstack/blob/master/tools/xen/README.md
> I don't understand localrc network settings part.
> The script launched DevStackOSDomU. after that network settings part failed.
>
> If you know any other DevStack/OpenStack for XCP installation or
> configuration document.
> Please let me know.
>
> Thanks!
> --
> Midokura Japan
> Suzuki
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack at lists.launchpad.net<mailto:openstack at lists.launchpad.net>
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120625/647a7cac/attachment.html>


More information about the Openstack mailing list