OpenStack Networking (Neutron)
Go to file
Saverio Proto 7675495f26 Check if namespace exists before getting devices
If a neutron router has no ports defined, its namespace is deleted
by the cronjob /etc/cron.d/neutron-l3-agent-netns-cleanup.
It is required to check if the namespace exists before calling
iproute2 commands against the namespace.
It is not enough for the string of the namespace uuid to be defined,
the namespace must really exist on the network node.
This patch checks if the namespace exists when calling get_devices().
Otherwise the agent log file will be flooded with messages like
Cannot open network namespace "qrouter-<uuid>": No such file or directory
Failed to process compatible router '<uuid>'

Related-bug: 1573073

Change-Id: I744ef11529f9da5cbfdb812de0b35b95f9d078bb
2016-11-03 18:54:27 +00:00
api-ref Fix some typos 2016-06-28 22:46:19 +02:00
bin XenAPI: add support for conntrack with XenServer 2016-09-23 02:34:25 +00:00
devstack Add missing revision number altercations 2016-09-25 02:18:01 -07:00
doc Update Lieutenant table with new entries 2016-11-01 13:02:17 -07:00
etc Merge "iptables: fail to start ovs/linuxbridge agents on missing sysctl knobs" 2016-10-21 02:14:02 +00:00
neutron Check if namespace exists before getting devices 2016-11-03 18:54:27 +00:00
rally-jobs Merge "Increase subnet count for rally test" 2016-10-26 11:37:52 +00:00
releasenotes Merge "Correcting a spelling in README" 2016-10-26 10:25:29 +00:00
tools Fixed functional iptables firewall tests for newer kernels 2016-09-29 13:39:18 +00:00
.coveragerc Cleanup coverage configuration 2016-10-17 17:06:19 +05:30
.gitignore Automatically generate neutron core configuration files 2015-11-27 15:22:59 +00:00
.gitreview Fix .gitreview to not point at a branch 2015-08-17 13:51:51 -06:00
.mailmap Add mailmap entry 2014-05-16 13:40:04 -04:00
.pylintrc pylint: remove 'openstack' from ignore list 2016-09-08 16:39:02 +00:00
.testr.conf Allow more time for DB migration tests 2016-09-21 20:54:41 -04:00
CONTRIBUTING.rst Make crystal clear how to contribute/approach the neutron community 2016-10-28 11:49:44 -07:00
HACKING.rst Forbid importing neutron.tests.* from outside tests subtree 2016-09-15 18:42:45 +00:00
LICENSE Adding Apache Version 2.0 license file. This is the official license agreement under which Quantum code is available to 2011-08-08 12:31:04 -07:00
README.rst Fix specs broken link 2016-10-28 14:39:49 -07:00
TESTING.rst Forbid importing neutron.tests.* from outside tests subtree 2016-09-15 18:42:45 +00:00
babel.cfg Use babel to generate translation file 2013-01-24 00:20:32 +08:00
bindep.txt Fix periodic jobs: Add databases to bindep.txt 2016-10-09 06:31:00 +02:00
requirements.txt Updated from global requirements 2016-10-27 12:17:11 +00:00
run_tests.sh Removed unnecessary file(openstack/common) in run_stack.sh 2016-10-20 16:33:23 +05:30
setup.cfg SR-IOV: Remove deprecated supported_pci_vendor_devs option 2016-10-31 18:33:26 +02:00
setup.py Updated from global requirements 2015-09-21 18:56:49 +00:00
test-requirements.txt Updated from global requirements 2016-10-22 01:22:09 +00:00
tox.ini Added bindep.txt to the project 2016-09-26 10:35:50 +00:00

README.rst

Welcome!

To learn more about neutron:

Get in touch via email. Use [Neutron] in your subject.

To learn how to contribute:

CONTRIBUTING.rst