[NEUTRON-121] [stable/beryllium] router-gateway-set with multiple fixedIPs resulting in only fixedIP per subnet getting written to MDSAL Created: 14/Apr/16  Updated: 19/Nov/19  Resolved: 13/Jul/16

Status: Resolved
Project: neutron
Component/s: northbound-api
Affects Version/s: unspecified
Fix Version/s: None

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

Operating System: All
Platform: All


Attachments: Text File devstack_commands_and_jsons.txt    
External issue ID: 5723

 Description   

Upon updating a router with router-gateway-set with multiple fixed IPs per subnet, only one is getting reflected in neutron router config DS.

Please see the attachment for detailed DS inputs/outputs and openstack commands to reproduce.

In AbstractNeutronNorthboundIAware, update is sending two IPs, but a GET on update is returning just one.



 Comments   
Comment by Abhinav Gupta [ 14/Apr/16 ]

Attachment devstack_commands_and_jsons.txt has been added with description: Commands/JSONs to reproduce and GET outputs

Comment by Abhinav Gupta [ 15/Apr/16 ]

Debugged this further to find that, upon router-gateway-set with multiple fixed IPs per subnet, two operations occur:

1. neutron port creation (with multiple fixed IPs) corresponding to the router gateway

2. router-update updating the external-gateway-info.

Possibly, the erroneous contents of the second are caused due to issues with (1).
With (1), the observation is that devstack shows port created with 2 fixed IPs, but ODL Neutron Ports DS contains only one fixed IP for the created neutron gateway port.

Then, root caused the problem further to observe that a neutron port-create with multiple fixed IPs is itself not percolating to ODL Neutron Ports DS, though the information is sent by the ODL Driver. Suraj Ranjan raised a bug today for the same (Bug ID: 5735)

Comment by Vishal Thapar [ 18/Apr/16 ]

Core issue is https://bugs.opendaylight.org/show_bug.cgi?id=5735

Should this be marked as DUPLICATE?

Comment by Abhinav Gupta [ 08/Jul/16 ]

In addition to the core issue, the following patch is required to enable configuration of multiple external fixedIPs under router-gateway-info: https://git.opendaylight.org/gerrit/41544

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