Configure gw_iface for RAs only in Master HA Router
For an HA Router which does not have any IPv6 subnets in the external network
and when ipv6_gateway is not set, Neutron configures the gateway interface of
the router to receive Router Advts for default route. In an HA router, only
the Master instance has the IP addresses while the Backup instance does not
have any addresses (including LLA). In Kernel version 3.10, when the last
IPv6 address is removed from the interface, IPv6 proc entries corresponding
to the iface are also deleted. This is however reverted in the later versions
of kernel code.
This patch addresses this issue by configuring the proc entry only for the
Master HA Router instance instead of doing it un-conditionally.
Reviewed: https:/ /review. openstack. org/222909 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=4d15b6fe125 9f2e9b17d76bc48 050c7f54aad02e
Committed: https:/
Submitter: Jenkins
Branch: stable/kilo
commit 4d15b6fe1259f2e 9b17d76bc48050c 7f54aad02e
Author: sridhargaddam <email address hidden>
Date: Thu Sep 10 16:14:13 2015 +0000
Configure gw_iface for RAs only in Master HA Router
For an HA Router which does not have any IPv6 subnets in the external network
and when ipv6_gateway is not set, Neutron configures the gateway interface of
the router to receive Router Advts for default route. In an HA router, only
the Master instance has the IP addresses while the Backup instance does not
have any addresses (including LLA). In Kernel version 3.10, when the last
IPv6 address is removed from the interface, IPv6 proc entries corresponding
to the iface are also deleted. This is however reverted in the later versions
of kernel code.
This patch addresses this issue by configuring the proc entry only for the
Master HA Router instance instead of doing it un-conditionally.
Conflicts: agent/l3/ ha_router. py agent/l3/ router_ info.py
neutron/
neutron/
Closes-Bug: #1494336 32b32af55f64e0d 3a35c84388) 314f8fa649ef501 9c95c2d6004
(cherry picked from commit c89a4fdd88b0f88
Change-Id: Ibf8e0ff64cda00