Service instance is not deleted when gateway is cleared

Bug #1468001 reported by Sylvain Baubeau on 2015-06-23
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R2.20
In Progress
High
Sylvain Baubeau
Trunk
Fix Committed
High
Sylvain Baubeau
OpenContrail
New
High
Sylvain Baubeau

Bug Description

Considering a router exists, with an external gateway set (using neutron router router-create MyRouter && neutron router-gateway-set MyRouter MyExternalNetwork)

When doing this sequence of action :

neutron router-gateway-clear MyRouter
neutron router-delete MyRouter

The svc_monitor can fail to update to remove the related service instance, as it tries to update the logical router (when the router has already been deleted) : https://github.com/Juniper/contrail-controller/blob/master/src/config/svc-monitor/svc_monitor/snat_agent.py#L180

Review in progress for https://review.opencontrail.org/11969
Submitter: Sylvain Baubeau (<email address hidden>)

Changed in opencontrail:
importance: Undecided → Medium
importance: Medium → High
assignee: nobody → Sylvain Baubeau (lebauce-t)

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

commit c02391be43b79c9a144a27de121b612484cee065
Author: Sylvain Baubeau <email address hidden>
Date: Tue Jun 23 18:22:16 2015 +0200

Handle non existing router when removing service instance

Change-Id: I6f438e901fc8c9688b69a911d445a9ef754a5efa
Closes-Bug: #1468001

Review in progress for https://review.opencontrail.org/13481
Submitter: Jean-Philippe Braun (<email address hidden>)

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

Other bug subscribers