Unable to delete volumes
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?
You need to check the cinder volume service logs (default /var/log/cinder/volume.log) for tracking down the cause.