Ask Your Question
0

Unable to delete volumes

asked 2013-12-09 11:59:06 -0500

danidan gravatar image

I'm working on a small openstack enviroment in Virtual Box, just one controller node and a compute node. I tried to create an instance in Horizon but when I try to delete the instance I'm unable to remove the volume previously created. Horizon pops up a red ballon saying "Error: Unable to retrieve attachment information." and also "Error: You do not have permission to delete volume: ... " In fact there are 2 volumes, one with In-Use status (but no instance is using it) and the other stucked in Deleting status.

When I run cinder list I get:

+-----------------------+----------+--------------+------+-------------+----------+-------------+
|                  ID   |  Status  | Display Name | Size | Volume Type | Bootable | Attached to |
+-----------------------+----------+--------------+------+-------------+----------+-------------+
| 96c16921-ddcf-426c ...| deleting |    Temp1     |  5   |     None    |   true   |             |   
+-----------------------+----------+--------------+------+-------------+----------+-------------+

(just one entry: no sign of the volume in In-Use status...)

and when I run

cinder force-delete 96c16921-ddcf-426c...

no errors appear, while cinder list returns the same output as above.

Where might the problem be?

edit retag flag offensive close merge delete

Comments

You need to check the cinder volume service logs (default /var/log/cinder/volume.log) for tracking down the cause.

unmesh-gurjar gravatar imageunmesh-gurjar ( 2013-12-10 00:52:55 -0500 )edit

2 answers

Sort by ยป oldest newest most voted
0

answered 2015-10-26 23:33:05 -0500

manoatcloud gravatar image

when i run cinder list i don't see any information but however when i login as a tenant on GUI i still see a volume which i am not able to delete for last few days.

root@kvmhost01:~# lvs LV VG Attr LSize Pool Origin Data% Move Log Copy% Convert volume-14b20f6c-4ab5-4831-888f-19825b3ed643 cinder-volumes -wi-ao--- 20.00g

edit flag offensive delete link more
0

answered 2013-12-11 22:34:07 -0500

ikhan gravatar image

updated 2013-12-11 22:34:24 -0500

1. Check the logs.
2. Make sure cinder-volume is available with the help of pvscan.
3. Make sure cinder volume service is up and running with driver you are working.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-12-09 11:59:06 -0500

Seen: 5,578 times

Last updated: Dec 09 '13