Unable to Migrate Instance as Image Used to Create Instance is Deleted
PreviousGlance Image Not Discovered in OpenStackNextUnable To Start pf9-ostackhost Service After python-gssapi Module Installation
Last updated
Unable to migrate the instance as the original image used to create the instance is deleted.
Platform9 Managed OpenStack - All Versions
Nova
Glance
QEMU
The instance cannot be resized or migrated as the image is deleted from the Glance node.
Note: If the backing file is not present on the hypervisor running the instance, the image cannot be recreated.
Execute the following command on the hypervisor running the instance to check if the backing file is present or not.
$ sudo qemu-img info [INSTANCE_STORAGE_PATH]/[INSTANCE_UUID]/diskCopy the backing file to the /tmp directory of the Glance node in your environment.
Check the file format of the backing file.
If the backing file is in raw format, convert it into qcow2 format.
Change ownership of the file 'original_image_name'.
Check the integrity of the image rebuilt by creating a test instance.
Last updated
$ qemu-img info /tmp/backing_file$ qemu-img convert -f raw -O qcow2 [backing_file_name] [original_image_name]$ chown pf9:pf9group filename