Ask Your Question

Revision history [back]

Error deleting Cinder Volume - Internal Server Error

Hi, I am not able to delete one of my Cinder Volume. I am getting error saying "Internal Server Error" I also tried to reset it's state however got same error.

Here are the api.log.

2014-12-01 14:33:41.959 4893 ERROR cinder.api.middleware.fault [req-16cd479b-7810-4990-b33b-c6cea6b1b305 08d90843a8c34d9da9476b4aa380c630 8d89cb4353494fcfbc472b14be3a6310 - - -] Caught error: (OperationalError) (1205, 'Lock wait timeout exceeded; try restarting transaction') 'UPDATE volumes SET updated_at=%s, status=%s, terminated_at=%s WHERE volumes.id = %s' (datetime.datetime(2014, 12, 1, 9, 2, 50, 847151), 'deleting', datetime.datetime(2014, 12, 1, 9, 2, 50, 811570), '9724dfe1-48e0-45f3-a487-37ad0de26e24')

2014-12-01 14:33:41.959 4893 TRACE cinder.api.middleware.fault OperationalError: (OperationalError) (1205, 'Lock wait timeout exceeded; try restarting transaction') 'UPDATE volumes SET updated_at=%s, status=%s, terminated_at=%s WHERE volumes.id = %s' (datetime.datetime(2014, 12, 1, 9, 2, 50, 847151), 'deleting', datetime.datetime(2014, 12, 1, 9, 2, 50, 811570), '9724dfe1-48e0-45f3-a487-37ad0de26e24')

2014-12-01 14:33:41.970 4893 INFO cinder.api.middleware.fault [req-16cd479b-7810-4990-b33b-c6cea6b1b305 08d90843a8c34d9da9476b4aa380c630 8d89cb4353494fcfbc472b14be3a6310 - - -] http://192.168.2.11:8776/v1/8d89cb4353494fcfbc472b14be3a6310/volumes/9724dfe1-48e0-45f3-a487-37ad0de26e24/action returned with HTTP 500

2014-12-01 14:33:41.972 4893 INFO eventlet.wsgi.server [req-16cd479b-7810-4990-b33b-c6cea6b1b305 08d90843a8c34d9da9476b4aa380c630 8d89cb4353494fcfbc472b14be3a6310 - - -] 192.168.2.11 - - [01/Dec/2014 14:33:41] "POST /v1/8d89cb4353494fcfbc472b14be3a6310/volumes/9724dfe1-48e0-45f3-a487-37ad0de26e24/action HTTP/1.1" 500 401 51.304944

click to hide/show revision 2
No.2 Revision

Error deleting Cinder Volume - Internal Server Error

Hi, I am not able to delete one of my Cinder Volume. I am getting error saying "Internal Server Error" I also tried to reset it's state however got same error.

Here are the api.log.

2014-12-01 14:33:41.959 4893 ERROR cinder.api.middleware.fault [req-16cd479b-7810-4990-b33b-c6cea6b1b305 08d90843a8c34d9da9476b4aa380c630 8d89cb4353494fcfbc472b14be3a6310 - - -] Caught error: (OperationalError) (1205, 'Lock wait timeout exceeded; try restarting transaction') 'UPDATE volumes SET updated_at=%s, status=%s, terminated_at=%s WHERE volumes.id = %s' (datetime.datetime(2014, 12, 1, 9, 2, 50, 847151), 'deleting', datetime.datetime(2014, 12, 1, 9, 2, 50, 811570), '9724dfe1-48e0-45f3-a487-37ad0de26e24')

'9724dfe1-48e0-45f3-a487-37ad0de26e24')

2014-12-01 14:33:41.959 4893 TRACE cinder.api.middleware.fault OperationalError: (OperationalError) (1205, 'Lock wait timeout exceeded; try restarting transaction') 'UPDATE volumes SET updated_at=%s, status=%s, terminated_at=%s WHERE volumes.id = %s' (datetime.datetime(2014, 12, 1, 9, 2, 50, 847151), 'deleting', datetime.datetime(2014, 12, 1, 9, 2, 50, 811570), '9724dfe1-48e0-45f3-a487-37ad0de26e24')

'9724dfe1-48e0-45f3-a487-37ad0de26e24')

2014-12-01 14:33:41.970 4893 INFO cinder.api.middleware.fault [req-16cd479b-7810-4990-b33b-c6cea6b1b305 08d90843a8c34d9da9476b4aa380c630 8d89cb4353494fcfbc472b14be3a6310 - - -] http://192.168.2.11:8776/v1/8d89cb4353494fcfbc472b14be3a6310/volumes/9724dfe1-48e0-45f3-a487-37ad0de26e24/action returned with HTTP 500

500

2014-12-01 14:33:41.972 4893 INFO eventlet.wsgi.server [req-16cd479b-7810-4990-b33b-c6cea6b1b305 08d90843a8c34d9da9476b4aa380c630 8d89cb4353494fcfbc472b14be3a6310 - - -] 192.168.2.11 - - [01/Dec/2014 14:33:41] "POST /v1/8d89cb4353494fcfbc472b14be3a6310/volumes/9724dfe1-48e0-45f3-a487-37ad0de26e24/action HTTP/1.1" 500 401 51.304944

51.304944