Bug #1699

Power Off / Power On on a virtual host isn't working

Added by Florian Koch 11 months ago. Updated 3 months ago.

Status:Feedback Start:06/21/2012
Priority:Normal Due date:
Assigned to:Amos Benari % Done:

0%

Category:VM management
Target version:-
Backlog:No Difficulity:
Votes: 0

Description

the power off / on button don't change from "Power off" to "Power on" or the other direction, and the status message says only "# is running",
the vm is also not turned off/on

History

Updated by Amos Benari 11 months ago

Please specify the compute type you are using (oVirt, Libvirt) ?

Updated by Florian Koch 11 months ago

i use libvirt

Updated by Romain Vrignaud 11 months ago

The power off button with libvirt is sending an ACPI call to power off.
This is not a force shutdown. Maybe when you tried to shutdown your host,
your environement didn't support the ACPI call ?

Updated by Florian Koch 11 months ago

The power off button with libvirt is sending an ACPI call to power off.
This is not a force shutdown. Maybe when you tried to shutdown your host,
your environement didn't support the ACPI call ?

How can i check this?

Updated by Corey Osman 11 months ago

what version of libvirt are you running?
What kind of guest are you shutting down (OS and version)?
What hypervisor are you using (type and version)?

Updated by Florian Koch 11 months ago

what version of libvirt are you running?

libvirt-0.9.4-23.el6_2.8.x86_64

What kind of guest are you shutting down (OS and version)?

ScientificLinux 6.2

What hypervisor are you using (type and version)?


modinfo kvm
filename:       /lib/modules/2.6.32-220.17.1.el6.x86_64/kernel/arch/x86/kvm/kvm.ko
license:        GPL
author:         Qumranet
srcversion:     751DADC01A73A8B06495F05
depends:        
vermagic:       2.6.32-220.17.1.el6.x86_64 SMP mod_unload modversions 
parm:           oos_shadow:bool
parm:           ignore_msrs:bool
parm:           allow_unsafe_assigned_interrupts:Enable device assignment on platforms without interrupt remapping support. (bool)

Updated by Ohad Levy 11 months ago

does this mean we should default to force shutdown? offer two options etc?

Updated by Ohad Levy 11 months ago

  • Status changed from New to Feedback
  • Target version deleted (1.0)

Updated by Romain Vrignaud 11 months ago

I think that we should offer two button (like virt-manager offers 'Shut Down' and 'Force Off').
Force off as default behavior is really not a good idea IMHO.

Updated by Mikael Fridh 3 months ago

Ohad Levy wrote:

does this mean we should default to force shutdown? offer two options etc?

I think it makes sense to offer two options.

Was a bit surprised that "Power Off" wasn't working and was trying to figure out why an libvirt VM didn't power off (it was not done provisioning so did not have acpi in OS).

Maybe could be nice to offer few options from the host view page - S5 (I think?) power off, Pause (suspend), Resume, Ctrl-alt-delete? Perhaps make the same click icon there is now also serve as a hover drop-down. Jeje, I shouldn't say too much - I'm no UI guy.

Also available in: Atom PDF