Ask Your Question
0

Horizon: display status of the VM

asked 2014-09-25 02:36:28 -0500

trung-t-trinh gravatar image

Hi all,

I'd like to ask one question as follow.

If the VM instance is launched but actually the VM can not be booted up completed or the VM is stuck at the booting phase, then Horizon still displays the status of "Running" on dashboard. So, is this kind of behavior right?

For me, this kind of behavior should be wrong. This is because the actual status of the VM is "being-hung" or "stuck". Is it possible for OpenStack Horizon to check the real status of the launched VM via Nova Compute or LibVirt?

Thanks and regards Trung

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-09-25 08:30:32 -0500

larsks gravatar image

The issue is that from the perspective of the hypervisor, the virtual instance is running -- the virtual hardware is "powered on" and has started executing instructions. There is no good way for Nova (or Horizon) to detect that something has gone wrong after the system has started booting.

If you need to detect this sort of situation, you probably want to implement some sort of monitoring solution that can actually monitor the services you expect to be running (so that it can alert you, for example, that your web server is not responding).

edit flag offensive delete link more

Comments

1

Can also try using the Libvirt watchdog to detect and react to certain types of crashes.

sgordon gravatar imagesgordon ( 2014-09-25 09:15:05 -0500 )edit

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: 2014-09-25 02:36:28 -0500

Seen: 97 times

Last updated: Sep 25 '14