← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1585246] Re: HA router does not receive RA from upstream router

 

Reviewed:  https://review.openstack.org/320823
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=347778a9f9ce955562c3535b413642baf9b12111
Submitter: Jenkins
Branch:    master

commit 347778a9f9ce955562c3535b413642baf9b12111
Author: Hong Hui Xiao <xiaohhui@xxxxxxxxxx>
Date:   Wed May 25 06:56:14 2016 +0000

    Enable ra on gateway when add gateway to HA router
    
    Now the 'accept_ra' will only be configured when HA router change
    state to 'master'. If the router gateway is added after router state
    change, the gateway port in 'master' HA router will not be configured.
    
    This patch will configure 'accept_ra' for the 'master' HA router.
    
    Change-Id: Ice1f3e6e48597ea8c366e243c2ca1771ea9b7770
    Closes-bug: #1585246


** 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/1585246

Title:
  HA router does not receive RA from upstream router

Status in neutron:
  Fix Released

Bug description:
  
  $ neutron router-create cvr-ha-rtr --ha True --distributed False
  $ neutron router-interface-add cvr-ha-rtr cvr-ha-subv4
  $ neutron router-gateway-set cvr-ha-rtr ext35

  Network ext35 does not have an IPv6 subnet, and the physical router on
  the vlan is configured to send RAs.

  Find the active node:
  # ip netns exec qrouter-5aa06109-990f-415d-91f8-90ea7d90de7f \
       cat /proc/sys/net/ipv6/conf/qg-7c4435c1-1b/accept_ra                              
  1

  This is supposed to be 2 on a router.

  Stop the l3-agent on active node to induce a failover to another node.
  On the new node:

  # ip netns exec qrouter-5aa06109-990f-415d-91f8-90ea7d90de7f \
       cat /proc/sys/net/ipv6/conf/qg-7c4435c1-1b/accept_ra                              
  2

  And the default v6 route gets configured from the RA.

  The problem is that accept_ra gets set to 2 on the transition to master. But if router-gateway-set has not been run before that time, then it will be skipped because ri.ex_gw_port does exist:
  https://github.com/openstack/neutron/blob/master/neutron/agent/l3/ha.py#L137

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


References