<div dir="ltr">Quantum's metadata solution for Grizzly can run either with or without the l3 agent.<div style>When running within the l3 agent, packets directed to 169.254.169.254 are sent to the default gateway; the l3 agent will spawn a metadata proxy for each router; the metadata proxy forwards them to the metadata agent using a datagram socket, and finally the agent reaches the Nova metadata server.</div>
<div style><br></div><div style>Without the l3 agent, the 'isolated' mode can be enabled for the metadata access service. This is achieved by setting the flag enable_isolated_metadata_proxy to True in the dhcp_agent configuration file. When the isolated proxy is enabled, the dhcp agent will send an additional static route to each VM. This static route will have the dhcp agent as next hop and <a href="http://169.254.0.0/16">169.254.0.0/16</a> as destination CIDR; the dhcp agent will spawn a metadata proxy for each network. Once the packet reaches the proxy, the procedure works as above. This should also explain why the metadata agent does not depend on the l3 agent.</div>
<div style><br></div><div style>If you are deploying the l3 agent, but do not want to deploy the metadata agent on the same host, the 'metadata access network' can be considered. This option is enabled by setting enable_metadata_network on the dhcp agent configuration file. When enabled, quantum networks whose cidr is included in <a href="http://169.254.0.0/16">169.254.0.0/16</a> will be regarded as 'metadata networks', and will spawn a metadata proxy. The user can then connect such network to any logical router through the quantum API; thus granting metadata access to all the networks connected to such router.</div>
<div style><br></div><div style>I think the documentation for quantum metadata has not yet been merged in the admin guide.</div><div style>I hope this clarifies the matter a little... although this thread has gone a little bit off-topic. Can you consider submitting one or more questions to <a href="http://ask.openstack.org">ask.openstack.org</a>?</div>
<div style><br></div><div style><br></div><div style>Regards,</div><div style>Salvatore</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 23 April 2013 00:50, Martinx - $B%8%'!<%`%:(B <span dir="ltr"><<a href="mailto:thiagocmartinsc@gmail.com" target="_blank">thiagocmartinsc@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">That is precisely what I'm trying to figure out!<div><br></div><div>How to setup metadata without L3 using Quantum Single Flat. I can't find any document about this.</div>
<div><br></div><div>Plus, to make things worse, the package quantum-metadata-agent <b><u>DOES NOT DEPENDS</u></b> on quantum-l3-agent.<br>


<div><br></div><div>BTW, I'm sure that with my guide, I'll be able to run Quantum on its simplest scenario!</div>
<div><br></div><div>Give it a shot!!   <a href="https://gist.github.com/tmartinx/d36536b7b62a48f859c2" target="_blank">https://gist.github.com/tmartinx/d36536b7b62a48f859c2</a></div><div><br></div><div>My guide is perfect, have no bugs. Tested it +50 times.</div>




<div><br></div><div>Cheers!</div><div>Thiago</div><div><br></div></div><div><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On 22 April 2013 19:18, Paras pradhan <span dir="ltr"><<a href="mailto:pradhanparas@gmail.com" target="_blank">pradhanparas@gmail.com</a>></span> wrote:<br>




<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">So this is what I understand. Even if you do flat (nova-network style) , no floating ip you still need l3 for metadata(?). I am really confused. I could never ever make quantum work. never had any issues with nova-network.<span><font color="#888888"><div>





<br></div><div>Paras.</div><div><br></div></font></span></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Apr 19, 2013 at 8:35 PM, Daniels Cai <span dir="ltr"><<a href="mailto:danxcai@gmail.com" target="_blank">danxcai@gmail.com</a>></span> wrote:<br>





<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="auto"><div>paras </div><div> </div><div>In my experience the answer is yes .</div>



<div>In grizzly , metadata proxy works in the qrouter's name space ,no router means no metadata . </div>


<div>I am not sure whether any other approaches .</div><div><br>Daniels Cai <div><br><div><a href="http://dnscai.com" target="_blank">http://dnscai.com</a> </div></div></div><div><br>$B:_(B 2013-4-20$B!$(B9:28$B!$(B"Martinx - $B%8%'!<%`%:(B" <<a href="mailto:thiagocmartinsc@gmail.com" target="_blank">thiagocmartinsc@gmail.com</a>> $B<LF;!'(B<br>






<br></div><div><div><blockquote type="cite"><div><div dir="ltr">Daniels,<div><br></div><div>There is no `Quantum L3' on this setup (at least not on my own environment / guide).</div><div><br></div><div>So, this leads me to one question: Metadata depends on L3?</div>








<div><br></div><div>I do not want Quantum L3 package and I want Metadata... Is that possible?</div><div><br></div><div>Tks,</div><div>Thiago</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">


On 19 April 2013 21:44, Daniels Cai <span dir="ltr"><<a href="mailto:danxcai@gmail.com" target="_blank">danxcai@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">








<div dir="auto"><div><span></span></div><div><div>Hi Paras </div><div>
The log says your dhcp works fine while metadata is not </div><div>Check the following steps </div><div><br></div><div>1.Make sure nova API enables metadata service </div><div><br></div><div>2. A virtual router should be created for your subnet and this router is binding with a l3 agent </div>









<div><br></div><div><a href="http://3.in" target="_blank">3.in</a> the l3 agent metadata proxy service should be works fine</div><div>Metadata service config file should contains nova API host and keystone auth info </div>








<div><br></div>
<div>4.  Ovs bridge br-ex is needed in your l3 agent server even you don't need floating ip </div><div><br><span style="font-family:'.Helvetica NeueUI';font-size:18px">Daniels Cai </span><div style="font-family:'.Helvetica NeueUI';font-size:18px">









<br><div><a href="http://dnscai.com" target="_blank">http://dnscai.com</a> </div></div></div><div><br>$B:_(B 2013-4-19$B!$(B23:42$B!$(BParas pradhan <<a href="mailto:pradhanparas@gmail.com" target="_blank">pradhanparas@gmail.com</a>> $B<LF;!'(B<br>








<br></div><div><div><blockquote type="cite">
<div><div dir="ltr">Any idea why I could not hit <a href="http://169.254.169.254/20090404/instanceid" target="_blank">http://169.254.169.254/20090404/instanceid</a> ? Here is what I am seeing in cirros .<div><br></div><div>








--</div><div><div>
Sending discover...</div>
<div>Sending select for 192.168.122.98...</div><div>Lease of 192.168.122.98 obtained, lease time 120</div><div>deleting routers</div><div>route: SIOCDELRT: No such process</div><div>route: SIOCADDRT: No such process</div>










<div>adding dns <a href="tel:192.168.122.1" value="+551921681221" target="_blank">192.168.122.1</a></div><div>adding dns 8.8.8.8</div><div>cirrosds 'net' up at 4.62</div><div>checking <a href="http://169.254.169.254/20090404/instanceid" target="_blank">http://169.254.169.254/20090404/instanceid</a></div>










<div>failed 1/20: up 4.79. request failed</div><div>failed 2/20: up 6.97. request failed</div><div>failed 3/20: up 9.03. request failed</div><div>failed 4/20: up 11.08. request fa</div></div><div><br></div><div>..</div><div>










--</div><div><br></div><div>Thanks</div><div>Paras.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Apr 11, 2013 at 7:22 AM, Martinx - $B%8%'!<%`%:(B <span dir="ltr"><<a href="mailto:thiagocmartinsc@gmail.com" target="_blank">thiagocmartinsc@gmail.com</a>></span> wrote:<br>










<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Guys!<div><br></div><div> I just update the <a href="https://gist.github.com/tmartinx/d36536b7b62a48f859c2" target="_blank"><b>Ultimate OpenStack Grizzly Guide</b></a>!</div>










<div><br></div><div><div> You guys will note that this environment works with "<b>echo 0 > /proc/sys/net/ipv4/ip_forward</b>", on <b><u>both</u></b> controller <b>AND</b> compute nodes! Take a look! I didn't touch the /etc/sysctl.conf file and it is working!</div>












</div><div><br></div><div> I'll ask for the help of this community to finish my guide.</div>
<div><br></div><div> On my `TODO list' I have: enable Metadata, Spice and Ceilometer. Volunteers?!</div><div><br></div><div>Best!</div><div>Thiago</div><div class="gmail_extra"><br><div class="gmail_quote"><div>


On 20 March 2013 19:51, Martinx - $B%8%'!<%`%:(B <span dir="ltr"><<a href="mailto:thiagocmartinsc@gmail.com" target="_blank">thiagocmartinsc@gmail.com</a>></span> wrote:<br></div><div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">













<div dir="ltr"><div>Hi!</div><div><br></div><div> I'm working with Grizzly G3+RC1 on top of Ubuntu 12.04.2 and here is the guide I wrote:</div><div><br></div><div> <a href="https://gist.github.com/tmartinx/d36536b7b62a48f859c2" target="_blank">Ultimate OpenStack Grizzly Guide</a></div>














<div><br></div><div> It covers:</div><div><br></div><div> * Ubuntu 12.04.2</div><div> * Basic Ubuntu setup</div><div> * KVM</div><div> * OpenvSwitch</div><div> * Name Resolution for OpenStack components;</div><div> * LVM for Instances</div>














<div> * Keystone</div><div> * Glance</div><div> * Quantum - Single Flat, Super Green!!</div><div> * Nova</div><div> * Cinder / tgt</div><div> * Dashboard</div><div><br></div><div> It is still a draft but, every time I deploy Ubuntu and Grizzly, I follow this little guide...</div>














<div><br></div><div> I would like some help to improve this guide... If I'm doing something wrong, tell me! Please!</div><div><br></div><div> Probably I'm doing something wrong, I don't know yet, but I'm seeing some errors on the logs, already reported here on this list. Like for example: nova-novncproxy conflicts with novnc (no VNC console for now), dhcp-agent.log / auth.log points to some problems with `sudo' or the `rootwarp' subsystem when dealing with metadata (so it isn't working)...</div>














<div><br></div><div> But in general, it works great!!</div><div><br></div><div>Best!</div><div>Thiago</div></div>
</blockquote></div></div></div><br></div></div>
<br>_______________________________________________<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><br>
<br></blockquote></div><br></div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a></span><br>









<span>Post to     : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a></span><br><span>Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a></span><br>









<span>More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a></span><br></div></blockquote></div></div></div></div>
</blockquote></div><br></div>
</div></blockquote></div></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div></div></div></div>
<br>_______________________________________________<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><br>
<br></blockquote></div><br></div>