Ask Your Question
0

Error deleting Cinder Volume - Internal Server Error [closed]

asked 2014-12-01 03:11:44 -0500

updated 2014-12-01 06:38:13 -0500

SamYaple gravatar image

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
edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by SamYaple
close date 2014-12-01 06:38:28.374164

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-12-01 03:18:05 -0500

updated 2014-12-01 05:28:44 -0500

Resovled the issue. Restarted openstack-cinder-volume, openstack-cinder-api services.

I have compiled steps here: https://www.evernote.com/shard/s45/sh...

Thanks

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-12-01 03:11:44 -0500

Seen: 449 times

Last updated: Dec 01 '14