[sos-devel] [PATCH] [plugins/openstack_neutron] Add netns dumps for DVR namespaces

Ma, Stephen B. stephen.ma at hp.com
Fri Nov 28 18:11:01 UTC 2014


Hi Bryn,

The fip and snat namespaces are created by the neutron-l3-agent when it is running in the dvr or dvr_snat mode.  They are not used outside of neutron.

One thing to note is that when Neutron is running on a machine, it does not necessary implies that qdhcp, qrouter, fip, or the snat namespaces are present on the machine.   For example, neutron-l3-agent manages the qrouter, fip, and snat namespaces.  When the agent crashed, these namespaces are left behind.  So if you run sosreport at the time the agent is not running, I would still like to see the information on these 3 namespaces.  The information would provide clues as to what is the problem.


-----Original Message-----
From: Bryn M. Reeves [mailto:bmr at redhat.com] 
Sent: Friday, November 28, 2014 3:04 AM
To: Ma, Stephen B.
Cc: sos-devel at redhat.com
Subject: Re: [sos-devel] [PATCH] [plugins/openstack_neutron] Add netns dumps for DVR namespaces

On Thu, Nov 27, 2014 at 12:18:48AM +0000, Ma, Stephen B. wrote:
> Hi Bryn,
> 
> Yes when the fip and the snat namespace are present in a system, we are looking at a neutron configuration with neutron DVR enabled.  I hope I answered your question. 

What I meant by 'private' is whether these namespace prefixes are every used by anything *other* than the OpenStack Neutron DVR; if so then we should avoid collecting them by default unless we already know that we're running on an appropriate system.

The Neutron plugin is currently one of the few that doesn't implement file or package checks before enabling the plugin; I'll look at adding a package check before we merge this patch so we only attempt this collection on Neutron hosts.

Regards,
Bryn.





More information about the sos-devel mailing list