← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1312439] Re: NSX: wrong switch uuid reference used during dhcp/metadata operations

 

** Changed in: neutron
       Status: Fix Committed => Fix Released

** Changed in: neutron
    Milestone: None => juno-1

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1312439

Title:
  NSX: wrong switch uuid reference used during dhcp/metadata operations

Status in OpenStack Neutron (virtual network service):
  Fix Released
Status in neutron icehouse series:
  New

Bug description:
  Change https://review.openstack.org/#/c/54578/ introduced a DB mapping
  between neutron network uuids and NSX logical switch uuids.

  Some parts of the NSX plugin have not been fully updated to reflect
  the new logic and this result in stacktraces like these:

  Server Error Message: Enti
  ty '2306d291-abdd-42fa-8231-f8566b378b40' not registered.
  2014-04-24 14:44:23.763 23228 ERROR neutron.plugins.vmware.dhcp_meta.nsx [req-470c5e04-89ee-4967-b53a-63a7d0ff1603 None] (u'Error while configuring DHC
  P for port %s', '98e92c69-3f4f-4b32-995c-72c01229a13d')
  2014-04-24 14:44:23.763 23228 ERROR neutron.api.v2.resource [req-470c5e04-89ee-4967-b53a-63a7d0ff1603 None] create failed
  2014-04-24 14:44:23.763 23228 TRACE neutron.api.v2.resource Traceback (most recent call last):
  2014-04-24 14:44:23.763 23228 TRACE neutron.api.v2.resource   File "/opt/stack/neutron/neutron/api/v2/resource.py", line 87, in resource
  2014-04-24 14:44:23.763 23228 TRACE neutron.api.v2.resource     result = method(request=request, **args)
  2014-04-24 14:44:23.763 23228 TRACE neutron.api.v2.resource   File "/opt/stack/neutron/neutron/api/v2/base.py", line 428, in create
  2014-04-24 14:44:23.763 23228 TRACE neutron.api.v2.resource     obj)})
  2014-04-24 14:44:23.763 23228 TRACE neutron.api.v2.resource   File "/opt/stack/neutron/neutron/api/v2/base.py", line 404, in notify
  2014-04-24 14:44:23.763 23228 TRACE neutron.api.v2.resource     notifier_method)
  2014-04-24 14:44:23.763 23228 TRACE neutron.api.v2.resource   File "/opt/stack/neutron/neutron/api/v2/base.py", line 280, in _send_dhcp_notification
  2014-04-24 14:44:23.763 23228 TRACE neutron.api.v2.resource     self._dhcp_agent_notifier.notify(context, data, methodname)
  2014-04-24 14:44:23.763 23228 TRACE neutron.api.v2.resource   File "/opt/stack/neutron/neutron/plugins/vmware/dhcp_meta/nsx.py", line 88, in notify
  2014-04-24 14:44:23.763 23228 TRACE neutron.api.v2.resource     self._handle_subnet_dhcp_access[action](context, data['subnet'])
  2014-04-24 14:44:23.763 23228 TRACE neutron.api.v2.resource   File "/opt/stack/neutron/neutron/plugins/vmware/dhcp_meta/nsx.py", line 134, in _subnet_c
  reate
  2014-04-24 14:44:23.763 23228 TRACE neutron.api.v2.resource     self.plugin.create_port(context, {'port': dhcp_port})
  2014-04-24 14:44:23.763 23228 TRACE neutron.api.v2.resource   File "/opt/stack/neutron/neutron/plugins/vmware/plugins/base.py", line 1204, in create_po
  rt
  2014-04-24 14:44:23.763 23228 TRACE neutron.api.v2.resource     self.handle_port_dhcp_access(context, port_data, action='create_port')
  2014-04-24 14:44:23.763 23228 TRACE neutron.api.v2.resource   File "/opt/stack/neutron/neutron/plugins/vmware/dhcpmeta_modes.py", line 148, in handle_p
  ort_dhcp_access
  2014-04-24 14:44:23.763 23228 TRACE neutron.api.v2.resource     self.handle_port_dhcp_access_delegate(self, context, port_data, action)
  2014-04-24 14:44:23.763 23228 TRACE neutron.api.v2.resource   File "/opt/stack/neutron/neutron/plugins/vmware/dhcp_meta/nsx.py", line 241, in handle_po
  rt_dhcp_access
  2014-04-24 14:44:23.763 23228 TRACE neutron.api.v2.resource     raise n_exc.NeutronException()
  2014-04-24 14:44:23.763 23228 TRACE neutron.api.v2.resource NeutronException: An unknown exception occurred.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1312439/+subscriptions


References