Cannot rescue instance if image boot was deleted

Bug #2079027 reported by Khoi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
New
Undecided
Unassigned

Bug Description

Openstack Version: 2023.1
OS: Ubuntu 22.04
Deployment Tool: Kolla-Ansible

When I try to rescue an instance that booted from a volume, I cannot do so if the image used for the volume boot has been deleted

This is an error message:

Instance 6deeed71-c701-42a3-a8f9-d89048a47c11 cannot be rescued: Driver Error: Block Device Mapping is Invalid: failed to get image 844ea429-23a5-43d4-8f65-19c879d63921.

Khoi (khoinh5)
summary: - Cannot rescue instance if image was deleted
+ Cannot rescue instance if image boot was deleted
Revision history for this message
adimm (adim3) wrote :

It looks like you're encountering an issue with rescuing an instance in OpenStack when the image used for the volume boot has been deleted. This error typically indicates that the system cannot locate the image that was originally used for the volume, which is causing the rescue operation to fail.

Here are a few suggestions to address this issue:

Verify Image Existence: Double-check if the image ID 844ea429-23a5-43d4-8f65-19c879d63921 is indeed deleted. If it’s accidentally removed, restoring or re-uploading the image might resolve the problem.

Update Image References: If you have a backup or can recreate the image, update the volume to reference the correct image, if possible.

Check OpenStack Logs: Review the OpenStack logs for more detailed error messages or clues on why the image cannot be accessed.

Review Documentation: Look into the OpenStack and Kolla-Ansible documentation for any specific configuration or updates related to image management and rescue processes.

Seek Community Support: Since this is a reported bug, check if there are any updates or patches available. You might also find helpful information in OpenStack community forums or mailing lists.

If the issue persists or you need further assistance, you might consider reaching out to OpenStack support or providing additional details in the bug report to help diagnose and resolve the problem.

Revision history for this message
Khoi (khoinh5) wrote :

Hello. Can I ask this comment if from chatGPT. Sorry If I am wrong.

Revision history for this message
Cyril Roelandt (cyril-roelandt) wrote :

This does indeed look like a ChatGPT comment. @adimm please don't do that again.

@Khoi: Apparently the suggestion on the mailing-list (https://<email address hidden>/thread/XPFYKCTX33WCNUFPVAA5ZNPMAXM5U2O4/) worked for you, so maybe we can close this bug? And also https://bugs.launchpad.net/glance/+bug/2079026 ?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.