<div dir="ltr">the exec needs root perms. just add a sudo and you should be good.<div><br></div><div><br><div><p style="margin:0px;font-size:11px;font-family:Menlo">jason@devstack:~$ ip netns list</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">qdhcp-c6333eca-6fe4-40af-ad61-c1435a4701ef</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">qrouter-840c0ae7-ef5b-4be2-b496-b8a53080976b</p><p style="margin:0px;font-size:11px;font-family:Menlo"><br></p>
<p style="margin:0px;font-size:11px;font-family:Menlo">jason@devstack:~$ ip netns exec qrouter-840c0ae7-ef5b-4be2-b496-b8a53080976b ping 10.0.0.1</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">seting the network namespace "qrouter-840c0ae7-ef5b-4be2-b496-b8a53080976b" failed: Operation not permitted</p><p style="margin:0px;font-size:11px;font-family:Menlo"><br></p>
<p style="margin:0px;font-size:11px;font-family:Menlo">jason@devstack:~$ sudo ip netns exec qrouter-840c0ae7-ef5b-4be2-b496-b8a53080976b ping 10.0.0.1</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">PING 10.0.0.1 (10.0.0.1) 56(84) bytes of data.</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">64 bytes from <a href="http://10.0.0.1">10.0.0.1</a>: icmp_seq=1 ttl=64 time=0.034 ms</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">64 bytes from <a href="http://10.0.0.1">10.0.0.1</a>: icmp_seq=2 ttl=64 time=0.046 ms</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">^C</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">--- 10.0.0.1 ping statistics ---</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">2 packets transmitted, 2 received, 0% packet loss, time 999ms</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">rtt min/avg/max/mdev = 0.034/0.040/0.046/0.006 ms</p></div><div><br></div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Oct 5, 2014 at 9:52 AM, Danny Choi (dannchoi) <span dir="ltr"><<a href="mailto:dannchoi@cisco.com" target="_blank">dannchoi@cisco.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word;color:rgb(0,0,0)">
<div style="font-size:14px;font-family:Calibri,sans-serif">Hi,</div>
<div style="font-size:14px;font-family:Calibri,sans-serif"><br>
</div>
<div style="font-size:14px;font-family:Calibri,sans-serif">I used devstack to deploy Juno OpenStack.</div>
<div style="font-size:14px;font-family:Calibri,sans-serif"><br>
</div>
<div style="font-size:14px;font-family:Calibri,sans-serif">
<p style="margin:0px;font-size:11px;font-family:Menlo">localadmin@qa4:~/devstack$ nova-manage version</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">2015.1</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"><br>
</p>
</div>
<div style="font-size:14px;font-family:Calibri,sans-serif">By default, router1 is created.</div>
<div style="font-size:14px;font-family:Calibri,sans-serif"><br>
</div>
<div style="font-size:14px;font-family:Calibri,sans-serif">
<p style="margin:0px;font-size:11px;font-family:Menlo">localadmin@qa4:~/devstack$ source openrc admin admin</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">localadmin@qa4:~/devstack$ </p>
<p style="margin:0px;font-size:11px;font-family:Menlo">localadmin@qa4:~/devstack$ neutron router-list</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">+--------------------------------------+---------+-----------------------------------------------------------------------------+-------------+-------+</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">| id | name | external_gateway_info | distributed | ha |</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">+--------------------------------------+---------+-----------------------------------------------------------------------------+-------------+-------+</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">| 7b422c9d-c5f9-4bb5-b1b3-159954c72323 | router1 | {"network_id": "2d113f8c-d742-4f2f-8cf2-a8e56749d51d", "enable_snat": true} | False | False |</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">+--------------------------------------+---------+-----------------------------------------------------------------------------+-------------+-------+</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">localadmin@qa4:~/devstack$ ip netns</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">qrouter-7b422c9d-c5f9-4bb5-b1b3-159954c72323</p>
</div>
<div style="font-size:14px;font-family:Calibri,sans-serif"><br>
</div>
<div style="font-size:14px;font-family:Calibri,sans-serif">When I attempt to connect to the qrouter via “ip netns exec qrouter-<id>", it failed.</div>
<div style="font-size:14px;font-family:Calibri,sans-serif"><br>
</div>
<div>
<p style="font-size:11px;font-family:Menlo;margin:0px">localadmin@qa4:~/devstack$ ip netns exec qrouter-7b422c9d-c5f9-4bb5-b1b3-159954c72323 ip addr list</p>
<p style="font-size:11px;font-family:Menlo;margin:0px">seting the network namespace "qrouter-7b422c9d-c5f9-4bb5-b1b3-159954c72323" failed: Operation not permitted <<<ERROR</p>
<p style="font-size:11px;font-family:Menlo;margin:0px"><br>
</p>
<p style="margin:0px">What’s the cause of the error?</p>
<p style="margin:0px"><br>
</p>
<p style="margin:0px">Thanks,</p>
<p style="margin:0px">Danny</p>
</div>
<div style="font-size:14px;font-family:Calibri,sans-serif"><br>
</div>
<div style="font-size:14px;font-family:Calibri,sans-serif"><br>
</div>
</div>
<br>_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br></blockquote></div><br></div>