Delete router broken for NSX-mh

Bug #1426570 reported by Salvatore Orlando
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
vmware-nsx
Fix Released
High
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
Changed in vmware-nsx:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to vmware-nsx (master)

Reviewed: https://review.openstack.org/159653
Committed: https://git.openstack.org/cgit/stackforge/vmware-nsx/commit/?id=2f46cd7afdd002a0d139896df3952939d4c83ca0
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
Adit Sarfaty (asarfaty)
Changed in vmware-nsx:
status: Fix Committed → Fix Released
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.