[Openstack] Juno: Fail to set the network namespace "qrouter-7b422c9d-c5f9-4bb5-b1b3-159954c72323": Operation not permitted

Akihiro Motoki amotoki at gmail.com
Sun Oct 5 17:35:01 UTC 2014


On Mon, Oct 6, 2014 at 1:52 AM, Danny Choi (dannchoi)
<dannchoi at cisco.com> wrote:
> Hi,
>
> I used devstack to deploy Juno OpenStack.
>
> localadmin at qa4:~/devstack$ nova-manage version
>
> 2015.1
>
>
> By default, router1 is created.
>
> localadmin at qa4:~/devstack$ source openrc admin admin
>
> localadmin at qa4:~/devstack$
>
> localadmin at qa4:~/devstack$ neutron router-list
>
> +--------------------------------------+---------+-----------------------------------------------------------------------------+-------------+-------+
>
> | id                                   | name    | external_gateway_info
> | distributed | ha    |
>
> +--------------------------------------+---------+-----------------------------------------------------------------------------+-------------+-------+
>
> | 7b422c9d-c5f9-4bb5-b1b3-159954c72323 | router1 | {"network_id":
> "2d113f8c-d742-4f2f-8cf2-a8e56749d51d", "enable_snat": true} | False       |
> False |
>
> +--------------------------------------+---------+-----------------------------------------------------------------------------+-------------+-------+
>
> localadmin at qa4:~/devstack$ ip netns
>
> qrouter-7b422c9d-c5f9-4bb5-b1b3-159954c72323
>
>
> When I attempt to connect to the qrouter via “ip netns exec qrouter-<id>",
> it failed.
>
> localadmin at qa4:~/devstack$ ip netns exec
> qrouter-7b422c9d-c5f9-4bb5-b1b3-159954c72323 ip addr list
>
> seting the network namespace "qrouter-7b422c9d-c5f9-4bb5-b1b3-159954c72323"
> failed: Operation not permitted   <<<ERROR
>
>
> What’s the cause of the error?

"Operation not permitted" means you don't have enough permission to
run "ip netns exec".
It requires root privileges. Try "sudo ip netns exec ....."

Akihiro

>
>
> Thanks,
>
> Danny
>
>
>
>
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>



-- 
Akihiro Motoki <amotoki at gmail.com>




More information about the Openstack mailing list