← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1334112] Re: Lock wait timeout inserting into extradhcpopts

 

[Expired for neutron because there has been no activity for 60 days.]

** Changed in: neutron
       Status: Incomplete => Expired

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

Title:
  Lock wait timeout inserting into extradhcpopts

Status in OpenStack Neutron (virtual network service):
  Expired

Bug description:
  Traceback:

   TRACE neutron.api.v2.resource Traceback (most recent call last):
   TRACE neutron.api.v2.resource   File "/opt/stack/new/neutron/neutron/api/v2/resource.py", line 87, in resource
   TRACE neutron.api.v2.resource     result = method(request=request, **args)
   TRACE neutron.api.v2.resource   File "/opt/stack/new/neutron/neutron/api/v2/base.py", line 529, in update
   TRACE neutron.api.v2.resource     obj = obj_updater(request.context, id, **kwargs)
   TRACE neutron.api.v2.resource   File "/opt/stack/new/neutron/neutron/plugins/ml2/plugin.py", line 692, in update_port
   TRACE neutron.api.v2.resource     context, id, port, updated_port)
   TRACE neutron.api.v2.resource   File "/opt/stack/new/neutron/neutron/db/extradhcpopt_db.py", line 112, in _update_extra_dhcp_opts_on_port
   TRACE neutron.api.v2.resource     context.session.add(db)
   TRACE neutron.api.v2.resource   File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/session.py", line 463, in __exit__
   TRACE neutron.api.v2.resource     self.rollback()
   TRACE neutron.api.v2.resource   File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/util/langhelpers.py", line 57, in __exit__
   TRACE neutron.api.v2.resource     compat.reraise(exc_type, exc_value, exc_tb)
   TRACE neutron.api.v2.resource   File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/session.py", line 460, in __exit__
   TRACE neutron.api.v2.resource     self.commit()
   TRACE neutron.api.v2.resource   File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/session.py", line 370, in commit
   TRACE neutron.api.v2.resource     self._prepare_impl()
   TRACE neutron.api.v2.resource   File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/session.py", line 350, in _prepare_impl
   TRACE neutron.api.v2.resource     self.session.flush()
   TRACE neutron.api.v2.resource   File "/opt/stack/new/neutron/neutron/openstack/common/db/sqlalchemy/session.py", line 439, in _wrap
   TRACE neutron.api.v2.resource     return f(self, *args, **kwargs)
   TRACE neutron.api.v2.resource   File "/opt/stack/new/neutron/neutron/openstack/common/db/sqlalchemy/session.py", line 705, in flush
   TRACE neutron.api.v2.resource     return super(Session, self).flush(*args, **kwargs)
   TRACE neutron.api.v2.resource   File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/session.py", line 1907, in flush
   TRACE neutron.api.v2.resource     self._flush(objects)
   TRACE neutron.api.v2.resource   File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/session.py", line 2025, in _flush
   TRACE neutron.api.v2.resource     transaction.rollback(_capture_exception=True)
   TRACE neutron.api.v2.resource   File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/util/langhelpers.py", line 57, in __exit__
   TRACE neutron.api.v2.resource     compat.reraise(exc_type, exc_value, exc_tb)
   TRACE neutron.api.v2.resource   File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/session.py", line 1989, in _flush
   TRACE neutron.api.v2.resource     flush_context.execute()
   TRACE neutron.api.v2.resource   File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/unitofwork.py", line 371, in execute
   TRACE neutron.api.v2.resource     rec.execute(self)
   TRACE neutron.api.v2.resource   File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/unitofwork.py", line 524, in execute
   TRACE neutron.api.v2.resource     uow
   TRACE neutron.api.v2.resource   File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/persistence.py", line 64, in save_obj
   TRACE neutron.api.v2.resource     mapper, table, insert)
   TRACE neutron.api.v2.resource   File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/persistence.py", line 600, in _emit_insert_statements
   TRACE neutron.api.v2.resource     execute(statement, params)
   TRACE neutron.api.v2.resource   File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 727, in execute
   TRACE neutron.api.v2.resource     return meth(self, multiparams, params)
   TRACE neutron.api.v2.resource   File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/sql/elements.py", line 322, in _execute_on_connection
   TRACE neutron.api.v2.resource     return connection._execute_clauseelement(self, multiparams, params)
   TRACE neutron.api.v2.resource   File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 824, in _execute_clauseelement
   TRACE neutron.api.v2.resource     compiled_sql, distilled_params
   TRACE neutron.api.v2.resource   File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 954, in _execute_context
   TRACE neutron.api.v2.resource     context)
   TRACE neutron.api.v2.resource   File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1116, in _handle_dbapi_exception
   TRACE neutron.api.v2.resource     exc_info
   TRACE neutron.api.v2.resource   File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/util/compat.py", line 189, in raise_from_cause
   TRACE neutron.api.v2.resource     reraise(type(exception), exception, tb=exc_tb)
   TRACE neutron.api.v2.resource   File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 947, in _execute_context
   TRACE neutron.api.v2.resource     context)
   TRACE neutron.api.v2.resource   File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/default.py", line 435, in do_execute
   TRACE neutron.api.v2.resource     cursor.execute(statement, parameters)
   TRACE neutron.api.v2.resource   File "/usr/lib/python2.7/dist-packages/MySQLdb/cursors.py", line 174, in execute
   TRACE neutron.api.v2.resource     self.errorhandler(self, exc, value)
   TRACE neutron.api.v2.resource   File "/usr/lib/python2.7/dist-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
   TRACE neutron.api.v2.resource     raise errorclass, errorvalue
   TRACE neutron.api.v2.resource OperationalError: (OperationalError) (1205, 'Lock wait timeout exceeded; try restarting transaction') 'INSERT INTO extradhcpopts (id, port_id, opt_name, opt_value) VALUES (%s, %s, %s, %s)' ('ad38cb13-5aae-41fe-a196-2953026f39b3', 'b47f7ccd-b498-4528-8650-6066d20a90ea', 'bootfile-name', 'pxelinux.0')

  http://logs.openstack.org/14/100014/9/check/check-tempest-dsvm-
  neutron-
  full/4f8113b/logs/screen-q-svc.txt.gz?level=TRACE#_2014-06-24_09_11_24_919

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


References