Ask Your Question
0

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

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

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
0

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

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

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

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: 2015-11-18 01:15:07 -0500

Seen: 414 times

Last updated: Feb 22 '16