yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #81536
[Bug 1641811] Re: Wrong ha_state, when l3-agent that host the active router is down
There have been a number of issues fixed in this area the past few
releases, closing. If it still happens on a newer release please re-
open.
** Changed in: neutron
Status: Triaged => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1641811
Title:
Wrong ha_state, when l3-agent that host the active router is down
Status in neutron:
Invalid
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.
root@node1:~# neutron l3-agent-list-hosting-router demo-router
+--------------------------------------+-------+----------------+-------+----------+
| id | host | admin_state_up | alive | ha_state |
+--------------------------------------+-------+----------------+-------+----------+
| 58fbfcf3-6403-4388-b713-523595411de6 | node1 | True | :-) | active |
| a74be278-e428-41a4-a375-9888e9b99bcd | node2 | True | :-) | standby |
+--------------------------------------+-------+----------------+-------+----------+
Now, On the node1, I stop the neutron-l3-agent, and then check the
state.
root@node1:~# neutron l3-agent-list-hosting-router demo-router
+--------------------------------------+-------+----------------+-------+----------+
| id | host | admin_state_up | alive | ha_state |
+--------------------------------------+-------+----------------+-------+----------+
| 58fbfcf3-6403-4388-b713-523595411de6 | node1 | True | xxx | standby |
| a74be278-e428-41a4-a375-9888e9b99bcd | node2 | True | :-) | standby |
+--------------------------------------+-------+----------------+-------+----------+
You can see that there is no "active" router, but north-south traffic
is still though the node1 and the keepalived work normally. I think
the ha_state of node1 shoud be "active".
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1641811/+subscriptions
References