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

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 close merge delete

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

you may try this nova reset-state --active $instanceid ( 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? ( 2017-05-23 23:08:18 -0500 )edit @sanjana, you might have figured it out now. anyway you can use nova rebuild$instanceid $imageid  ( 2017-07-20 09:39:44 -0500 )edit 1 answer Sort by » oldest newest most voted To reset the instance status, nova reset-state --active$instanceid


To rebuild the instance back to original state

nova rebuild $instanceid$imageid

more