[NETVIRT-268] Floating IP rules installed with wrong actions Created: 13/Nov/16 Updated: 19/Oct/17 Resolved: 12/Jan/17 |
|
| Status: | Resolved |
| Project: | netvirt |
| Component/s: | General |
| Affects Version/s: | Boron |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | ofer barber | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: Linux |
||
| Attachments: |
|
| External issue ID: | 7165 |
| Description |
|
I have a setup with 3 OpenStack controllers, 1 Karaf and 2 compute nodes. Ping between vms work fine. I have investigated the first floating ip, 10.83.5.112, which is used by a vm on compute 1. In the ovs dump flows of compute 1, I see the following flow: cookie=0x8000003, duration=6378.900s, table=21, n_packets=66, n_bytes=5868, priority=42,ip,metadata=0x222e0/0xfffffffe,nw_dst=10.83.5.112 actions=write_actions(set_field:0x11245->tun_id,output:5) port number 5 is a tunnel port and not a "vm" port. Dump model of config/odl-fib:fibEntries/ shows: 10.83.6.5 is compute1 IP, 10.83.6.6 is compute2 IP. |
| Comments |
| Comment by ofer barber [ 13/Nov/16 ] |
|
Attachment bug_netvirt.zip has been added with description: Karaf, OVSs and model |
| Comment by ofer barber [ 13/Nov/16 ] |
|
Karaf version: |
| Comment by Tomer Pearl [ 15/Nov/16 ] |
|
It seems like that this issue happens when reusing the floating ip between vms, without deleting it from the odl-fib:fibEntries model, in this case a new entry is appended to nextHopAddressList. When i'm trying to reproduce this issue from horizon, after dissociating the floating ip from a vm, the relevant entry in deleted from odl-fib:fibEntries model, and when i'm associating the floating ip again, a relevant entry is created correctly in the model. |
| Comment by dotans [ 23/Nov/16 ] |
|
I have a Newton setup. |
| Comment by dotans [ 02/Jan/17 ] |
|
The scenario was reproduced again with a simple creation of network,vm,router and association of FIP to vm. |
| Comment by Koby Aizer [ 12/Jan/17 ] |
|
Analyzing this further with Dotan, we got to a conclusion that this is fixed by: https://git.opendaylight.org/gerrit/#/c/50110/ |