[GENIUS-13] dummy elan:elan-interfaces named 0:eth1:flat causing NPE Created: 29/Aug/16 Updated: 15/Dec/17 Resolved: 21/Sep/16 |
|
| Status: | Resolved |
| Project: | genius |
| Component/s: | General |
| Affects Version/s: | (unspecified) |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Ravit Peretz | Assignee: | Chetan Arakere Gowdru |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| External issue ID: | 6557 |
| Priority: | Normal |
| Description |
|
when retrieving elanService.getExternalElanInterfaces for router port's external network, we get an additional dummy external interface (besides the actual ones). For example: 0:eth1:flat. This external interface has no state and therefore causes an NPE (in both FloatingIpGarpHandler and NeutronSubnetGwMacResolver): 2016-08-23 18:11:30,472 | ERROR | Gw-Mac-Res | InterfaceManagerRpcService | 318 - org.opendaylight.genius.interfacemanager-impl - 0.1.0.SNAPSHOT | Retrieval of lport tag for the key 0:eth1:flat failed due to java.lang.NullPointerException 2016-08-23 18:11:30,485 | ERROR | pool-45-thread-1 | InterfaceManagerRpcService | 318 - org.opendaylight.genius.interfacemanager-impl - 0.1.0.SNAPSHOT | Retrieval of datapath id for the key 0:eth1:flat failed due to java.lang.NullPointerException |
| Comments |
| Comment by Periyasamy Palanisamy [ 31/Aug/16 ] |
|
When interface state is not present, then it is expected that you will not be able to find lportTag and dpId associated with it. |
| Comment by Faseela K [ 01/Sep/16 ] |
|
Working on it |
| Comment by Chetan Arakere Gowdru [ 06/Sep/16 ] |
|
Review in Progress - https://git.opendaylight.org/gerrit/#/c/45027/ |
| Comment by Chetan Arakere Gowdru [ 21/Sep/16 ] |
|
Merged in ODL/Boron - https://git.opendaylight.org/gerrit/#/c/45305/ |