diogogmt / webvirt

NodeJS application to manage hyper-visors though libvirt
1 stars 2 forks source link

Virsh shutdown bug #31

Open diogogmt opened 11 years ago

diogogmt commented 11 years ago

Looks like the vm instances need to have the acpid package installed: http://askubuntu.com/questions/2825/how-do-i-use-virsh-shutdown-on-kvm-domains-to-shut-down-ubuntu-guests

sedge commented 11 years ago

Hmm. This is an issue of the platform itself. Perhaps we can display an error message suggesting this possibility?

diogogmt commented 11 years ago

Yes, we can display a msg just to let the user know that if the vm doesn't have the acpid package installed the shutdown command is not going to work.

sedge commented 11 years ago

Do you know if VIRSH supplies a specific error in this case? If so we can just display it straight.