snat vns created (with name svc-snat-si_* ) are not deleted on deleting external gateway config

Bug #1367097 reported by Vedamurthy Joshi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R1.1
Won't Fix
Medium
Édouard Thuleau
R3.0
Fix Committed
Medium
Édouard Thuleau
R3.0.2.x
Won't Fix
Medium
Édouard Thuleau
R3.1
Fix Committed
Medium
Édouard Thuleau
Trunk
Fix Committed
Medium
Édouard Thuleau

Bug Description

R1.10 34

Each time a router with gateway is configured, we are creating a new VN (by name svc-snat-si_<UUID>), but we dont delete them on
clearing the gateway config.

Over time as one keeps doing this, a number of such vns would clutter the VN output

It would be nice to automatically delete such VNs

[root@nodea9 contrail-test]# neutron net-list | grep svc-snat | wc -l
60
[root@nodea9 contrail-test]#

Revision history for this message
Édouard Thuleau (ethuleau) wrote :
tags: added: releasenote
Revision history for this message
Vedamurthy Joshi (vedujoshi) wrote :

Release-note :
============
VNs with name svc-snat-si_<UUID> which are created dynamically on configuring SNAT external gateways are not automatically deleted on removing the external gateway or router

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/23168
Submitter: Rudra Rugge (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.1

Review in progress for https://review.opencontrail.org/23169
Submitter: Rudra Rugge (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.0

Review in progress for https://review.opencontrail.org/23170
Submitter: Rudra Rugge (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.0.2.x

Review in progress for https://review.opencontrail.org/23171
Submitter: Rudra Rugge (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/23168
Submitter: Rudra Rugge (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.1

Review in progress for https://review.opencontrail.org/23169
Submitter: Rudra Rugge (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.0

Review in progress for https://review.opencontrail.org/23170
Submitter: Rudra Rugge (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.0.2.x

Review in progress for https://review.opencontrail.org/23171
Submitter: Rudra Rugge (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/23169
Committed: http://github.org/Juniper/contrail-controller/commit/8aa9241784840539a2f848a68c1ba4105c18c908
Submitter: Zuul
Branch: R3.1

commit 8aa9241784840539a2f848a68c1ba4105c18c908
Author: Rudra Rugge <email address hidden>
Date: Wed Aug 10 11:30:09 2016 -0700

Delete SNAT left vn

Handle delete of SNAT left vn from timer to event based.
Dereference the ports and instance ips before deleting the
snat left vn.

Also change api-server to ignore if iip does not have vn ref.

Change-Id: I88261271efe28db7c777c207c047bcd857e09f42
Closes-Bug: #1367097

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/23170
Committed: http://github.org/Juniper/contrail-controller/commit/c0c2f492f3a9e2dd492a3358d6c5a0e5e557c79d
Submitter: Zuul
Branch: R3.0

commit c0c2f492f3a9e2dd492a3358d6c5a0e5e557c79d
Author: Rudra Rugge <email address hidden>
Date: Wed Aug 10 11:30:09 2016 -0700

Delete SNAT left vn

Handle delete of SNAT left vn from timer to event based.
Dereference the ports and instance ips before deleting the
snat left vn.

Also change api-server to ignore if iip does not have vn ref.

Change-Id: I88261271efe28db7c777c207c047bcd857e09f42
Closes-Bug: #1367097

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

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

commit a860ac981828bdc82904a24d61bdfd78699242d8
Author: Rudra Rugge <email address hidden>
Date: Wed Aug 10 11:30:09 2016 -0700

Delete SNAT left vn

Handle delete of SNAT left vn from timer to event based.
Dereference the ports and instance ips before deleting the
snat left vn.

Also change api-server to ignore if iip does not have vn ref.

Change-Id: I88261271efe28db7c777c207c047bcd857e09f42
Closes-Bug: #1367097

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.