Ask Your Question

Image pending upload in Horizon openstack leaves instance in error state.

asked 2017-05-23 06:05:23 -0500

sanjana gravatar image

updated 2017-05-23 23:18:00 -0500

I wanted to take a snapshot of a vm in openstack. The task shows "Image pending upload" and doesnt allow me perform any action on it. Shut down, soft-reboot nothing seems to work. Is there any way i can restore the state of the VM to how it was before? I assume some files were corrupted in the VM during the tomcat installation that i was trying. Is there anyway to restore the machine back to its initial state? I want to be able to login to the VM.

edit retag flag offensive close merge delete


What is the status of the snapshot? is it completed?

you may try this nova reset-state --active $instanceid

Beny gravatar imageBeny ( 2017-05-23 07:31:18 -0500 )edit

@Beny thanks a lot for that. Image state is now active. When i try to do a soft-reboot on the instance, it gives an error. Maybe some installation in the VM, corrupted it. Is there any way to restore the instance?

sanjana gravatar imagesanjana ( 2017-05-23 23:08:18 -0500 )edit

@sanjana, you might have figured it out now. anyway you can use

nova rebuild $instanceid $imageid
Beny gravatar imageBeny ( 2017-07-20 09:39:44 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2017-07-20 09:42:21 -0500

Beny gravatar image

updated 2017-07-20 09:42:39 -0500

To reset the instance status,

nova reset-state --active $instanceid

To rebuild the instance back to original state

nova rebuild $instanceid $imageid
edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2017-05-23 06:05:23 -0500

Seen: 4,879 times

Last updated: Jul 20 '17