OpenStack Networking (Neutron)
Go to file
Slawek Kaplonski d41bd58f31 Initialize phys bridges before setup_rpc
Neutron-ovs-agent configures physical bridges that they works
in fail_mode=secure. This means that only packets which match some
OpenFlow rule in the bridge can be processed.
This may cause problem on hosts with only one physical NIC
where same bridge is used to provide control plane connectivity
like connection to rabbitmq and data plane connectivity for VM.
After e.g. host reboot bridge will still be in fail_mode=secure
but there will be no any OpenFlow rule on it thus there will be
no communication to rabbitmq.

With current order of actions in __init__ method of OVSNeutronAgent
class it first tries to establish connection to rabbitmq and later
configure physical bridges with some initial OpenFlow rules.
And in case described above it will fail as there is no connectivity
to rabbitmq through physical bridge.

So this patch changes order of actions in __init__ method that it first
setup physical bridges and than configure rpc connection.

Change-Id: I41c02b0164537c5b1c766feab8117cc88487bc77
Closes-Bug: #1840443
2019-08-16 13:50:49 +00:00
api-ref Fix some typos 2016-06-28 22:46:19 +02:00
bin Use os-xenapi for neutron when XenServer as hypervisor 2017-03-30 18:33:37 +00:00
devstack Switch to use configure_keystone_authtoken_middleware in devstack plugin 2019-07-01 13:50:33 +02:00
doc Merge "Remove dead link" 2019-08-14 16:13:54 +00:00
etc Merge "Remove rootwrap filters for TC commands in Linux Bridge" 2019-07-09 13:43:00 +00:00
neutron Initialize phys bridges before setup_rpc 2019-08-16 13:50:49 +00:00
playbooks OpenDev Migration Patch 2019-04-19 19:38:27 +00:00
rally-jobs Rally task definition for port binding scenario 2019-07-08 13:25:46 +02:00
releasenotes Merge "Remove 'gateway_external_network_id' config option" 2019-08-05 12:40:08 +00:00
roles Fix log directory permissions for functional job 2019-08-03 12:06:32 +00:00
tools Fix tools/configure_for_func_testing.sh 2019-08-04 17:46:38 +08:00
.coveragerc Cleanup coverage configuration 2016-10-17 17:06:19 +05:30
.gitignore Removing existing dirs from .gitignore 2019-05-31 13:35:30 +00:00
.gitreview OpenDev Migration Patch 2019-04-19 19:38:27 +00:00
.mailmap Add mailmap entry 2014-05-16 13:40:04 -04:00
.pylintrc Fix pylint R1717 (consider-using-dict-comprehension) refactor messages 2019-03-14 23:19:58 +00:00
.stestr.conf Fix post gate hook to accommodate for new os-testr 2017-09-12 14:20:12 -06:00
.zuul.yaml Run 'tempest-ipv6-only' job in gate 2019-07-24 08:40:50 +00:00
CONTRIBUTING.rst Update link for contribution 2017-08-31 16:44:51 +02:00
HACKING.rst Update the documentation link for doc migration 2017-07-22 18:46:13 +09: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 Update mailinglist from dev to discuss 2018-12-12 12:44:12 +08:00
TESTING.rst Merge "Fix some formatting issues in TESTING.rst" 2019-04-25 12:10:35 +00:00
babel.cfg Use babel to generate translation file 2013-01-24 00:20:32 +08:00
bindep.txt Add libffi-dev to bindep.txt 2017-06-13 19:26:49 +00:00
lower-constraints.txt Propagate profiler info into BatchNotifier threads 2019-07-09 13:28:33 +02:00
requirements.txt Propagate profiler info into BatchNotifier threads 2019-07-09 13:28:33 +02:00
setup.cfg fix NetworkSegmentRange OVO entry point 2019-06-06 09:31:26 -06:00
setup.py Updated from global requirements 2017-03-04 11:19:58 +00:00
test-requirements.txt Blacklist bandit 1.6.0 due to directory exclusion bug 2019-05-09 21:00:54 -04:00
tox.ini Start enforcing E125 flake8 directive 2019-07-19 23:39:41 -04:00

README.rst

Team and repository tags

image

Welcome!

To learn more about neutron:

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

To learn how to contribute:

CONTRIBUTING.rst