ARP advertisement issue with DVR

Bug #1845360 reported by Stanislav Dmitriev
28
This bug affects 6 people
Affects Status Importance Assigned to Milestone
neutron
New
Undecided
Ryan Tidwell

Bug Description

Creation of instance in order:
- create instance
- create network port
- assign floating IP to that port
- attach port to the previously created instance
can lead to situation when floating IP assigned to fip namespace in the compute node are not removed yet from snat namespace of the network node and when l3-agent perform arp advert through arping from the compute node actually both of them reply (network snat and compute fip) and upstream router can learn the wrong one MAC (from network node snat). Even after floating IP are deleted from network node snat ustream router keep on sending traffic there because it learned MAC from snat.

That usually happens with HEAT templates like that https://github.com/openstack/magnum/blob/master/magnum/drivers/k8s_fedora_atomic_v1/templates/kubeminion.yaml#L440-L491

Environment: Openstack Stein, Ubuntu 16.04 (kernel 4.15), DVR

Revision history for this message
Brian Haley (brian-haley) wrote :

I guess I see how this could maybe happen, since the original port is unbound.

Can the workflow be changed to first attach the port then assign the floating IP?

tags: added: l3-dvr-backlog
Revision history for this message
Gaëtan Trellu (goldyfruit) wrote :

Brian,

So far this is the workaround we are working on but this is just a workaround.
Is there a way to make Neutron handle this properly ?

Thanks,

Gaëtan

Revision history for this message
Brian Haley (brian-haley) wrote :

Assigning to Ryan to investigate.

Changed in neutron:
assignee: nobody → Ryan Tidwell (ryan-tidwell)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.