On Mon, Oct 6, 2014 at 1:52 AM, Danny Choi (dannchoi) <dannc...@cisco.com> wrote: > Hi, > > I used devstack to deploy Juno OpenStack. > > localadmin@qa4:~/devstack$ nova-manage version > > 2015.1 > > > By default, router1 is created. > > localadmin@qa4:~/devstack$ source openrc admin admin > > localadmin@qa4:~/devstack$ > > localadmin@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@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@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@lists.openstack.org > Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack > -- Akihiro Motoki <amot...@gmail.com> _______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack