Public bug reported:

I hit the following deadlock in a dsvm job:

http://paste.openstack.org/show/476503/

The full log is here:
http://logs.openstack.org/00/234200/5/experimental/gate-tempest-dsvm-neutron-full-test-accounts/4dccd24/logs/screen-n-api.txt.gz#_2015-10-16_13_23_36_379

The exception is:
2015-10-16 13:23:36.379 27391 ERROR nova.api.openstack.extensions DBDeadlock: 
(pymysql.err.InternalError) (1213, u'Deadlock found when trying to get lock; 
try restarting transaction') [SQL: u'INSERT INTO instance_extra (created_at, 
updated_at, deleted_at, deleted, instance_uuid, numa_topology, pci_requests, 
flavor, vcpu_model, migration_context) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, 
%s, %s)'] [parameters: (datetime.datetime(2015, 10, 16, 13, 23, 36, 360147), 
None, None, 0, 'b4091b06-48bf-4cc1-9348-54574f1c8537', None, '[]', '{"new": 
null, "old": null, "cur": {"nova_object.version": "1.1", "nova_object.name": 
"Flavor", "nova_object.data": {"disabled": false, "root_gb": 0, "name": 
"m1.nano", "flavorid": "42", "deleted": false, "created_at": 
"2015-10-16T13:21:28Z", "ephemeral_gb": 0, "updated_at": null, "memory_mb": 64, 
"vcpus": 1, "extra_specs": {}, "swap": 0, "rxtx_factor": 1.0, "is_public": 
true, "deleted_at": null, "vcpu_weight": 0, "id": 6}, "nova_object.namespace": 
"nova"}}', No
 ne, None)]

I have no details on how to reproduce - it's a random failure on a test
that otherwise normally passes.

** Affects: nova
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1506910

Title:
  Nova DB deadlock

Status in OpenStack Compute (nova):
  New

Bug description:
  I hit the following deadlock in a dsvm job:

  http://paste.openstack.org/show/476503/

  The full log is here:
  
http://logs.openstack.org/00/234200/5/experimental/gate-tempest-dsvm-neutron-full-test-accounts/4dccd24/logs/screen-n-api.txt.gz#_2015-10-16_13_23_36_379

  The exception is:
  2015-10-16 13:23:36.379 27391 ERROR nova.api.openstack.extensions DBDeadlock: 
(pymysql.err.InternalError) (1213, u'Deadlock found when trying to get lock; 
try restarting transaction') [SQL: u'INSERT INTO instance_extra (created_at, 
updated_at, deleted_at, deleted, instance_uuid, numa_topology, pci_requests, 
flavor, vcpu_model, migration_context) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, 
%s, %s)'] [parameters: (datetime.datetime(2015, 10, 16, 13, 23, 36, 360147), 
None, None, 0, 'b4091b06-48bf-4cc1-9348-54574f1c8537', None, '[]', '{"new": 
null, "old": null, "cur": {"nova_object.version": "1.1", "nova_object.name": 
"Flavor", "nova_object.data": {"disabled": false, "root_gb": 0, "name": 
"m1.nano", "flavorid": "42", "deleted": false, "created_at": 
"2015-10-16T13:21:28Z", "ephemeral_gb": 0, "updated_at": null, "memory_mb": 64, 
"vcpus": 1, "extra_specs": {}, "swap": 0, "rxtx_factor": 1.0, "is_public": 
true, "deleted_at": null, "vcpu_weight": 0, "id": 6}, "nova_object.namespace": 
"nova"}}', 
 None, None)]

  I have no details on how to reproduce - it's a random failure on a
  test that otherwise normally passes.

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to