Ask Your Question
0

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

asked 2017-05-23 06:05:23 -0600

sanjana gravatar image

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

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

Comments

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 -0600 )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 -0600 )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 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

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

Beny gravatar image

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

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2017-05-23 06:05:23 -0600

Seen: 3,058 times

Last updated: Jul 20 '17