[NETVIRT-138] Neighbor NAPT switches group table buckets remain empty Created: 13/Sep/16  Updated: 05/Oct/16  Resolved: 05/Oct/16

Status: Resolved
Project: netvirt
Component/s: General
Affects Version/s: Boron
Fix Version/s: None

Type: Bug
Reporter: Ravit Peretz Assignee: Ravit Peretz
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 6708

 Description   

Neighbor NAPT switches group table buckets remain empty due to missing tunnel interface in MDSAL:

group_id=200001,type=all

The log shows:
2016-09-13 08:07:48,542 | WARN | on-dispatcher-61 | NaptSwitchHA | 369 - org.opendaylight.netvirt.natservice-impl - 0.4.0.SNAPSHOT | RPC Call to getTunnelInterfaceId returned with Errors []

Suggested solution is to update the group table buckets upon transport zone update, once the tunnel interface is created.



 Comments   
Comment by Ravit Peretz [ 13/Sep/16 ]

after some more analysis:
Upon VM creation, a tunnel needs to be created between the VM and the NAPT switch
Upon the tunnel creation, the NAPT switch flows needs to be updated with the tunnel id

Comment by Ravit Peretz [ 14/Sep/16 ]

This log shows the race:
2016-09-14 18:18:59,500 | WARN | n-dispatcher-410 | NaptSwitchHA | 364 - org.opendaylight.netvirt.natservice-impl - 0.4.0.SNAPSHOT | RPC Call to getTunnelInterfaceId returned with Errors []
2016-09-14 18:18:59,500 | WARN | n-dispatcher-410 | NaptSwitchHA | 364 - org.opendaylight.netvirt.natservice-impl - 0.4.0.SNAPSHOT | RPC Call to getTunnelInterfaceId returned with Errors []
2016-09-14 18:18:59,500 | DEBUG | n-dispatcher-410 | NaptSwitchHA | 364 - org.opendaylight.netvirt.natservice-impl - 0.4.0.SNAPSHOT | No TunnelInterface between ordinary switch 22421108226386
and naptSwitch 71167930386778

2016-09-14 18:18:59,547 | INFO | pool-47-thread-1 | TransportZoneNotificationUtil | 359 - org.opendaylight.netvirt.neutronvpn-impl - 0.4.0.SNAPSHOT | updating transport zone 0b8732c6-2822-4066-bd86-75dec0ca2
097 due to router 0b8732c6-2822-4066-bd86-75dec0ca2097 handling

Comment by Ravit Peretz [ 19/Sep/16 ]

available fix is:
https://git.opendaylight.org/gerrit/#/c/45635/

Generated at Wed Feb 07 20:20:48 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.