Bug 503406

Summary: F11: libvirt: cannot shutdown virtual machines booted to a console prompt
Product: [Fedora] Fedora Reporter: Gerry Reno <greno>
Component: libvirtAssignee: Daniel Veillard <veillard>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: berrange, clalance, crobinso, itamar, veillard, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-06-02 09:02:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Guest (F10) dmesg
none
Guest (F10) /proc/interrupts
none
Guest (F10) acpid process none

Description Gerry Reno 2009-05-31 19:55:52 UTC
Description of problem:
Using virtual machine manager, cannot shutdown any virtual machine that is booted to a console prompt (no X).  Virtual machines that are booted to X shutdown fine.


Version-Release number of selected component (if applicable):
libvirt-0.6.2-8.fc11.x86_64

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:U

Comment 1 Daniel Berrangé 2009-06-01 10:07:28 UTC
What guest OS are you running. Is the acpid daemon running ? Please attach contents of /var/log/dmesg, and /proc/interrupts.

Comment 2 Gerry Reno 2009-06-01 13:29:35 UTC
Guest is F10.  Host is F11.  Attaching files from guest.

Comment 3 Gerry Reno 2009-06-01 13:30:53 UTC
Created attachment 346080 [details]
Guest (F10) dmesg

Comment 4 Gerry Reno 2009-06-01 13:31:50 UTC
Created attachment 346081 [details]
Guest (F10)  /proc/interrupts

Comment 5 Gerry Reno 2009-06-01 13:34:29 UTC
Created attachment 346082 [details]
Guest (F10) acpid process

Comment 6 Daniel Berrangé 2009-06-01 19:13:56 UTC
That just looks like the kernel ACPI thread, not the userspace daemon. You need the userspace daemon to handle the shutdown requests. Please check the acpid initscript is turned on.

Comment 7 Gerry Reno 2009-06-02 00:37:17 UTC
I checked all the guests and none of them had the acpid package installed.  So we installed acpid on all of them and the shutdown works fine now.

Would it be good if libvirt had a dependency on acpid?

Comment 8 Daniel Veillard 2009-06-02 06:58:53 UTC
c.f. comment #7:
Since libvirt is installed on the host, not on the guest, and the requirement
is to have the guest run acpid, that dependancy would not help, unfortunately.

Daniel