yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #36502
[Bug 1481588] [NEW] Wrong HA router state after setting the admin_state_up to False
Public bug reported:
In an L3 HA Setup with multiple network nodes, we can query the agent
hosting the Master HA router via l3-agent-list-hosting-router.
For example
neutron l3-agent-list-hosting-router h1
+--------------------------------------+----------------+----------------+-------+----------+
| id | host | admin_state_up | alive | ha_state |
+--------------------------------------+----------------+----------------+-------+----------+
| 05cbe1b6-5b1e-4685-9a67-e55741b2b4b6 | networknode_1 | True | :-) | active |
| 40cfc10c-ae96-4715-9aa9-d5af668a4c1e | networknode_2 | True | :-) | standby |
| 14b81831-366e-43af-8be4-50f7939981fe | networknode_3 | True | :-) | standby |
+--------------------------------------+----------------+----------------+-------+----------+
Now if we set the admin state of networknode_1 to down (i.e., neutron
agent-update <agent-id> --admin_state_up=False), HA router would be
deleted from the agent and one of the backup HA Routers would take over
the role of Master.
In such a situation, when we query the active HA router info, the state
of the router on the agent is still shown as 'active' and is not
updated, which could really be confusing.
neutron l3-agent-list-hosting-router h1
+--------------------------------------+----------------+----------------+-------+----------+
| id | host | admin_state_up | alive | ha_state |
+--------------------------------------+----------------+----------------+-------+----------+
| 05cbe1b6-5b1e-4685-9a67-e55741b2b4b6 | networknode_1 | False | :-) | active |
| 40cfc10c-ae96-4715-9aa9-d5af668a4c1e | networknode_2 | True | :-) | active |
| 14b81831-366e-43af-8be4-50f7939981fe | networknode_3 | True | :-) | standby |
+--------------------------------------+----------------+----------------+-------+----------+
** Affects: neutron
Importance: Undecided
Assignee: Sridhar Gaddam (sridhargaddam)
Status: New
** Changed in: neutron
Assignee: (unassigned) => Sridhar Gaddam (sridhargaddam)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1481588
Title:
Wrong HA router state after setting the admin_state_up to False
Status in neutron:
New
Bug description:
In an L3 HA Setup with multiple network nodes, we can query the agent
hosting the Master HA router via l3-agent-list-hosting-router.
For example
neutron l3-agent-list-hosting-router h1
+--------------------------------------+----------------+----------------+-------+----------+
| id | host | admin_state_up | alive | ha_state |
+--------------------------------------+----------------+----------------+-------+----------+
| 05cbe1b6-5b1e-4685-9a67-e55741b2b4b6 | networknode_1 | True | :-) | active |
| 40cfc10c-ae96-4715-9aa9-d5af668a4c1e | networknode_2 | True | :-) | standby |
| 14b81831-366e-43af-8be4-50f7939981fe | networknode_3 | True | :-) | standby |
+--------------------------------------+----------------+----------------+-------+----------+
Now if we set the admin state of networknode_1 to down (i.e., neutron
agent-update <agent-id> --admin_state_up=False), HA router would be
deleted from the agent and one of the backup HA Routers would take
over the role of Master.
In such a situation, when we query the active HA router info, the
state of the router on the agent is still shown as 'active' and is not
updated, which could really be confusing.
neutron l3-agent-list-hosting-router h1
+--------------------------------------+----------------+----------------+-------+----------+
| id | host | admin_state_up | alive | ha_state |
+--------------------------------------+----------------+----------------+-------+----------+
| 05cbe1b6-5b1e-4685-9a67-e55741b2b4b6 | networknode_1 | False | :-) | active |
| 40cfc10c-ae96-4715-9aa9-d5af668a4c1e | networknode_2 | True | :-) | active |
| 14b81831-366e-43af-8be4-50f7939981fe | networknode_3 | True | :-) | standby |
+--------------------------------------+----------------+----------------+-------+----------+
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1481588/+subscriptions
Follow ups