Ask Your Question

Which service create network namespace?

asked 2016-07-13 05:37:31 -0500

kramer gravatar image


I am trying to create a provider network and a tenant network, then connect them with a router. The env is mitaka on centos7.

I have done this several times before and it was ok. But this time after input all the commands. I find there is no namespace. There should be at leas 3 network namespace. One for router the other two for dhcp.

So which service is responding for creating those network namespace? I checked l3 agent log, ovs-agent log did find anything related.

Command as below

. /opt/keystone/admin.openrc 
neutron net-create --shared --provider:physical_network provider   --provider:network_type flat provider
neutron subnet-create --name provider   --allocation-pool start=,end=   --dns-nameserver --gateway   provider

. /opt/keystone/demo.openrc 
neutron net-create selfservice
neutron subnet-create --name selfservice   --dns-nameserver --gateway   selfservice

. /opt/keystone/admin.openrc 
neutron net-update provider --router:external
. /opt/keystone/demo.openrc 
neutron router-create router
neutron router-interface-add router selfservice
neutron router-gateway-set router provider
edit retag flag offensive close merge delete


According to link text setting ovs_use_veth = True will result in no namespace. Check that it is False.

barry.davis gravatar imagebarry.davis ( 2016-07-13 12:11:28 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2016-07-13 20:52:13 -0500

kramer gravatar image

updated 2016-07-13 20:52:31 -0500

I found out the reason.

This is because I changed the code neutron/common/


eventlet.monkey_patch(os=False, thread=False)



I did this before because I want to do remote debug on windows (The openstack run on CentOS, My debug env on Windows)

But this is causing problems

network namespace not created
l3 agent and dhcp agent can not report status to neutron-server. So in log you can see neutron server thought this two agent not up
edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2016-07-13 05:37:31 -0500

Seen: 264 times

Last updated: Jul 13 '16