[NETVIRT-1504] VpnInterfaceManager filling up logs at alarming rate Created: 13/Nov/18 Updated: 15/Nov/18 Resolved: 15/Nov/18 |
|
| Status: | Resolved |
| Project: | netvirt |
| Component/s: | vpnmanager |
| Affects Version/s: | Fluorine-SR1 |
| Fix Version/s: | Fluorine-SR1, Neon |
| Type: | Bug | Priority: | Highest |
| Reporter: | Vishal Thapar | Assignee: | Vishal Thapar |
| Resolution: | Done | Votes: | 0 |
| Labels: | csit:3node | ||
| Remaining Estimate: | 0 minutes | ||
| Time Spent: | 4 hours | ||
| Original Estimate: | Not Specified | ||
| Description |
|
Netvirt 3 node csit failing after 6 hours. Logs show two things: 1. Default config shard in error state on ODL1. Cluster issues need to be looked into, but VPNInterfaceManager shouldn't be filling up logs with ERROR messages at such a high rate. Guilty code is in VpnInterfaceManager.java: @Override addVpnInterface eventuall calls private void addVpnInterfaceCall(final InstanceIdentifier<VpnInterface> identifier, final VpnInterface vpnInterface, if (!canHandleNewVpnInterface(identifier, vpnInterface, vpnName)) { The log messages in above to methods are what are filling up the log. This code should not be: |
| Comments |
| Comment by Vishal Thapar [ 13/Nov/18 ] |
|
Issue is in VPnInterfaceManager's add retry logic. It is working something like this: 1. Try to add interface. This means we're repeatedly trying to process it without any delay, basically an infinite loop. |