network namespace in neutron-agent not available in the host

Bug #1515085 reported by Hui Kang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
New
Undecided
Unassigned

Bug Description

Hi, All
I am not sure if this is a bug. But I would like to raise this question. The network namespace created in the neutron_agents container, (e.g., qdhcp-xxx, qrouter-xxx) are actually not available in the host, ahtough they are visible (by ip netns) on both.

To verify this is the case, you can run "ip netns exec qdhcp-xxx ip route" in both host and the neutron-agent container. The command will fail on the host at least for my ubuntu 15.04 and docker 1.8.2 setup.

It is desirable that these neutron created namespaces are persistent on the host so that event neutron-agent container is removed the tenant VM can still have networking. In fact, if neutron is deployed on bare metal, killing the neutron-agent will not affect the tenant VM since namespaces are persistent in the host kernel.

So I am wondering if kolla (or docker) have the capability to allow neutron-agent container to store the created namespace on the host. - Hui

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.