SYMC: deleting subnet port from router removes ZK reservation

Bug #1521814 reported by Rudrajit Tapadar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenContrail
New
Undecided
Unassigned

Bug Description

On neutron add subnet to router,
In add_router_interface
https://github.com/Juniper/contrail-controller/blob/master/src/config/vnc_openstack/vnc_openstack/neutron_plugin_db.py#L3198

A port-create with a fixed ip is simulated. This ends up creating an instance-ip for port with gw-ip-address. Ideally this shouldn't create an instance-ip.

Similarly i remove_router_interface, port-delete is issued and this releases the above instance-ip causing the zk node to be deleted for gw-ip-address.

This doesn't cause any harm in ip-alloc-req because vnc_addr_mgmt.py uses Subnet() which doesn't allow to pick from gw-ip. But if user had specified gw-ip in port-create then it will be treated as available and used.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.