vmware-nsx: removing router interface will throw an exception if lbaas v2 is enabled

Bug #1559893 reported by Yang Yu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron (Ubuntu)
Invalid
Undecided
Yang Yu
vmware-nsx (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

2016-02-24 06:51:56.389 ERROR neutron.api.v2.resource [req-c177bb74-50cf-442c-a317-19ba86c92129 admin admin] remove_router_interface failed
2016-02-24 06:51:56.389 19743 TRACE neutron.api.v2.resource Traceback (most recent call last):
2016-02-24 06:51:56.389 19743 TRACE neutron.api.v2.resource File "/opt/stack/neutron/neutron/api/v2/resource.py", line 83, in resource
2016-02-24 06:51:56.389 19743 TRACE neutron.api.v2.resource result = method(request=request, **args)
2016-02-24 06:51:56.389 19743 TRACE neutron.api.v2.resource File "/opt/stack/neutron/neutron/api/v2/base.py", line 207, in _handle_action
2016-02-24 06:51:56.389 19743 TRACE neutron.api.v2.resource return getattr(self._plugin, name)(*arg_list, **kwargs)
2016-02-24 06:51:56.389 19743 TRACE neutron.api.v2.resource File "/opt/stack/vmware-nsx/vmware_nsx/neutron/plugins/vmware/plugins/nsx_v.py", line 1786, in remove_router_interface
2016-02-24 06:51:56.389 19743 TRACE neutron.api.v2.resource context, router_id, interface_info)
2016-02-24 06:51:56.389 19743 TRACE neutron.api.v2.resource File "/opt/stack/vmware-nsx/vmware_nsx/neutron/plugins/vmware/plugins/nsx_v_drivers/exclusive_router_driver.py", line 219, in remove_router_interface
2016-02-24 06:51:56.389 19743 TRACE neutron.api.v2.resource if subnet and self.nsx_v.is_subnet_in_use(context, subnet):
2016-02-24 06:51:56.389 19743 TRACE neutron.api.v2.resource File "/opt/stack/vmware-nsx/vmware_nsx/neutron/services/lbaas/nsx_v/v1/edge_loadbalancer_driver.py", line 632, in is_subnet_in_use
2016-02-24 06:51:56.389 19743 TRACE neutron.api.v2.resource plugin = self._get_lb_plugin()
2016-02-24 06:51:56.389 19743 TRACE neutron.api.v2.resource File "/opt/stack/vmware-nsx/vmware_nsx/neutron/services/lbaas/nsx_v/v1/edge_loadbalancer_driver.py", line 151, in _get_lb_plugin
2016-02-24 06:51:56.389 19743 TRACE neutron.api.v2.resource self._lb_plugin = loaded_plugins[constants.LOADBALANCER]
2016-02-24 06:51:56.389 19743 TRACE neutron.api.v2.resource KeyError: 'LOADBALANCER'
2016-02-24 06:51:56.389 19743 TRACE neutron.api.v2.resource

Revision history for this message
Yang Yu (yuyangbj) wrote :
Changed in steam (Ubuntu):
assignee: nobody → Yang Yu (yuyangbj)
affects: steam (Ubuntu) → neutron (Ubuntu)
Changed in neutron (Ubuntu):
status: New → Invalid
status: Invalid → New
Revision history for this message
Corey Bryant (corey.bryant) wrote :

The upstream patch is applied to the Ubuntu vmware-nsx package in OpenStack Ocata and above.

Changed in neutron (Ubuntu):
status: New → Invalid
Changed in vmware-nsx (Ubuntu):
status: New → Fix Released
Revision history for this message
Corey Bryant (corey.bryant) wrote :

I've marked this as fix released for vmware-nsx. If you believe there are any other changes required, please feel free to move the bug back to New and add a comment.

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.