neutron/neutron
Slawek Kaplonski 8fec1ffc83 Set initial ha router state in neutron-keepalived-state-change
Sometimes in case of HA routers it may happend that
keepalived will set status of router to MASTER before
neutron-keepalived-state-change daemon will spawn "ip monitor"
to monitor changes of IPs in router's namespace.

In such case neutron-keepalived-state-change process will never
notice that keepalived set router to be MASTER and L3 agent will
not be notified about that so router will not be configured properly.

To avoid such race condition neutron-keepalived-state-change will
now check if VIP address is already configured on ha interface
before it will spawn "ip monitor". If it is already configured
by keepalived, it will notify L3 agent that router is set to
MASTER.

Change-Id: Ie3fe825d65408fc969c478767b411fe0156e9fbc
Closes-Bug: #1818614
2019-03-12 12:29:36 +01:00
..
agent Set initial ha router state in neutron-keepalived-state-change 2019-03-12 12:29:36 +01:00
api Not set the HA port down at regular l3-agent restart 2019-02-14 16:58:22 +08:00
cmd Merge "Add "rpc_response_max_timeout" config variable in OVS agent" 2019-03-01 12:09:18 +00:00
common Consume constant from neutron-lib: DHCPV6_CLIENT_PORT 2019-02-18 10:35:51 +01:00
conf Support Network Segment Range CRUD as extensions 2019-03-07 08:20:30 +00:00
core_extensions remove neutron.common.exceptions 2019-02-01 14:35:00 -07:00
db Support Network Segment Range CRUD as extensions 2019-03-07 08:20:30 +00:00
debug Fix all pep8 E265 errors 2018-04-30 16:35:52 -04:00
extensions Support Network Segment Range CRUD as extensions 2019-03-07 08:20:30 +00:00
hacking remove neutron.db.api references 2019-03-05 09:14:50 -07:00
ipam Merge "Update the processing of assigned addresses when assigning addresses" 2019-02-07 20:30:20 +00:00
locale Imported Translations from Zanata 2018-03-03 06:08:46 +00:00
notifiers Send global_request_id for tracing calls from neutron to nova 2018-11-30 05:41:24 +00:00
objects Support Network Segment Range CRUD as extensions 2019-03-07 08:20:30 +00:00
pecan_wsgi remove neutron.common.rpc 2019-02-06 11:05:55 -07:00
plugins Use network segment ranges for segment allocation 2019-03-09 22:04:20 +00:00
privileged Merge "Implement add_tc_qdisc and list_tc_qdiscs using pyroute2" 2019-02-16 05:52:19 +00:00
quota remove neutron.common.exceptions 2019-02-01 14:35:00 -07:00
scheduler Fetch specific columns rather than full ORM entities 2018-08-22 10:14:09 +00:00
server Allow neutron-api load config from WSGI process 2018-07-25 15:22:14 +07:00
services Use network segment ranges for segment allocation 2019-03-09 22:04:20 +00:00
tests Set initial ha router state in neutron-keepalived-state-change 2019-03-12 12:29:36 +01:00
__init__.py Fix incorrect usage of '# flake8: noqa' 2018-10-29 15:27:50 -04:00
_i18n.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00
auth.py Use oslo.context class method to construct context object 2017-03-23 09:02:46 +00:00
manager.py Avoid loading same service plugin more than once 2019-02-21 11:17:02 +01:00
neutron_plugin_base_v2.py Do not load default service plugins if core plugin is not DB based 2017-11-09 20:34:52 +00:00
opts.py Add "rpc_response_max_timeout" config variable in OVS agent 2019-02-21 15:11:42 +00:00
policy.py Convert policy.json into policy-in-code 2018-12-13 20:37:53 +00:00
service.py Merge "Change process name of neutron-server to match worker role" 2019-03-02 14:18:49 +00:00
version.py
worker.py Change process name of neutron-server to match worker role 2019-03-01 14:18:09 -05:00
wsgi.py Change process name of neutron-server to match worker role 2019-03-01 14:18:09 -05:00