<div dir="ltr">Hi Vikrant,<div><br></div><div>Please see this link - <a href="https://gist.github.com/russellb/4ab0a9641f12f8ac66fdd6822ee7789e">https://gist.github.com/russellb/4ab0a9641f12f8ac66fdd6822ee7789e</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_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><div>Numan</div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">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><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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-<wbr>controller 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/<wbr>openstack/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-<wbr>controller 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-<wbr>c6e751c188da | internal1 | dc4961f7-0be3-46be-a545-<wbr>da7e3a9add8c <a href="http://10.10.10.0/24" target="_blank">10.10.10.0/24</a>       |<br>| 823cab04-68ea-4d02-843d-<wbr>ab420e2b0709 | private   | 00893897-44b3-42e6-9b2d-<wbr>568568fae221 fde5:d829:f076::/64 |<br>|                             <wbr>         |           | 10b1f798-729c-4329-ae0a-<wbr>65946fee80e4 <a href="http://10.0.0.0/26" target="_blank">10.0.0.0/26</a>         |<br>| e1ddda3d-eab5-46a9-a880-<wbr>15f4eab0360c | public    | b785fc74-ee29-4d0d-bd1f-<wbr>234337528024                  <wbr>   |<br>|                             <wbr>         |           | d49dc742-9709-4e3b-8a45-<wbr>68333b7af8b1                  <wbr>   |<br>+-----------------------------<wbr>---------+-----------+--------<wbr>------------------------------<wbr>--------------------+<br></div><div><br></div><div>[stack@devstack-centos-<wbr>controller devstack]$ ip netns list<br>[stack@devstack-centos-<wbr>controller devstack]$<br>~~~<br><br></div>Can you please share the steps if you have them handy. <br><div class="gmail_extra"><span class=""><br clear="all"><div><div class="m_-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 class=""><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 ...<br>
<span class="m_-5151796238446929872HOEnZb"><font color="#888888"><br>
--<br>
Russell Bryant<br>
</font></span></blockquote></div><br></span></div></div>
<br>______________________________<wbr>_________________<br>
discuss mailing list<br>
<a href="mailto:discuss@openvswitch.org">discuss@openvswitch.org</a><br>
<a href="https://mail.openvswitch.org/mailman/listinfo/ovs-discuss" rel="noreferrer" target="_blank">https://mail.openvswitch.org/<wbr>mailman/listinfo/ovs-discuss</a><br>
<br></blockquote></div><br></div></div>