Delete router broken for NSX-mh

Bug #1426570 reported by Salvatore Orlando on 2015-02-27
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Salvatore Orlando

Bug Description

Starting with 1e00041b0bcb83175760eb6347bb3eae55649328 delete_router invokes a plugin operation for removing router ports, whereas previously it simply took care of removing information for the port from the database.

While this change has been beneficial for many plugins, it did not work for NSX-mh.
Indeed the NSX-mh removes the logical router from the backend before moving on to the database operation.
As the database operation now attempts to operate on the backend object, this fails because the object has been deleted in the meanwhile.

Tags: mh Edit Tag help
Changed in vmware-nsx:
status: New → In Progress

Submitter: Jenkins
Branch: master

commit 2f46cd7afdd002a0d139896df3952939d4c83ca0
Author: Salvatore Orlando <email address hidden>
Date: Thu Feb 26 14:58:45 2015 -0800

    Do not attempt ext gw port reset for deleted routers

    This patch prevents _nsx_delete_ext_gw_port from attempting to
    operate on the external gateway port for a router which has
    already been deleted from the backend.
    This situation occurs since the behaviour of delete_router
    has been changed by 1e00041b0bcb83175760eb6347bb3eae55649328

    Closes-Bug: #1426570

    Change-Id: I2029df5227e312815fa3f955bfd1bcc19c5216b5

Changed in vmware-nsx:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers