<div dir="ltr"><div>Hi Vikrant,</div><div><br></div><div>Please note that you won&#39;t see the metadata namespace getting created</div><div>right after creating a network. The namespace will be present only when</div><div>necessary; ie., when a port is bound to a chassis and then the metadata agent</div><div>will detect that condition and create/provision the metadata namespace</div><div>accordingly *in that chassis*.</div><div><br></div><div>So for you to be able to use this namespace for debugging, you would need</div><div>a VM running on that node (or bind a port manually to it through the iface-id</div><div>external_id).</div><div><br></div><div>Cheers,</div><div>Daniel</div><div><br></div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 19, 2017 at 10:06 AM, Numan Siddique <span dir="ltr">&lt;<a href="mailto:nusiddiq@redhat.com" target="_blank">nusiddiq@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><br><div dir="ltr">Hi Vikrant,<div><br></div><div>Please see this link - <a href="https://gist.github.com/russellb/4ab0a9641f12f8ac66fdd6822ee7789e" target="_blank">https://gist.github.com/russ<wbr>ellb/4ab0a9641f12f8ac66fdd6822<wbr>ee7789e</a>  and grep for &quot;add_phys_port&quot;.</div><div><br></div><div>Can you see what is the value of &quot;ovn_metadata_enabled&quot; in the file  /etc/neutron/plugins/ml2/ml2_<wbr>conf.ini.</div><div>If it is false, then please change it to true and restart the neutron-server. When you create a new network, you should see a metadata namespace getting created.</div><div><br></div><div><br></div><div>Thanks</div><span class="m_-5759252310992829274HOEnZb"><font color="#888888"><div>Numan</div><div><br></div></font></span><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_-5759252310992829274h5">On Tue, Sep 19, 2017 at 9:32 AM, Vikrant Aggarwal <span dir="ltr">&lt;<a href="mailto:ervikrant06@gmail.com" target="_blank">ervikrant06@gmail.com</a>&gt;</span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_-5759252310992829274h5"><div dir="ltr"><div><div>Thanks for your reply Russell.<br><br></div>I installed devstack with latest development releases but I don&#39;t see the namespace created with latest version also. <br><br>~~~</div><div><br></div><div>[stack@devstack-centos-control<wbr>ler devstack]$ grep -i ovn local.conf  | grep -v &quot;#&quot;<br>enable_plugin networking-ovn <a href="https://git.openstack.org/openstack/networking-ovn" target="_blank">https://git.openstack.org/open<wbr>stack/networking-ovn</a><br>enable_service ovn-northd<br>enable_service ovn-controller<br>enable_service networking-ovn-metadata-agent</div><div><br></div><div>[stack@devstack-centos-control<wbr>ler devstack]$ neutron net-list<br>neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.<br>+-----------------------------<wbr>---------+-----------+--------<wbr>------------------------------<wbr>--------------------+<br>| id                            <wbr>       | name      | subnets                       <wbr>                           |<br>+-----------------------------<wbr>---------+-----------+--------<wbr>------------------------------<wbr>--------------------+<br>| 786530e0-775b-482c-8149-c6e751<wbr>c188da | internal1 | dc4961f7-0be3-46be-a545-da7e3a<wbr>9add8c <a href="http://10.10.10.0/24" target="_blank">10.10.10.0/24</a>       |<br>| 823cab04-68ea-4d02-843d-ab420e<wbr>2b0709 | private   | 00893897-44b3-42e6-9b2d-568568<wbr>fae221 fde5:d829:f076::/64 |<br>|                             <wbr>         |           | 10b1f798-729c-4329-ae0a-65946f<wbr>ee80e4 <a href="http://10.0.0.0/26" target="_blank">10.0.0.0/26</a>         |<br>| e1ddda3d-eab5-46a9-a880-15f4ea<wbr>b0360c | public    | b785fc74-ee29-4d0d-bd1f-234337<wbr>528024                     |<br>|                             <wbr>         |           | d49dc742-9709-4e3b-8a45-68333b<wbr>7af8b1                     |<br>+-----------------------------<wbr>---------+-----------+--------<wbr>------------------------------<wbr>--------------------+<br></div><div><br></div><div>[stack@devstack-centos-control<wbr>ler devstack]$ ip netns list<br>[stack@devstack-centos-control<wbr>ler devstack]$<br>~~~<br><br></div>Can you please share the steps if you have them handy. <br><div class="gmail_extra"><span><br clear="all"><div><div class="m_-5759252310992829274m_-2573818827191895264m_-5151796238446929872gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Thanks &amp; Regards,</div>
<div>Vikrant Aggarwal</div><br><span></span><span></span></div></div></div>
<br></span><span><div class="gmail_quote">On Tue, Sep 19, 2017 at 1:51 AM, Russell Bryant <span dir="ltr">&lt;<a href="mailto:russell@ovn.org" target="_blank">russell@ovn.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On Fri, Sep 15, 2017 at 12:45 AM, Vikrant Aggarwal<br>
&lt;<a href="mailto:ervikrant06@gmail.com" target="_blank">ervikrant06@gmail.com</a>&gt; wrote:<br>
&gt; Hi Folks,<br>
&gt;<br>
&gt; With ovs as mechanism driver in neutron, I used network namespaces often to<br>
&gt; troubleshoot the network related issue especially with instances which are<br>
&gt; not having floating ip attached to them. It&#39;s easy to take ssh session to<br>
&gt; instances without floating ip from network namespace and then take the<br>
&gt; tcpdump at various hops to troubleshoot the issue.<br>
&gt;<br>
&gt; With ovn, hops are reduced as all decisions are made using openflows but<br>
&gt; it&#39;s difficult to troubleshoot the issue.<br>
&gt;<br>
&gt; Do we have any mechanism to take the ssh session to instance with only<br>
&gt; private ip in case of ovn and take tcpdump on logical switches and ports?<br>
<br>
</span>If you&#39;re using the latest Neutron integration (networking-ovn), we<br>
now create namespaces for OpenStack metadata API integration.  You can<br>
use those namespaces like you did before.<br>
<br>
The other option would be to manually create a Neutron port, and then<br>
manually create an interface in a namespace for that Neutron port.  I<br>
can send instructions if needed ...<span class="HOEnZb"><font color="#888888"><br>
<span class="m_-5759252310992829274m_-2573818827191895264m_-5151796238446929872HOEnZb"><font color="#888888"><br>
--<br>
Russell Bryant<br>
</font></span></font></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br></font></span></span></div></div><span class="HOEnZb"><font color="#888888">
<br></font></span></div></div><span class="HOEnZb"><font color="#888888"><span>______________________________<wbr>_________________<br>
discuss mailing list<br>
<a href="mailto:discuss@openvswitch.org" target="_blank">discuss@openvswitch.org</a><br>
<a href="https://mail.openvswitch.org/mailman/listinfo/ovs-discuss" rel="noreferrer" target="_blank">https://mail.openvswitch.org/m<wbr>ailman/listinfo/ovs-discuss</a><br>
<br></span></font></span></blockquote></div><br></div></div>
</div><br></div>
</blockquote></div><br></div></div>