[NETVIRT-914] NEutron VPN / upon subnetupdate, sometimes networkID is not set Created: 15/Sep/17  Updated: 06/Apr/18  Resolved: 06/Apr/18

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

Type: Bug Priority: Medium
Reporter: Philippe Guibert Assignee: Unassigned
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: 9167

 Description   

this may lead to exceptions in subnetmapchangelistener listener.



 Comments   
Comment by Philippe Guibert [ 27/Sep/17 ]

I could not find the traces that made me open this issue.

however, this was an exception that occured on subnetmapchangelistener ( from vpnmanager).
when the code attempts to access to getNetworkId().getValue(), the problem arose.

protected void update(InstanceIdentifier<Subnetmap> identifier, Subnetmap subnetmapOriginal, Subnetmap
subnetmapUpdate) {
LOG.trace("update:SubnetmapListener update subnetmap method - key: {}, original: {}, update: {}",
identifier, subnetmapOriginal, subnetmapUpdate);
...
String elanInstanceName = subnetmapUpdate.getNetworkId().getValue();

Comment by Sam Hague [ 06/Apr/18 ]

https://git.opendaylight.org/gerrit/#/c/62949/

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