<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"MS Mincho";
        panose-1:2 2 6 9 4 2 5 8 3 4;}
@font-face
        {font-family:"MS Mincho";
        panose-1:2 2 6 9 4 2 5 8 3 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@MS Mincho";
        panose-1:2 2 6 9 4 2 5 8 3 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:JA;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-GB link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I developed those changes with Ubuntu 12.04, so it should be OK.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>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:<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><a href="https://github.com/openstack-dev/devstack/blob/master/tools/xen/install_os_domU.sh#L257">https://github.com/openstack-dev/devstack/blob/master/tools/xen/install_os_domU.sh#L257</a><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>The HOST_IP should have been setup by this (or whatever is in your localrc file):<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><a href="https://github.com/openstack-dev/devstack/blob/master/tools/xen/install_os_domU.sh#L168">https://github.com/openstack-dev/devstack/blob/master/tools/xen/install_os_domU.sh#L168</a><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Have you got the networking working correctly on your XenServer on Ubuntu?<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Ifconfig should list xenbr0 having an appropriate IP address.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hope that helps,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>John<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> ryu@midokura.jp [mailto:ryu@midokura.jp] <b>On Behalf Of </b>Ishimoto, Ryu<br><b>Sent:</b> 22 June 2012 3:11<br><b>To:</b> John Garbutt<br><b>Cc:</b> Takaaki Suzuki; openstack@lists.launchpad.net<br><b>Subject:</b> Re: [Openstack] XCP with DevStack<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>Hi John, <o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Thanks for all your help.  I have a question regarding your patch to make devstack work with XCP (<a href="https://review.openstack.org/#/c/7673/" target="_blank">https://review.openstack.org/#/c/7673/</a>).  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.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>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.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>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.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Thanks in advance!<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Cheers,<o:p></o:p></p></div><div><p class=MsoNormal>Ryu<o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>On Fri, Jun 1, 2012 at 9:18 PM, John Garbutt <<a href="mailto:John.Garbutt@citrix.com" target="_blank">John.Garbutt@citrix.com</a>> wrote:<o:p></o:p></p><p class=MsoNormal>Hi,<br><br>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):<br><a href="http://wiki.xen.org/wiki/Using_XCP_-_preparing_the_toolstack" target="_blank">http://wiki.xen.org/wiki/Using_XCP_-_preparing_the_toolstack</a><br><br>It turns out the current DevStack will not work with this, but I have pushed some changes to support it:<br><a href="https://review.openstack.org/#/c/7673/" target="_blank">https://review.openstack.org/#/c/7673/</a><br><br>The networking configuration can be a little confusing, there is an overview on the wiki:<br><a href="http://wiki.openstack.org/XenServer/NetworkingFlags" target="_blank">http://wiki.openstack.org/XenServer/NetworkingFlags</a><br><br>The DevStack flags are there to configure each of the VIFs on the DomU, the defaults can be seen here:<br><a href="https://github.com/openstack-dev/devstack/blob/master/tools/xen/xenrc" target="_blank">https://github.com/openstack-dev/devstack/blob/master/tools/xen/xenrc</a><br><br>If things are still un clear, do ask some more questions.<br>I have plans to document this exact setup in some detail in the near future.<br>Feel free to add to these docs on the wiki.<br><br>Thanks,<br>John<o:p></o:p></p><div><div><p class=MsoNormal><br>> -----Original Message-----<br>> From: openstack-bounces+john.garbutt=<a href="mailto:eu.citrix.com@lists.launchpad.net">eu.citrix.com@lists.launchpad.net</a><br>> [mailto:<a href="mailto:openstack-bounces%2Bjohn.garbutt">openstack-bounces+john.garbutt</a>=<a href="mailto:eu.citrix.com@lists.launchpad.net">eu.citrix.com@lists.launchpad.net</a>]<br>> On Behalf Of Takaaki Suzuki<br>> Sent: 01 June 2012 10:12<br>> To: <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>> Cc: dev<br>> Subject: [Openstack] XCP with DevStack<br>><br>> Hi all.<br>><br>> I need your knowledge. :)<br>> I prepared XCP plus OpenvSwitch with Ubuntu precise on own environment.<br>><br>> And I want to prepare DevStack for XCP(Ubuntu).<br>> <a href="https://github.com/openstack-" target="_blank">https://github.com/openstack-</a><br>> dev/devstack/blob/master/tools/xen/README.md<br>> I don't understand localrc network settings part.<br>> The script launched DevStackOSDomU. after that network settings part failed.<br>><br>> If you know any other DevStack/OpenStack for XCP installation or<br>> configuration document.<br>> Please let me know.<br>><br>> Thanks!<br>> --<br>> Midokura Japan<br>> Suzuki<br>><o:p></o:p></p></div></div><p class=MsoNormal>> _______________________________________________<br>> Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>> Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>> Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>> More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p></div></body></html>