← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1682145] Re: neutron router shows active on a dead agent

 

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

commit b62d1bfdf71c2f8810d9b143d50127b8f3a4942d
Author: Drew Thorstensen <thorst@xxxxxxxxxx>
Date:   Fri Apr 21 08:02:17 2017 -0400

    Router should flip to standby if all L3 nodes down
    
    A HA router should always be active unless all of the agents hosting
    that router go down.  In that event, the router should switch to
    standby.  This behavior changed with review:
      https://review.openstack.org/#/c/411784
    
    That review seemed to be accounting for a flakey message bus.  This
    change should account for that, but also revert to the original behavior
    of the router state only changing when its backing agent hosts are down.
    
    Change-Id: I89c3b2546382624f175f8de4de621c3e53adf527
    Closes-Bug: 1682145


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

Title:
  neutron router shows active on a dead agent

Status in neutron:
  Fix Released

Bug description:
  When a router is active on only one network node and if the network
  node goes down by any reason, router still shows active status in
  controller

  
  neutron l3-agent-list-hosting-router e5bae5bd-40ae-45b2-837d-9d00a74a1e1b
  neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
  +--------------------------------------+--------------+----------------+-------+----------+
  | id                                   | host         | admin_state_up | alive | ha_state |
  +--------------------------------------+--------------+----------------+-------+----------+ |
  | db94053c-f7a7-4bf8-a7ed-aa01f7c8ef34 | netowkr-node1| True           | xxx   | active   |
  +--------------------------------------+--------------+----------------+-------+----------+

  Logic at
  https://github.com/openstack/neutron/blob/master/neutron/db/l3_hamode_db.py#L578,
  checks to update status based on dead agents, needs to executed in
  this scenario too.

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


References