neutron/neutron/agent
sridhargaddam 2f9b0ce940 Spawn RADVD only in the master HA router
Currently radvd is spawned in all the HA routers irrespective of the
state of the router. This approach has the following issues.

1. While processing the internal router ports (i.e., qr-xxx), ha_router
   removes the LLA of the interface and adds it as a VIP to Keepalived conf.
   Radvd daemon is spawned after this operation in the router namespace
   (if the port is associated with any IPv6 subnets). Radvd notices that
   qr-xxx interface does not have the LLA, so does not transmit any Router
   Advts. In this state, VMs fail to acquire IPv6 addresses because of the
   missing RAs. Radvd does not recover even after keepalived configures the
   LLA of the interface. The only solution is to restart/reload radvd daemon.
   Currently keepalived-state-change monitor does not do any radvd related
   operations when a state transition happens. So we endup in this state
   forever.
2. For all the routers in Backup state, qr-xxx interface does not have LLA
   as it is managed by keepalived and configured only on the Master HA router.
   In such agents syslog is flooded with the messages [1] and this can cause
   loss of other useful info.
   [1] - resetting ipv6-allrouters membership on qr-2e373555-97

This patch implements the following.
1. If the router is already in the Master state, we configure the LLA as a VIP
   in keepalived conf but do not delete the LLA of the internal interface.
2. We spawn radvd only if the router is in the Master State.
3. Keepalived-state-change monitor takes care of enabling/disabling radvd upon
   state transitions.

Closes-Bug: #1440699
Change-Id: I351c71d058170265bbb8b56e1f7a3430bd8828d5
2015-04-23 17:15:15 +05:30
..
common Move values for network_type to plugins.common.constants.py 2015-04-12 23:59:31 -07:00
dhcp Merge "Reload DHCP interface when its port is updated" 2015-03-29 16:57:50 +00:00
l3 Spawn RADVD only in the master HA router 2015-04-23 17:15:15 +05:30
linux Merge "Drop the ovs_lib compat layer as per TODO note" 2015-04-20 10:12:36 +00:00
metadata Merge "Improves the description string for the config parameter metadata_workers." 2015-04-10 06:02:51 +00:00
ovsdb Merge "Correct typo for matching non-dict ovsdb rows" 2015-04-20 07:34:32 +00:00
windows OVS agent support on Hyper-V 2015-03-25 13:48:33 -07:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
dhcp_agent.py Allow metadata proxy running with nobody user/group 2015-04-06 18:31:37 +02:00
firewall.py Add missing methods to NoopFirewallDriver 2014-09-28 22:16:57 +04:00
l2population_rpc.py Replace custom method call logger with oslo.log helper 2015-04-20 15:16:54 +00:00
l3_agent.py Allow metadata proxy running with nobody user/group 2015-04-06 18:31:37 +02:00
metadata_agent.py Allow metadata proxy running with nobody user/group 2015-04-06 18:31:37 +02:00
rpc.py Migrate to oslo.log 2015-03-12 11:22:56 +01:00
securitygroups_rpc.py Deal with TODO related to Security Groups RPC API's classes 2015-04-16 11:26:13 -07:00