How to reboot an instance which is stuck with the "rebooting" message?

asked 2020-07-31 17:04:56 -0500

Sinval gravatar image

I am trying to soft reboot an instance but it is stuck "rebooting". Then I try to shut off the instance, and I get this message "Error: Unable to shut off instance"

edit retag flag offensive close merge delete

Comments

There’s also a head reboot, does that help? You could also run virsh destroy directly on the hypervisor if it’s kvm or the corresponding command for other hypervisors. Virt-Manager is another option.

eblock gravatar imageeblock ( 2020-07-31 23:06:16 -0500 )edit

Do you mean hard reboot? If yes, it is not available anymore:

https://i.imgur.com/jw59LV6.png (link text)

Sinval gravatar imageSinval ( 2020-08-01 05:20:25 -0500 )edit

Ok, so you’re not admin in that project. Do you have access to the hypervisor to try any of the other options I mentioned?

eblock gravatar imageeblock ( 2020-08-01 10:16:17 -0500 )edit

try: openstack server reboot <server_name> --hard

Rafael gravatar imageRafael ( 2020-08-03 13:13:13 -0500 )edit