Merge "NSX|V3: Do not fail on router rollback"
This commit is contained in:
commit
486c64c25e
@ -4396,8 +4396,13 @@ class NsxV3Plugin(agentschedulers_db.AZDhcpAgentSchedulerDbMixin,
|
|||||||
LOG.error("Neutron failed to add_router_interface on "
|
LOG.error("Neutron failed to add_router_interface on "
|
||||||
"router %s, and would try to rollback.",
|
"router %s, and would try to rollback.",
|
||||||
router_id)
|
router_id)
|
||||||
self.remove_router_interface(
|
try:
|
||||||
context, router_id, interface_info)
|
self.remove_router_interface(
|
||||||
|
context, router_id, interface_info)
|
||||||
|
except Exception:
|
||||||
|
# rollback also failed
|
||||||
|
LOG.error("Neutron rollback failed to remove router "
|
||||||
|
"interface on router %s.", router_id)
|
||||||
return info
|
return info
|
||||||
|
|
||||||
def remove_router_interface(self, context, router_id, interface_info):
|
def remove_router_interface(self, context, router_id, interface_info):
|
||||||
|
Loading…
Reference in New Issue
Block a user