Hey Jason
Nope it is not (Anymore)

Even if it is in the trash it can’t be deleted (same error like mentioned 
earlier)
I tried to move this to trash as a solution, but this aint working also.


Best regards
Torsten


> Am 31.07.2020 um 13:58 schrieb Jason Dillaman <jdill...@redhat.com>:
> 
> On Fri, Jul 31, 2020 at 3:37 AM Torsten Ennenbach
> <tennenb...@gridscale.io <mailto:tennenb...@gridscale.io>> wrote:
>> 
>> Hello all,
>> 
>> I`ve a problem with an undeletable Image.
>> Let my try to explain.
>> 
>> There is a storage with a Snapshot, and the snapshot thinks he has a 
>> Children:
>> 
>> rbd snap unprotect delete-me-please@995cc2e3-c636-4c43-87c3-dbc729173c09
>> 2020-07-30 09:25:08.492 7f15f77fe700 -1 librbd::SnapshotUnprotectRequest: 
>> cannot unprotect: at least 1 child(ren) [f907bc6b8b4567] in pool 'rbd'
>> 2020-07-30 09:25:08.492 7f15f77fe700 -1 librbd::SnapshotUnprotectRequest: 
>> encountered error: (16) Device or resource busy
>> 2020-07-30 09:25:08.492 7f15f77fe700 -1 librbd::SnapshotUnprotectRequest: 
>> 0x559ca6dd7b80 should_complete_error: ret_val=-16
>> 2020-07-30 09:25:08.496 7f15f77fe700 -1 librbd::SnapshotUnprotectRequest: 
>> 0x559ca6dd7b80 should_complete_error: ret_val=-16rbd: unprotecting snap 
>> failed:
>> (16) Device or resource busy
>> 
>> rbd children delete-me-please@995cc2e3-c636-4c43-87c3-dbc729173c09
>> 2020-07-30 09:19:36.650 7f39563deb00 -1 librbd::api::Image: 
>> list_descendants: error looking up name for image id f907bc6b8b4567 in pool 
>> rbd
>> rbd: listing children failed: (2) No such file or directory
>> 
>> So i am not able to unprotect and delete the Snapshot.
>> Is there a way to fix this issue?
> 
> Is the image in the trash? "rbd trash ls --all --long"
> 
>> I know this happens if deep-flatten is not enabled, and this is the root 
>> cause I think. We`ve activated this feature now but this s artifact from a 
>> time where it was disabled.
>> 
>> Best regards & thx for your help.
>> 
>> Torsten
>> _______________________________________________
>> ceph-users mailing list -- ceph-users@ceph.io <mailto:ceph-users@ceph.io>
>> To unsubscribe send an email to ceph-users-le...@ceph.io 
>> <mailto:ceph-users-le...@ceph.io>
>> 
> 
> 
> -- 
> Jason

_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io

Reply via email to