← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1290987] Re: Lots of failures deleting things with ml2

 

Fixed by something else. Closing for now.

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

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

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

Title:
  Lots of failures deleting things with ml2

Status in OpenStack Neutron (virtual network service):
  Invalid

Bug description:
  2014-03-11 16:59:26.901 2434 TRACE neutron.api.v2.resource Traceback (most recent call last):
  2014-03-11 16:59:26.901 2434 TRACE neutron.api.v2.resource   File "/opt/stack/new/neutron/neutron/api/v2/resource.py", line 87, in resource
  2014-03-11 16:59:26.901 2434 TRACE neutron.api.v2.resource     result = method(request=request, **args)
  2014-03-11 16:59:26.901 2434 TRACE neutron.api.v2.resource   File "/opt/stack/new/neutron/neutron/api/v2/base.py", line 444, in delete
  2014-03-11 16:59:26.901 2434 TRACE neutron.api.v2.resource     obj_deleter(request.context, id, **kwargs)
  2014-03-11 16:59:26.901 2434 TRACE neutron.api.v2.resource   File "/opt/stack/new/neutron/neutron/plugins/ml2/plugin.py", line 709, in delete_port
  2014-03-11 16:59:26.901 2434 TRACE neutron.api.v2.resource     filter_by(id=id).with_lockmode('update').one())
  2014-03-11 16:59:26.901 2434 TRACE neutron.api.v2.resource   File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/query.py", line 2317, in one
  2014-03-11 16:59:26.901 2434 TRACE neutron.api.v2.resource     ret = list(self)
  2014-03-11 16:59:26.901 2434 TRACE neutron.api.v2.resource   File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/query.py", line 2360, in __iter__
  2014-03-11 16:59:26.901 2434 TRACE neutron.api.v2.resource     return self._execute_and_instances(context)
  2014-03-11 16:59:26.901 2434 TRACE neutron.api.v2.resource   File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/query.py", line 2375, in _execute_and_instances
  2014-03-11 16:59:26.901 2434 TRACE neutron.api.v2.resource     result = conn.execute(querycontext.statement, self._params)
  2014-03-11 16:59:26.901 2434 TRACE neutron.api.v2.resource   File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 662, in execute
  2014-03-11 16:59:26.901 2434 TRACE neutron.api.v2.resource     params)
  2014-03-11 16:59:26.901 2434 TRACE neutron.api.v2.resource   File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 761, in _execute_clauseelement
  2014-03-11 16:59:26.901 2434 TRACE neutron.api.v2.resource     compiled_sql, distilled_params
  2014-03-11 16:59:26.901 2434 TRACE neutron.api.v2.resource   File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 874, in _execute_context
  2014-03-11 16:59:26.901 2434 TRACE neutron.api.v2.resource     context)
  2014-03-11 16:59:26.901 2434 TRACE neutron.api.v2.resource   File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1024, in _handle_dbapi_exception
  2014-03-11 16:59:26.901 2434 TRACE neutron.api.v2.resource     exc_info
  2014-03-11 16:59:26.901 2434 TRACE neutron.api.v2.resource   File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/util/compat.py", line 196, in raise_from_cause
  2014-03-11 16:59:26.901 2434 TRACE neutron.api.v2.resource     reraise(type(exception), exception, tb=exc_tb)
  2014-03-11 16:59:26.901 2434 TRACE neutron.api.v2.resource   File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 867, in _execute_context
  2014-03-11 16:59:26.901 2434 TRACE neutron.api.v2.resource     context)
  2014-03-11 16:59:26.901 2434 TRACE neutron.api.v2.resource   File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/default.py", line 324, in do_execute
  2014-03-11 16:59:26.901 2434 TRACE neutron.api.v2.resource     cursor.execute(statement, parameters)
  2014-03-11 16:59:26.901 2434 TRACE neutron.api.v2.resource   File "/usr/lib/python2.7/dist-packages/MySQLdb/cursors.py", line 174, in execute
  2014-03-11 16:59:26.901 2434 TRACE neutron.api.v2.resource     self.errorhandler(self, exc, value)
  2014-03-11 16:59:26.901 2434 TRACE neutron.api.v2.resource   File "/usr/lib/python2.7/dist-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
  2014-03-11 16:59:26.901 2434 TRACE neutron.api.v2.resource     raise errorclass, errorvalue
  2014-03-11 16:59:26.901 2434 TRACE neutron.api.v2.resource OperationalError: (OperationalError) (1205, 'Lock wait timeout exceeded; try restarting transaction') 'SELECT ports.tenant_id AS ports_tenant_id, ports.id AS ports_id, ports.name AS ports_name, ports.network_id AS ports_network_id, ports.mac_address AS ports_mac_address, ports.admin_state_up AS ports_admin_state_up, ports.status AS ports_status, ports.device_id AS ports_device_id, ports.device_owner AS ports_device_owner \nFROM ports \nWHERE ports.id = %s FOR UPDATE' ('aef7e00e-ef4e-4523-a65e-b623ee7b04d0',)
  2014-03-11 16:59:26.901 2434 TRACE neutron.api.v2.resource

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


References