Hi Mandar,<div><br></div><div>The whole "default" stuff is a common point of confusion with QuantumManager, and something we're planning on getting rid of in Folsom. For Essex, I've explained the details below. <br>
<br><div class="gmail_quote">On Wed, Apr 11, 2012 at 8:47 PM, Vaze, Mandar <span dir="ltr"><<a href="mailto:Mandar.Vaze@nttdata.com">Mandar.Vaze@nttdata.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Dan,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Bug you referred to specifically says “default” tenant – which is not the case for me.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I’m not using default tenant – I’m using uuid of “demo” tenant created by stack.sh</span></p></div>
</div></blockquote><div><br></div><div>I suspect you are spinning up VMs using the "demo" tenant, but unless you have modified your stack.sh, when you create a network using nova-manage, no "--project_id" flag is specified. Hence, from a Quantum perspective that network does not have a tenant, making this a "global" network, which is owned by a tenant named "default" (this string can be changed using the quantum_default_tenant_id flag in nova). For more details on creating quantum networks with nova-manage, see: <a href="http://docs.openstack.org/incubation/openstack-network/admin/content/Net-Create-dle455.html">http://docs.openstack.org/incubation/openstack-network/admin/content/Net-Create-dle455.html</a></div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">BTW, stack.sh creates incorrect entries in quantum/mélange DB, it has tenant ID = “default” – This should be uuid of some valid tenant, not string “default”</span></p>
</div></div></blockquote><div><br></div><div>This is not actually incorrect, given the logic above, though I admit it is confusing. This was really just to provide backward compatibility with old nova-manage calls that did not specify a project. In Folsom, we're planning on requiring a tenant for all Quantum network creation. </div>
<div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">FWIW, this setup (although seems incorrect) works with quantum+nova_ipam – not with quantum+mélange
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">i.e. With quantum+nova_ipam I can just create a VM and ssh to it.</span></p></div></div></blockquote>
<div><br></div><div>Yes, quantum + nova-ipam is a much more tested path. I suspect you are just running into the bug I mention below and that your quantum + melange setup would work once you have that patch in, but I don't know of anyone using Melange + DHCP in a real deployment, so I wouldn't be surprised if there were more issues lurking. </div>
<div><br></div><div>Dan</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal">
<span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">-Mandar<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Dan Wendlandt [mailto:<a href="mailto:dan@nicira.com" target="_blank">dan@nicira.com</a>]
<br>
<b>Sent:</b> Wednesday, April 11, 2012 11:07 PM<br>
<b>To:</b> Vaze, Mandar<br>
<b>Cc:</b> Nicolas de BONFILS; <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a></span></p><div><div class="h5"><br>
<b>Subject:</b> Re: [Openstack] Instance can't reach dhcp or metadata<u></u><u></u></div></div><p></p><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Wed, Apr 11, 2012 at 5:24 AM, Vaze, Mandar <<a href="mailto:Mandar.Vaze@nttdata.com" target="_blank">Mandar.Vaze@nttdata.com</a>> wrote:<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I have
<b>never</b> been able to get to ssh to an instance with Quantum+mélange</span><u></u><u></u></p>
<p class="MsoNormal"><a href="https://lists.launchpad.net/openstack/msg09206.html" target="_blank">https://lists.launchpad.net/openstack/msg09206.html</a><u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Looking at that thread, I suspect you may be hitting the same issue I mentioned above: <a href="https://bugs.launchpad.net/quantum/+bug/949234" target="_blank">https://bugs.launchpad.net/quantum/+bug/949234</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">If you try that fix and either do or don't have luck with it, please add a comment to the issue.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Dan<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">-Mandar</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> openstack-bounces+mandar.vaze=<a href="mailto:nttdata.com@lists.launchpad.net" target="_blank">nttdata.com@lists.launchpad.net</a>
[mailto:<a href="mailto:openstack-bounces%2Bmandar.vaze" target="_blank">openstack-bounces+mandar.vaze</a>=<a href="mailto:nttdata.com@lists.launchpad.net" target="_blank">nttdata.com@lists.launchpad.net</a>]
<b>On Behalf Of </b>Nicolas de BONFILS<br>
<b>Sent:</b> Wednesday, April 11, 2012 1:45 AM<br>
<b>To:</b> Dan Wendlandt<br>
<b>Cc:</b> <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>
<b>Subject:</b> Re: [Openstack] Instance can't reach dhcp or metadata</span><u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Hi,<br>
<br>
I can't get the ssh connection,VNC doesn't respond and 10.0.0.1 go to localhost (ssh to server itself)<br clear="all">
<u></u><u></u></p>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<p class="MsoNormal">---<u></u><u></u></p>
<div>
<p class="MsoNormal">Nicolas<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Tue, Apr 10, 2012 at 21:42, Dan Wendlandt <<a href="mailto:dan@nicira.com" target="_blank">dan@nicira.com</a>> wrote:<u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"> <u></u><u></u></p>
<div>
<div>
<p class="MsoNormal">On Tue, Apr 10, 2012 at 11:54 AM, Nicolas de BONFILS <<a href="mailto:ndebonfils@gmail.com" target="_blank">ndebonfils@gmail.com</a>> wrote:<u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">Things starting to work !<u></u><u></u></p>
<div>
<p class="MsoNormal">When I boot boot cirros image with ip 10.0.0.1, I can ssh (even if it doesn't accept my password), but when I lauch tty-uec image (or other) with ip starting at 10.0.0.2, ssh tell
"no route to host"<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal">If it works on one image, but not another, this is probably an issue with the image itself. The "no route to host" error is likely because the gateway interface 10.0.0.1 is arping
for 10.0.0.2 and not getting a response. Perhaps the image is not configured to use DCHP on the interface? Or is not correctly launching? I'd use VNC to login and check it out. <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#888888"> </span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#888888">Dan</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#888888"> </span><u></u><u></u></p>
</div>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal"><br>
I sum up the actual conf<u></u><u></u></p>
<ul type="disc">
<li class="MsoNormal">
br-int as bridge in OVS, no other conf (nothing in interfaces file), ifconfig show a 10.0.0.1 ip<u></u><u></u></li><li class="MsoNormal">
nova conf got public_interface=br-int / flat_network_bridge=br-int / flat_interface=eth0<u></u><u></u></li><li class="MsoNormal">
quantum manage the assignation successfully<u></u><u></u></li></ul>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Thanks<u></u><u></u></p>
</div>
<p class="MsoNormal">---<u></u><u></u></p>
<div>
<p class="MsoNormal">Nicolas<u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/%7Eopenstack" 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/%7Eopenstack" 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><u></u><u></u></p>
</div>
</blockquote>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<u></u><u></u></p>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<p class="MsoNormal">--
<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal">~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
Dan Wendlandt <u></u><u></u></p>
<div>
<p class="MsoNormal">Nicira, Inc: <a href="http://www.nicira.com" target="_blank">www.nicira.com</a><u></u><u></u></p>
<div>
<p class="MsoNormal">twitter: danwendlandt<br>
~~~~~~~~~~~~~~~~~~~~~~~~~~~<u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
</div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
</div>
<p class="MsoNormal"><br>
______________________________________________________________________<br>
Disclaimer:This email and any attachments are sent in strictest confidence for the sole use of the addressee and may contain legally privileged, confidential, and proprietary data. If you are not the intended recipient, please advise the sender by replying
promptly to this email and then delete and destroy this email and any attachments without any further use, copying or forwarding<u></u><u></u></p>
</div>
</blockquote>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal">-- <br>
~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
Dan Wendlandt <u></u><u></u></p>
<div>
<p class="MsoNormal">Nicira, Inc: <a href="http://www.nicira.com" target="_blank">www.nicira.com</a><u></u><u></u></p>
<div>
<p class="MsoNormal">twitter: danwendlandt<br>
~~~~~~~~~~~~~~~~~~~~~~~~~~~<u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div></div></div><div><div class="h5">
<br clear="both">
______________________________________________________________________<br>
Disclaimer:This email and any attachments are sent in strictest confidence for the sole use of the addressee and may contain legally privileged, confidential, and proprietary data. If you are not the intended recipient, please advise the sender by replying promptly to this email and then delete and destroy this email and any attachments without any further use, copying or forwarding<br>
</div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>Dan Wendlandt <div>Nicira, Inc: <a href="http://www.nicira.com" target="_blank">www.nicira.com</a><br><div>twitter: danwendlandt<br>
~~~~~~~~~~~~~~~~~~~~~~~~~~~<br></div></div><br>
</div>