← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1607381] Re: HA router in l3 dvr_snat/legacy agent has no ha_port

 

Reviewed:  https://review.openstack.org/365653
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=29cec0345617627b64a73b9de35c46bccdc4ffa3
Submitter: Jenkins
Branch:    master

commit 29cec0345617627b64a73b9de35c46bccdc4ffa3
Author: John Schwarz <jschwarz@xxxxxxxxxx>
Date:   Mon Sep 5 16:34:44 2016 +0300

    l3 ha: don't send routers without '_ha_interface'
    
    Change I22ff5a5a74527366da8f82982232d4e70e455570 changed
    get_ha_sync_data_for_host such that if an agent requests a router's
    details, then it is always returned, even when it doesn't have the key
    '_ha_interface'. Further changes to this change tried to put this check
    back in (Ie38baf061d678fc5d768195b25241efbad74e42f), but this patch
    failed to do so for the case where no bindings were returned (possible
    when the router has been concurrently deleted). This patch puts this
    check back in.
    
    Closes-Bug: #1607381
    Change-Id: I047e53ea9b3e20a21051f29d0a44624e2a31c83c


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

Title:
  HA router in l3 dvr_snat/legacy agent has no ha_port

Status in neutron:
  Fix Released

Bug description:
  This is a successor to
  https://bugs.launchpad.net/neutron/+bug/1533441.

  HA router can not be deleted in L3 agent after race between HA router
  creating and deleting

  Exception:
  1. Unable to process HA router %s without HA port (HA router initialize)
  2. AttributeError: 'NoneType' object has no attribute 'config' (HA router deleting procedure)

  http://paste.openstack.org/show/523757/

  the absent of ha_port may also cause infinite loop trace, which is now have a new LP bug, https://bugs.launchpad.net/neutron/+bug/1606844:
  http://paste.openstack.org/show/528407/

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


References