Project

General

Profile

Actions

Bug #1699

closed

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

Added by Florian Koch almost 12 years ago. Updated over 9 years ago.

Status:
Feedback
Priority:
Normal
Assignee:
-
Category:
VM management
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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

Actions #1

Updated by Amos Benari almost 12 years ago

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

Actions #2

Updated by Florian Koch almost 12 years ago

i use libvirt

Actions #3

Updated by Romain Vrignaud almost 12 years 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 ?

Actions #4

Updated by Florian Koch almost 12 years 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?

Actions #5

Updated by Corey Osman almost 12 years 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)?

Actions #6

Updated by Florian Koch almost 12 years 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)

Actions #7

Updated by Ohad Levy almost 12 years ago

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

Actions #8

Updated by Ohad Levy almost 12 years ago

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

Updated by Romain Vrignaud almost 12 years 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.

Actions #10

Updated by Mikael Fridh about 11 years 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.

Actions #11

Updated by Ohad Levy over 9 years ago

  • Assignee deleted (Amos Benari)
Actions

Also available in: Atom PDF