BGPaaS: deletion of BGPaaS obj does not delete back ref from VMI

Bug #1527433 reported by amit surana
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
Trunk
Fix Committed
High
Sachin Bansal

Bug Description

3.0 b 2684

Even after BgpAsAService object is deleted, the VMI still holds a back-ref to it. This VMI will continue to hold the back-ref to a non existent BgpAsAService object even if new one is attempted to be associated to it.

            bgpaas_obj.del_virtual_machine_interface(vmi)
            self._vnc_lib.bgp_as_a_service_update(bgpaas_obj)
            self._vnc_lib.bgp_as_a_service_delete(id=bgpaas_obj.uuid)

Tags: bgpaas config
amit surana (asurana-t)
description: updated
amit surana (asurana-t)
information type: Proprietary → Public
amit surana (asurana-t)
tags: added: config
amit surana (asurana-t)
no longer affects: juniperopenstack/r3.0
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/16096
Submitter: Sachin Bansal (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/16096
Committed: http://github.org/Juniper/contrail-controller/commit/e993b37684dad33f47e17d9a2c9e0ac6c7363a5d
Submitter: Zuul
Branch: master

commit e993b37684dad33f47e17d9a2c9e0ac6c7363a5d
Author: Sachin Bansal <email address hidden>
Date: Tue Jan 5 14:55:04 2016 -0800

Fix multiple issues with properties validation

1. At couple of places, obj type needed to be converted to underscore instead of dash
2. Wrong variable name was used at one place (prop_dict instead of prop_value)
3. Schema transformer should set asn as integer instead of string
4. Wrong varialble name was used at two places in schema transformer

Change-Id: Ieddfba532e0cbd5d054257d5848f1619a9179b62
Closes-Bug: 1529982
Closes-Bug: 1527433
Closes-Bug: 1531004

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.