[Openstack-operators] Cannot delete a cinder volume; alternative manual procedure ?

Benedikt Trefzer benedikt.trefzer at cirrax.com
Tue Jun 9 13:51:01 UTC 2015


Hi,

I also had once an issues like this. The deletion of the volume was
successfull but the DB was not updated after volume was deleted.
I solved it by manually creating the volume again (ceph in our case) the
size doesn't matter. After I could delete with cinder commands.

Hope this helps

Benedikt


On 09.06.2015 15:37, Alvise Dorigo wrote:
> Hi,
> I've a cinder volume which is permanently in "deleting" state. I cannot
> retrace the full history of actions that brought to this scenario. What
> I cat reporto is that
> 
> 1. Cinder is backed by GlusterFS mounted with the glusterfuse,
> 2. a "cinder delete" (or "cinder force-delete" as admin) doesn't produce
> any effect,
> 3. In the api.log, scheduler.log and volume.log I do not see any useful
> information but this:
> 
> api.log-20150607:2015-06-05 14:45:20.956 17383 INFO eventlet.wsgi.server
> [req-bed01706-77ff-48bb-b12c-a0ccdcfd2e25
> d7b3d4f7d20444adb7fda140553c25bf 3beba6dd3f2648378263bc04d9c205fa - - -]
> 192.135.16.31,192.168.60.21 - - [05/Jun/2015 14:45:20] "DELETE
> /v1/3beba6dd3f2648378263bc04d9c205fa/volumes/b056b016-8337-4e64-9069-6c84ab242152
> HTTP/1.1" 400 338 0.053790
> 
> 
> (the verbosity and debug are ON of course).
> 
> This is not a single event... unfortunately more that one volume cannot
> be deleted and we're, so far, unable to understand why.
> 
> My question is if a manual procedure (operating on the relevant cinder's
> tables) which gracefully cleans things up (which is not a trivial
> "delete from volume where id='...'") exists.
> 
> Thanks,
> 
>     Alvise
> 
> _______________________________________________
> OpenStack-operators mailing list
> OpenStack-operators at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
> 



More information about the OpenStack-operators mailing list