OpenStack Networking (Neutron)
Go to file
Slawek Kaplonski a8d0f557d5 Choose random value for HA routes' vr_id
HA routers are using keepalived and needs to have virtual_router_id
configured. As routers which belongs to same tenant are using same
ha network, those values have to be different for each router.

Before this patch this value was always taken as first available value
from available_vr_ids range.
In some (rare) cases, when more than one router is created in parallel
for same tenant it may happen that those routers would have same vr_id
choosen so keepalived would treat them as single application and only
one router would be ACTIVE on one of L3 agents.

This patch changes this behaviour that now random value from available
vr_ids will be chosen instead of taking first value always.
That should mittigate this rare race condition that it will be (almost)
not noticable for users.

However, proper fix should be probably done as some additional
constraint in database layer. But such solution wouldn't be possible to
backport to stable branches so I decided to propose this easy patch
first.

Change-Id: Idb0ed744e54976dca23593fb2d7317bf77442e65
Related-Bug: #1823314
2019-04-11 10:19:21 +02: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 Devstack plugin for network-segment-range api 2019-03-10 03:37:51 +00:00
doc Remove outdated instructions about horizon integration 2019-03-26 20:24:35 +01:00
etc Add rootwrap filters to kill state change monitor 2019-03-13 07:40:15 -07:00
neutron Choose random value for HA routes' vr_id 2019-04-11 10:19:21 +02:00
playbooks Replace openstack.org git:// URLs with https:// 2019-03-25 11:31:17 +01:00
rally-jobs Merge "rally-jobs: Add FloatingIP workloads: assoc/dissoc" 2019-03-01 21:24:43 +00:00
releasenotes Merge "Change default local ovs connection timeout" 2019-04-05 04:18:55 +00:00
roles Remove "msg" from tasks in ansible roles 2019-03-20 13:46:17 +01:00
tools Add method to tox to use local neutron-lib with unit tests 2019-03-02 14:56:15 -07:00
.coveragerc Cleanup coverage configuration 2016-10-17 17:06:19 +05:30
.gitignore [Configuration] Clean up .gitignore references to personal tools 2019-01-31 16:17:38 +01: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 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 Merge "Mark neutron-tempest-iptables_hybrid-fedora voting" 2019-04-03 19:31:26 +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 Replace openstack.org git:// URLs with https:// 2019-03-25 11:31:17 +01: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 Remove oslosphinx from lower-constraints 2019-04-03 07:18:05 +00:00
requirements.txt Use dynamic lazy mode for fetching security group rules 2019-03-14 16:23:53 -06:00
setup.cfg Drive binding by placement allocation 2019-03-09 22:03:51 +00:00
setup.py Updated from global requirements 2017-03-04 11:19:58 +00:00
test-requirements.txt Bump pylint version to one that supports python3.7 2019-02-21 13:22:26 +00:00
tox.ini Add method to tox to use local neutron-lib with unit tests 2019-03-02 14:56:15 -07: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