Ask Your Question

Why - Cinder volume are NOT allowed to be deleted before connected snapshots are deleted ?

asked 2015-11-18 01:18:04 -0600

PeterX gravatar image

What is the valid reason that I can't delete a cinder volume if there is a snapshot available for that volume ? # cinder delete 6120bb04-fc02-42fa-b7b6-21c85b81c0eb

Delete for volume 6120bb04-fc02-42fa-b7b6-21c85b81c0eb failed: Invalid volume: Volume still has 1 dependent snapshots (HTTP 400) (Request-ID: req-568c237e-4256-4853-84af-08fe4d4df890) ERROR: Unable to delete any of the specified volumes.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-02-22 10:59:44 -0600

updated 2016-02-22 11:00:36 -0600

In my case i solved like this

. Check your dependent snapshots like this

cinder snapshot-list --all-tenants=1 | grep <volume-id>

. Get yout dependent snapshot id and delete it

cinder snapshot-delete <snapshot id>

. Finaly delete your volume

cinder delete <volume-id>
edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-11-18 01:15:07 -0600

Seen: 569 times

Last updated: Feb 22 '16