[ceph-users] Re: Ceph 18: Unable to delete image after imcomplete migration "image being migrated"

2023-10-09 Thread Rhys Goodwin
Apologies, it's Ceph 17.2.6 not 18! I did try to deploy 18 on Ubuntu 22.04 but a bit beyond me until the packages are available. I'll wait to hear any suggestions, otherwise I'll procced with trying to migrate then delete the pool and report back. Ngā mihi Rhys --- Original Message --- O

[ceph-users] Re: Ceph 18: Unable to delete image after imcomplete migration "image being migrated"

2023-10-10 Thread Eugen Block
Hi, there are a couple of things I would check before migrating all images. What's the current 'rbd status infra-pool/sophosbuild'? You probably don't have an infinite number of pools so I would also check if any of the other pools contains an image with the same name, just in case you want

[ceph-users] Re: Ceph 18: Unable to delete image after imcomplete migration "image being migrated"

2023-10-10 Thread Rhys Goodwin
Thanks Eugen. root@hcn03:~# rbd status infra-pool/sophosbuild 2023-10-10T09:44:21.234+ 7f1675c524c0 -1 librbd::Migration: open_images: failed to open destination image images/65d188c5f5a34: (2) No such file or directory rbd: getting migration status failed: (2) No such file or directory Watc

[ceph-users] Re: Ceph 18: Unable to delete image after imcomplete migration "image being migrated"

2023-10-10 Thread Eugen Block
Hi, I just re-read the docs on rbd migration [1], haven't done that in a while, and it states the following: Note that the source image will be moved to the RBD trash to avoid mistaken usage during the migration process So it was expected that your source image was in the trash during the

[ceph-users] Re: Ceph 18: Unable to delete image after imcomplete migration "image being migrated"

2023-10-10 Thread Rhys Goodwin
Thanks again Eugen. Looking at my command history it does look like I did execute the migration but didn't commit it. I wasn't surprised to see it in the trash based on the doc you mentioned, I only tried the restore as a desperate measure to clean up my mess. It doesn't help that I messed aroun

[ceph-users] Re: Ceph 18: Unable to delete image after imcomplete migration "image being migrated"

2023-10-10 Thread rhys . goodwin
Thanks Eugen. root@hcn03:~# rbd status infra-pool/sophosbuild 2023-10-10T09:44:21.234+ 7f1675c524c0 -1 librbd::Migration: open_images: failed to open destination image images/65d188c5f5a34: (2) No such file or directory rbd: getting migration status failed: (2) No such file or directory Watc

[ceph-users] Re: Ceph 18: Unable to delete image after imcomplete migration "image being migrated"

2023-10-10 Thread Eugen Block
Hi, then I misinterpreted your message and thought you were actually surprised about the trash image. Yeah I don't think messing with hexedit really helped here, but I'm not sure either. Anyway, let us know how it went. Zitat von Rhys Goodwin : Thanks again Eugen. Looking at my command h

[ceph-users] Re: Ceph 18: Unable to delete image after imcomplete migration "image being migrated"

2023-10-11 Thread Rhys Goodwin
Thanks Eugen. Operation complete: root@hcn03:/imagework# ceph osd pool delete infra-pool infra-pool --yes-i-really-really-mean-it pool 'infra-pool' removed Everything clean and tidy again. Thanks for your help and support. --- Original Message --- On Wednesday, October 11th, 2023 at