yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #58669
[Bug 1641535] [NEW] FIP failed to remove in router's standby node
Public bug reported:
ENV
====================
1. Server side:
enable router_distributed and l3_ha
2. Agent side:
all L3 agent mode is dvr_snat (include network nodes and compute nodes)
How to reprocude:
=================
associate floatingip --> disassociate floatingip --> reassociate floatingip
We hit trace info in l3 agent:
http://paste.openstack.org/show/589071/
Analysis
==========
When we processing floatingip (In the situation router's attribute is ha + dvr), in ha_router we only remove floatingip if ha state is 'master'[1], and in dvr_local_router we remove it's related IP rule.
Then we reassociate floatingip, it will hit RTNETLINK error. Because we had already delete the realted IP rule.
[1] https://github.com/openstack/neutron/blob/master/neutron/agent/l3/ha_router.py#L273
** Affects: neutron
Importance: Undecided
Assignee: Dongcan Ye (hellochosen)
Status: New
** Tags: l3-dvr-backlog l3-ha
** Changed in: neutron
Assignee: (unassigned) => Dongcan Ye (hellochosen)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1641535
Title:
FIP failed to remove in router's standby node
Status in neutron:
New
Bug description:
ENV
====================
1. Server side:
enable router_distributed and l3_ha
2. Agent side:
all L3 agent mode is dvr_snat (include network nodes and compute nodes)
How to reprocude:
=================
associate floatingip --> disassociate floatingip --> reassociate floatingip
We hit trace info in l3 agent:
http://paste.openstack.org/show/589071/
Analysis
==========
When we processing floatingip (In the situation router's attribute is ha + dvr), in ha_router we only remove floatingip if ha state is 'master'[1], and in dvr_local_router we remove it's related IP rule.
Then we reassociate floatingip, it will hit RTNETLINK error. Because we had already delete the realted IP rule.
[1] https://github.com/openstack/neutron/blob/master/neutron/agent/l3/ha_router.py#L273
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1641535/+subscriptions
Follow ups