<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:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@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;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";
        mso-fareast-language:ZH-CN;}
.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'>Glad your networking is fine </span><span style='font-size:11.0pt;font-family:Wingdings;color:#1F497D'>J</span><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'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>One other possibility is, do you have anything in the PRESEED_URL variable?<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Are you OK to share 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'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Cheers,<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> 25 June 2012 3:49<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><p class=MsoNormal>Hi John,<o:p></o:p></p><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p></div><div><div><div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm'><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><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:</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><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" target="_blank">https://github.com/openstack-dev/devstack/blob/master/tools/xen/install_os_domU.sh#L257</a></span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><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):</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><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" target="_blank">https://github.com/openstack-dev/devstack/blob/master/tools/xen/install_os_domU.sh#L168</a></span><o:p></o:p></p></div></blockquote><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>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:  <a href="http://devstackubuntupreseed.cfg">http:///devstackubuntupreseed.cfg</a>.  <o:p></o:p></p></div><div><p class=MsoNormal> <o:p></o:p></p></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm'><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><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?</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Ifconfig should list xenbr0 having an appropriate IP address.</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p></div></blockquote><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>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.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>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.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Thanks!<o:p></o:p></p></div><div><p class=MsoNormal>Ryu<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal> <o:p></o:p></p></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm'><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hope that helps,</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>John</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><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"'> <a href="mailto:ryu@midokura.jp" target="_blank">ryu@midokura.jp</a> [mailto:<a href="mailto:ryu@midokura.jp" target="_blank">ryu@midokura.jp</a>] <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; <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br><b>Subject:</b> Re: [Openstack] XCP with DevStack</span><o:p></o:p></p><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Hi John, <o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>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 style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>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 style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>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 style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Thanks in advance!<o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Cheers,<o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Ryu<o:p></o:p></p></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>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 style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>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 style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><br>> -----Original Message-----<br>> From: openstack-bounces+john.garbutt=<a href="mailto:eu.citrix.com@lists.launchpad.net" target="_blank">eu.citrix.com@lists.launchpad.net</a><br>> [mailto:<a href="mailto:openstack-bounces%2Bjohn.garbutt" target="_blank">openstack-bounces+john.garbutt</a>=<a href="mailto:eu.citrix.com@lists.launchpad.net" target="_blank">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" target="_blank">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 style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>> _______________________________________________<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" target="_blank">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 style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p></div></div></div></blockquote></div><p class=MsoNormal><o:p> </o:p></p></div></div></div></body></html>