finish_resize fails with DBDeadlock on migrations table
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Matt Riedemann | ||
Queens |
Fix Released
|
Medium
|
Matt Riedemann | ||
Rocky |
Fix Released
|
Medium
|
Matt Riedemann | ||
Stein |
Fix Committed
|
Medium
|
Matt Riedemann |
Bug Description
2016-11-17 05:06:33.890498 | Captured traceback:
2016-11-17 05:06:33.890507 | ~~~~~~~~~~~~~~~~~~~
2016-11-17 05:06:33.890534 | Traceback (most recent call last):
2016-11-17 05:06:33.890566 | File "tempest/
2016-11-17 05:06:33.890586 | self._test_
2016-11-17 05:06:33.890613 | File "tempest/
2016-11-17 05:06:33.890624 | 'VERIFY_RESIZE')
2016-11-17 05:06:33.890644 | File "tempest/
2016-11-17 05:06:33.890655 | server_
2016-11-17 05:06:33.890686 | tempest.
2016-11-17 05:06:33.890761 | Details: {u'code': 500, u'message': u"Remote error: DBDeadlock (pymysql.
2016-11-17 05:06:33.890767 |
Changed in nova: | |
assignee: | nobody → Matt Riedemann (mriedem) |
status: | Confirmed → In Progress |
2016-11-17 04:43:55.673 3598 ERROR nova.compute. manager [req-027e93fd- 83f6-4c9a- 8e42-bc3544a524 02 tempest- ServerActionsTe stJSON- 1155389376 tempest- ServerActionsTe stJSON- 1155389376] [instance: 00876f9f- 2f30-4507- 93c0-f0f5a16995 65] Setting instance vm_state to ERROR manager [instance: 00876f9f- 2f30-4507- 93c0-f0f5a16995 65] Traceback (most recent call last): manager [instance: 00876f9f- 2f30-4507- 93c0-f0f5a16995 65] File "/opt/stack/ new/nova/ nova/compute/ manager. py", line 3963, in finish_resize manager [instance: 00876f9f- 2f30-4507- 93c0-f0f5a16995 65] disk_info, image_meta) manager [instance: 00876f9f- 2f30-4507- 93c0-f0f5a16995 65] File "/opt/stack/ new/nova/ nova/compute/ manager. py", line 3932, in _finish_resize manager [instance: 00876f9f- 2f30-4507- 93c0-f0f5a16995 65] migration.save() manager [instance: 00876f9f- 2f30-4507- 93c0-f0f5a16995 65] File "/usr/local/ lib/python2. 7/dist- packages/ oslo_versionedo bjects/ base.py" , line 210, in wrapper manager [instance: 00876f9f- 2f30-4507- 93c0-f0f5a16995 65] ctxt, self, fn.__name__, args, kwargs) manager [instance: 00876f9f- 2f30-4507- 93c0-f0f5a16995 65] File "/opt/stack/ new/nova/ nova/conductor/ rpcapi. py", line 241, in object_action manager [instance: 00876f9f- 2f30-4507- 93c0-f0f5a16995 65] objmethod= objmethod, args=args, kwargs=kwargs) manager [instance: 00876f9f- 2f30-4507- 93c0-f0f5a16995 65] File "/usr/local/ lib/python2. 7/dist- packages/ oslo_messaging/ rpc/client. py", line 169, in call manager [instance: 00876f9f- 2f30-4507- 93c0-f0f5a16995 65] retry=self.retry) manager [instance: 00876f9f- 2f30-4507- 93c0-f0f5a16995 65] File "/usr/local/ lib/python2. 7/dist- packages/ oslo_messaging/ transport. py", line 97, in _send manager [instance: 00876f9f- 2f30-4507- 93c0-f0f5a16995 65] timeout=timeout, retry=retry) manager [instance: 00876f9f- 2f30-4507- 93c0-f0f5a16995 65] File "/usr/local/ lib/python2. 7/dist- packages/ oslo_messaging/ _drivers/ amqpdriver. py", line 467, in send manager [instance: 00876f9f- 2f30-4507- 93c0-f0f5a16995 65] retry=retry) manager [instance: 00876f9f- 2f30-4507- 93c0-f0f5a16995 65] File "/usr/local/ lib/python2. 7/dist- packages/ oslo_messaging/ _drivers/ amqpdriver. py", line 458, in _send manager [instance: 00876f9f- 2f30-4507- 93c0-f0f5a16995 65] raise result manager [instance: 00876f9f- 2f30-4507- 93c0-f0f5a16995 65] RemoteError: Remote error: DB...
2016-11-17 04:43:55.673 3598 ERROR nova.compute.
2016-11-17 04:43:55.673 3598 ERROR nova.compute.
2016-11-17 04:43:55.673 3598 ERROR nova.compute.
2016-11-17 04:43:55.673 3598 ERROR nova.compute.
2016-11-17 04:43:55.673 3598 ERROR nova.compute.
2016-11-17 04:43:55.673 3598 ERROR nova.compute.
2016-11-17 04:43:55.673 3598 ERROR nova.compute.
2016-11-17 04:43:55.673 3598 ERROR nova.compute.
2016-11-17 04:43:55.673 3598 ERROR nova.compute.
2016-11-17 04:43:55.673 3598 ERROR nova.compute.
2016-11-17 04:43:55.673 3598 ERROR nova.compute.
2016-11-17 04:43:55.673 3598 ERROR nova.compute.
2016-11-17 04:43:55.673 3598 ERROR nova.compute.
2016-11-17 04:43:55.673 3598 ERROR nova.compute.
2016-11-17 04:43:55.673 3598 ERROR nova.compute.
2016-11-17 04:43:55.673 3598 ERROR nova.compute.
2016-11-17 04:43:55.673 3598 ERROR nova.compute.
2016-11-17 04:43:55.673 3598 ERROR nova.compute.