Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: OpenStack: Dev

XCP with DevStack

 

 

OpenStack dev RSS feed   Index | Next | Previous | View Threaded


suzuki at midokura

Jun 1, 2012, 2:12 AM

Post #1 of 6 (561 views)
Permalink
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
Unsubscribe : https://launchpad.net/~openstack
More help : https://help.launchpad.net/ListHelp


John.Garbutt at citrix

Jun 1, 2012, 5:18 AM

Post #2 of 6 (551 views)
Permalink
Re: XCP with DevStack [In reply to]

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
> [mailto:openstack-bounces+john.garbutt=eu.citrix.com [at] lists]
> On Behalf Of Takaaki Suzuki
> Sent: 01 June 2012 10:12
> To: openstack [at] lists
> 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
> Unsubscribe : https://launchpad.net/~openstack
> More help : https://help.launchpad.net/ListHelp

_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to : openstack [at] lists
Unsubscribe : https://launchpad.net/~openstack
More help : https://help.launchpad.net/ListHelp


John.Garbutt at citrix

Jun 22, 2012, 7:21 AM

Post #3 of 6 (509 views)
Permalink
Re: XCP with DevStack [In reply to]

Hi,

I developed those changes with Ubuntu 12.04, so it should be OK.

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

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

Hope that helps,
John

From: ryu [at] midokura [mailto:ryu [at] midokura] On Behalf Of Ishimoto, Ryu
Sent: 22 June 2012 3:11
To: John Garbutt
Cc: Takaaki Suzuki; openstack [at] lists
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<mailto:John.Garbutt [at] citrix>> 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<mailto:eu.citrix.com [at] lists>
> [mailto:openstack-bounces+john.garbutt<mailto:openstack-bounces%2Bjohn.garbutt>=eu.citrix.com [at] lists<mailto:eu.citrix.com [at] lists>]
> On Behalf Of Takaaki Suzuki
> Sent: 01 June 2012 10:12
> To: openstack [at] lists<mailto:openstack [at] lists>
> 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<mailto:openstack [at] lists>
> Unsubscribe : https://launchpad.net/~openstack
> More help : https://help.launchpad.net/ListHelp


thomas at goirand

Jun 22, 2012, 11:34 PM

Post #4 of 6 (509 views)
Permalink
Re: XCP with DevStack [In reply to]

On 06/01/2012 08:18 PM, John Garbutt 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

IMO, the overview is far than enough. Having the relevant xe commands
that would do the setup in a nice tutorial is IMO mandatory for such
setup to be attractive.

> 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 wrote it before, and I will write it again: a shell script is not, and
will never replace, a documentation. What you need to do is write enough
documentation so that an experienced admin can write his own script, not
the other way around! So please write a decent tutorial.

> 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.

Please go ahead, I'd be happy to add some of it in the README.Debian for
XCP + Openstack.

Thomas

_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to : openstack [at] lists
Unsubscribe : https://launchpad.net/~openstack
More help : https://help.launchpad.net/ListHelp


John.Garbutt at citrix

Jun 25, 2012, 2:25 AM

Post #5 of 6 (510 views)
Permalink
Re: XCP with DevStack [In reply to]

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 [mailto:ryu [at] midokura] On Behalf Of Ishimoto, Ryu
Sent: 25 June 2012 3:49
To: John Garbutt
Cc: Takaaki Suzuki; openstack [at] lists
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<mailto:ryu [at] midokura> [mailto:ryu [at] midokura<mailto:ryu [at] midokura>] On Behalf Of Ishimoto, Ryu
Sent: 22 June 2012 3:11
To: John Garbutt
Cc: Takaaki Suzuki; openstack [at] lists<mailto:openstack [at] lists>
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<mailto:John.Garbutt [at] citrix>> 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<mailto:eu.citrix.com [at] lists>
> [mailto:openstack-bounces+john.garbutt<mailto:openstack-bounces%2Bjohn.garbutt>=eu.citrix.com [at] lists<mailto:eu.citrix.com [at] lists>]
> On Behalf Of Takaaki Suzuki
> Sent: 01 June 2012 10:12
> To: openstack [at] lists<mailto:openstack [at] lists>
> 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<mailto:openstack [at] lists>
> Unsubscribe : https://launchpad.net/~openstack
> More help : https://help.launchpad.net/ListHelp


John.Garbutt at citrix

Jun 25, 2012, 2:54 AM

Post #6 of 6 (504 views)
Permalink
Re: XCP with DevStack [In reply to]

From: Thomas Goirand
> I wrote it before, and I will write it again: a shell script is not, and will never
> replace, a documentation. What you need to do is write enough
> documentation so that an experienced admin can write his own script, not
> the other way around! So please write a decent tutorial.

I don' t disagree, it's by no means perfect at the moment.
I plan to write a tutorial at some point soon, to complement the scripts.

My docs plans for Folsom are:
- Update the getting started guide for new DevStack
- Review docs for KVM specific material
- Raise and fix bugs around the above issues
- Write a manual getting started guide

Hopefully that should leave us in a better position, and hopefully I will get on to that soon.
Afraid QA and coding currently proving higher priority.

Cheers,
John

_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to : openstack [at] lists
Unsubscribe : https://launchpad.net/~openstack
More help : https://help.launchpad.net/ListHelp

OpenStack dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.