[network] Cookbook should configure neutron-netns-cleanup

Bug #1397702 reported by kraig
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack + Chef
Won't Fix
High
Unassigned

Bug Description

Without neutron-netns-cleanup, the network namespaces on agent nodes will be polluted with unused interfaces and routes over time. These dead interfaces & routes can prevent VMs from reaching the metadata service.

I'm not sure at what kind of interval neutron-netns-cleanup should be executed, but due to the metadata outages that it can cause it should be semi frequently.

In my installation it needs to be run with these parameters: --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini --config-file /etc/neutron/dhcp_agent.ini

JJ Asghar (d-jj)
Changed in openstack-chef:
milestone: none → juno-stable
status: New → Triaged
importance: Undecided → High
Revision history for this message
kraig (kamador) wrote :

It appears that the Ubuntu packages are configuring this cleanup process for the DHCP and L3 agents already and have gone with an hourly interval.

/etc/cron.d# ls -al neutron-*
-rw-r--r-- 1 root root 319 Aug 12 12:15 neutron-dhcp-agent-netns-cleanup
-rw-r--r-- 1 root root 314 Aug 12 12:15 neutron-l3-agent-netns-cleanup

/etc/cron.d# cat neutron-*
# vim: set filetype=crontab:
# Periodically cleans Quantum's network namespaces on behalf of the Quantum
# DHCP agent.
30 * * * * neutron if [ -x /usr/bin/neutron-netns-cleanup ] ; then /usr/bin/neutron-netns-cleanup --config-file=/etc/neutron/neutron.conf --config-file=/etc/neutron/dhcp_agent.ini >/dev/null 2>&1; fi
# vim: set filetype=crontab:
# Periodically cleans Quantum's network namespaces on behalf of the Quantum
# L3 agent.
0 * * * * neutron if [ -x /usr/bin/neutron-netns-cleanup ] ; then /usr/bin/neutron-netns-cleanup --config-file=/etc/neutron/neutron.conf --config-file=/etc/neutron/l3_agent.ini >/dev/null 2>&1; fi

Revision history for this message
JJ Asghar (d-jj) wrote :

Kraig, is this still an issue? Can you clarify this issue?

Revision history for this message
kraig (kamador) wrote :

Lets close it out for now

Changed in openstack-chef:
status: Triaged → Won't Fix
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.