Ask Your Question
0

Cannot delete snapshot with ceph backend

asked 2016-04-04 07:23:12 -0500

updated 2016-04-04 07:24:45 -0500

Hi All,

Environment : Openstack_Juno, cinder version 1.1.1

I have created volume ("V1") and created snapshot from V1 as "Snap_1". From Snap_1 i have created a volume "V2", where ceph is my backend.

Now i couldn't able to delete Snap_1, cinder saying "its has dependency" where ceph is backend.

While doing rbd list with volume ID " rbd ls -l | grep <volume_id> .. Protected = true ...

Same environment with LVM as backend, I could able to delete it, May i know its bug with Ceph ?

Thanks in Advance !!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-11-29 04:59:26 -0500

eblock gravatar image

Hi, this is definitely not a bug, this is by design. Ceph creates the snapshots as COW images, that's why the snapshots are created immediately. But they have a dependency on their parents and only the diffs are in that snapshot. So if you want to delete snap_1, you either have to remove V2 and then delete Snap_1 or you flatten V2, then you should also be able to remove Snap_1. Hope this helps.

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: 2016-04-04 07:23:12 -0500

Seen: 643 times

Last updated: Nov 29 '16