← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1229331] Re: unable to update port resouces

 

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

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

Title:
  unable to update port resouces

Status in OpenStack Neutron (virtual network service):
  Fix Released

Bug description:
  If doing an update with the nvp plugin the following exception is
  raised:

  nicira/api_client/client.py:189
  2013-09-23 10:45:26.909 19642 DEBUG neutron.plugins.nicira.api_client.request_eventlet [-] [19] Completed request 'GET /ws.v1/lswitch/8f1050e7-2127-4119-a9e5-648c743fecd6/lport?fields=uuid&tag_scope=q_port_id&tag
  =660c18a9-1a23-4b01-a14d-0efb64d3eab5': 200 _handle_request /opt/stack/neutron/neutron/plugins/nicira/api_client/request_eventlet.py:156
  2013-09-23 10:45:26.910 19642 ERROR neutron.api.v2.resource [-] update failed
  2013-09-23 10:45:26.910 19642 TRACE neutron.api.v2.resource Traceback (most recent call last):
  2013-09-23 10:45:26.910 19642 TRACE neutron.api.v2.resource   File "/opt/stack/neutron/neutron/api/v2/resource.py", line 84, in resource
  2013-09-23 10:45:26.910 19642 TRACE neutron.api.v2.resource     result = method(request=request, **args)
  2013-09-23 10:45:26.910 19642 TRACE neutron.api.v2.resource   File "/opt/stack/neutron/neutron/api/v2/base.py", line 470, in update
  2013-09-23 10:45:26.910 19642 TRACE neutron.api.v2.resource     parent_id=parent_id)
  2013-09-23 10:45:26.910 19642 TRACE neutron.api.v2.resource   File "/opt/stack/neutron/neutron/api/v2/base.py", line 258, in _item
  2013-09-23 10:45:26.910 19642 TRACE neutron.api.v2.resource     obj = obj_getter(request.context, id, **kwargs)
  2013-09-23 10:45:26.910 19642 TRACE neutron.api.v2.resource   File "/opt/stack/neutron/neutron/plugins/nicira/NeutronPlugin.py", line 1363, in get_port
  2013-09-23 10:45:26.910 19642 TRACE neutron.api.v2.resource     context, db_port)
  2013-09-23 10:45:26.910 19642 TRACE neutron.api.v2.resource   File "/opt/stack/neutron/neutron/plugins/nicira/common/sync.py", line 393, in synchronize_port
  2013-09-23 10:45:26.910 19642 TRACE neutron.api.v2.resource     self._nvp_cache.update_lswitchport(lswitchport)
  2013-09-23 10:45:26.910 19642 TRACE neutron.api.v2.resource   File "/opt/stack/neutron/neutron/plugins/nicira/common/sync.py", line 129, in update_lswitchport
  2013-09-23 10:45:26.910 19642 TRACE neutron.api.v2.resource     self._update_resources(self._lswitchports, [lswitchport])
  2013-09-23 10:45:26.910 19642 TRACE neutron.api.v2.resource   File "/opt/stack/neutron/neutron/plugins/nicira/common/sync.py", line 78, in _update_resources
  2013-09-23 10:45:26.910 19642 TRACE neutron.api.v2.resource     item_id = item['uuid']
  2013-09-23 10:45:26.910 19642 TRACE neutron.api.v2.resource TypeError: 'NoneType' object has no attribute '__getitem__'
  2013-09-23 10:45:26.910 19642 TRACE neutron.api.v2.resource

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