DBAPIError
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Expired
|
Undecided
|
Unassigned |
Bug Description
Hiho,
we recently discovered that our neutron server are throwing exception upon various DB operations.
2018-10-02 13:32:45.384 6479 ERROR oslo_db.
2018-10-02 13:32:45.384 6479 ERROR oslo_db.
2018-10-02 13:32:45.384 6479 ERROR oslo_db.
2018-10-02 13:32:45.384 6479 ERROR oslo_db.
2018-10-02 13:32:45.384 6479 ERROR oslo_db.
2018-10-02 13:32:45.384 6479 ERROR oslo_db.
2018-10-02 13:32:45.384 6479 ERROR oslo_db.
2018-10-02 13:32:45.384 6479 ERROR oslo_db.
2018-10-02 13:32:45.384 6479 ERROR oslo_db.
2018-10-02 13:32:45.384 6479 ERROR oslo_db.
2018-10-02 13:32:45.384 6479 ERROR oslo_db.
2018-10-02 13:32:45.384 6479 ERROR oslo_db.
2018-10-02 13:32:45.384 6479 ERROR oslo_db.
2018-10-02 13:32:45.384 6479 ERROR oslo_db.
2018-10-02 13:32:45.384 6479 ERROR oslo_db.
2018-10-02 13:32:45.384 6479 ERROR oslo_db.
2018-10-02 13:32:45.384 6479 ERROR oslo_db.
2018-10-02 13:32:45.384 6479 ERROR oslo_db.
2018-10-02 13:32:45.384 6479 ERROR oslo_db.
2018-10-02 13:32:45.384 6479 ERROR oslo_db.
2018-10-02 13:32:45.384 6479 ERROR oslo_db.
2018-10-02 13:32:45.384 6479 ERROR oslo_db.
2018-10-02 13:32:45.384 6479 ERROR oslo_db.
2018-10-02 13:32:45.384 6479 ERROR oslo_db.
-------
LATEST DETECTED DEADLOCK
-------
2018-10-02 13:32:45 7f2c88915700
*** (1) TRANSACTION:
TRANSACTION 221633832, ACTIVE 0 sec starting index read
mysql tables in use 1, locked 1
LOCK WAIT 3 lock struct(s), heap size 1184, 3 row lock(s), undo log entries 2
MySQL thread id 35685062, OS thread handle 0x7f2c993bc700, query id 528303451 $hostname $ip neutron updating
UPDATE standardattributes SET revision_number=6, updated_
*** (1) WAITING FOR THIS LOCK TO BE GRANTED:
RECORD LOCKS space id 401 page no 17 n bits 368 index `PRIMARY` of table `neutron`
*** (2) TRANSACTION:
TRANSACTION 221633901, ACTIVE 0 sec starting index read
mysql tables in use 1, locked 1
3 lock struct(s), heap size 1184, 2 row lock(s), undo log entries 1
MySQL thread id 35700724, OS thread handle 0x7f2c88915700, query id 528303621 $hostname $ip neutron updating
UPDATE standardattributes SET revision_number=7, updated_
*** (2) HOLDS THE LOCK(S):
RECORD LOCKS space id 401 page no 17 n bits 368 index `PRIMARY` of table `neutron`
*** (2) WAITING FOR THIS LOCK TO BE GRANTED:
RECORD LOCKS space id 401 page no 17 n bits 368 index `PRIMARY` of table `neutron`
*** WE ROLL BACK TRANSACTION (2)
Any help is greatly appreciated.
Hi,
Can you give information on what version of neutron you are running? If you can reproduce this on the master branch or even Rocky that would be good info to have. Thanks.