Thank you both,

I tried setting "--property hw_rescue_device=cdrom --property hw_rescue_bus=scsi" but it returns the same error

Uploading it as raw and using it as a disk worked, although I agree it's weird

Thanks again!

-- 
Francesco Di Nucci
System Administrator 
Compute & Networking Service, INFN Naples

Email: francesco.dinucci@na.infn.it

On 03/12/24 14:17, Tobias Urdin - Binero IT wrote:
Hello,

Try uploading your ISO with "--property hw_rescue_device=cdrom --property hw_rescue_bus=scsi”

/Tobias

On 3 Dec 2024, at 10:09, Francesco Di Nucci <francesco.dinucci@na.infn.it> wrote:

Hello,

I am using Openstack 2024.1 and I have issues with an instance with a corrupted FS - I wanted to start it in rescue mode, but I'm getting stuck


After reading nova#1926601 , downloaded System Rescue CD and created an image with properties [otherwise it always failed with "Cannot rescue a volume-backed instance (HTTP 400)"] :

openstack image create --file systemrescue-11.02-amd64.iso --disk-format iso --container-format bare --property hw_rescue_bus=virtio --property hw_rescue_device=disk systemrescuecd

Then tried to rescue the instance:

openstack --os-compute-api-version 2.96 server rescue --image systemrescuecd (my-instance-id)

Now it fails with "Instance (my-instance-id) cannot be rescued: Driver Error: Image (my-image-id) is unacceptable: Image not in a supported format"

How should I proceed?

Thanks in advance

--
Francesco Di Nucci
System Administrator
Compute & Networking Service, INFN Naples

Email: francesco.dinucci@na.infn.it