7675495f26
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 |
||
---|---|---|
api-ref | ||
bin | ||
devstack | ||
doc | ||
etc | ||
neutron | ||
rally-jobs | ||
releasenotes | ||
tools | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.pylintrc | ||
.testr.conf | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
README.rst | ||
TESTING.rst | ||
babel.cfg | ||
bindep.txt | ||
requirements.txt | ||
run_tests.sh | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README.rst
Welcome!
To learn more about neutron:
- Documentation: http://docs.openstack.org
- Features: http://specs.openstack.org/openstack/neutron-specs
- Defects: http://launchpad.net/neutron
Get in touch via email. Use [Neutron] in your subject.
To learn how to contribute:
CONTRIBUTING.rst