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.
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-agnet, 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". ** Affects: neutron Importance: Undecided Assignee: wujun (wujun) Status: New ** Changed in: neutron Assignee: (unassigned) => wujun (wujun) ** Description changed: - 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. + 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-agnet, 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". + 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". -- 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 master router is down 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. 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-agnet, 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 -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp