← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

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.

** Affects: neutron
     Importance: Undecided
         Status: New

-- 
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:
  New

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


Follow ups