← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1818224] Re: IPv6 forwarding disabled on L3HA routers without gateway

 

Reviewed:  https://review.openstack.org/640746
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=66eb1e29f31a07573be2a5a7789fb7bfce598827
Submitter: Zuul
Branch:    master

commit 66eb1e29f31a07573be2a5a7789fb7bfce598827
Author: Slawek Kaplonski <skaplons@xxxxxxxxxx>
Date:   Mon Mar 4 13:16:04 2019 +0100

    Enable ipv6_forwarding in HA router's namespace
    
    When HA router is created in "stanby" mode, ipv6 forwarding is
    disabled by default in its namespace.
    But when router is transitioned to be "master" on node, ipv6
    forwarding should be enabled. This was fine for routers with
    configured gateway but we somehow missed the case when router don't
    have gateway configured.
    Because of that missing ipv6 forwarding setting in such case, IPv6
    W-E traffic between 2 subnets was not working fine in L3 HA case.
    
    This patch fixes it by adding configuring ipv6_forwarding on
    "all" interface in router's namespace always, even if it don't have
    gateway configured.
    
    Change-Id: I8b1b2b426f7a26a4b2407a83f9bf29dd6e9ba7b0
    CLoses-Bug: #1818224


** Changed in: neutron
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1818224

Title:
  IPv6 forwarding disabled on L3HA routers without gateway

Status in neutron:
  Fix Released

Bug description:
  When L3HA router is created, it is first transitioned to backup on all
  nodes. In such case IPv6 forwarding is disabled in router's namespace.
  It was introduced by commit
  https://github.com/openstack/neutron/commit/676a3ebe2f5b62f0ce7a3f7f434526931d5504a5

  Later router is transitioned to be master on one of nodes. And then
  IPv6 forwarding should be enabled. Unfortunately it is enabled only
  when gateway is configured:
  https://github.com/openstack/neutron/blob/929d3fe9f49aeea817c8a922d0b28d605cc9b562/neutron/agent/l3/router_info.py#L704

  So if there is no gateway connected to router and it has only tenant
  networks ports, IPv6 forwarding will not be turned on and IPv6
  connectivity between subnets will not be possible.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1818224/+subscriptions


References