← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1454408] Re: ObectDeletedError while deleting network

 

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

** Changed in: neutron
    Milestone: None => liberty-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/1454408

Title:
  ObectDeletedError while deleting network

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

Bug description:
  The following trace could be observed running rally tests on multi-
  server environment:

  2015-05-12 11:41:20.503 14172 TRACE neutron.api.v2.resource Traceback (most recent call last):
  2015-05-12 11:41:20.503 14172 TRACE neutron.api.v2.resource   File "/usr/lib/python2.7/dist-packages/neutron/api/v2/resource.py", line 87, in resource
  2015-05-12 11:41:20.503 14172 TRACE neutron.api.v2.resource     result = method(request=request, **args)
  2015-05-12 11:41:20.503 14172 TRACE neutron.api.v2.resource   File "/usr/lib/python2.7/dist-packages/neutron/api/v2/base.py", line 476, in delete
  2015-05-12 11:41:20.503 14172 TRACE neutron.api.v2.resource     obj_deleter(request.context, id, **kwargs)
  2015-05-12 11:41:20.503 14172 TRACE neutron.api.v2.resource   File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/plugin.py", line 671, in delete_network
  2015-05-12 11:41:20.503 14172 TRACE neutron.api.v2.resource     self._delete_ports(context, ports)
  2015-05-12 11:41:20.503 14172 TRACE neutron.api.v2.resource   File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/plugin.py", line 587, in _delete_ports
  2015-05-12 11:41:20.503 14172 TRACE neutron.api.v2.resource     port.id)
  2015-05-12 11:41:20.503 14172 TRACE neutron.api.v2.resource   File "/usr/lib/python2.7/dist-packages/sqlalchemy/orm/attributes.py", line 239, in __get__
  2015-05-12 11:41:20.503 14172 TRACE neutron.api.v2.resource     return self.impl.get(instance_state(instance), dict_)
  2015-05-12 11:41:20.503 14172 TRACE neutron.api.v2.resource   File "/usr/lib/python2.7/dist-packages/sqlalchemy/orm/attributes.py", line 589, in get
  2015-05-12 11:41:20.503 14172 TRACE neutron.api.v2.resource     value = callable_(state, passive)
  2015-05-12 11:41:20.503 14172 TRACE neutron.api.v2.resource   File "/usr/lib/python2.7/dist-packages/sqlalchemy/orm/state.py", line 424, in __call__
  2015-05-12 11:41:20.503 14172 TRACE neutron.api.v2.resource     self.manager.deferred_scalar_loader(self, toload)
  2015-05-12 11:41:20.503 14172 TRACE neutron.api.v2.resource   File "/usr/lib/python2.7/dist-packages/sqlalchemy/orm/loading.py", line 614, in load_scalar_attributes
  2015-05-12 11:41:20.503 14172 TRACE neutron.api.v2.resource     raise orm_exc.ObjectDeletedError(state)
  2015-05-12 11:41:20.503 14172 TRACE neutron.api.v2.resource ObjectDeletedError: Instance '<Port at 0x7fb50067e290>' has been deleted, or its row is otherwise not present.

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


References