Red Hat Bugzilla – Full Text Bug Listing
|Summary:||Shutdown does not do anything|
|Product:||[Fedora] Fedora||Reporter:||Michel Alexandre Salim <michel>|
|Component:||kvm||Assignee:||Glauber Costa <gcosta>|
|Status:||CLOSED NEXTRELEASE||QA Contact:||Fedora Extras Quality Assurance <extras-qa>|
|Version:||9||CC:||berrange, clalance, katzj|
|Fixed In Version:||Doc Type:||Bug Fix|
|Doc Text:||Story Points:||---|
|Last Closed:||2008-09-24 20:24:39 EDT||Type:||---|
|oVirt Team:||---||RHEL 7.3 requirements from Atomic Host:|
Description Michel Alexandre Salim 2008-06-20 01:39:05 EDT
Description of problem: Using both virt-manager and virsh, shutting down a domain does not result in anything (tried using QEMU and QEMU-KVM) Version-Release number of selected component (if applicable): 0.4.2-1.fc9 to 0.4.3-1.fc10 How reproducible: Always Steps to Reproduce: 1. Create a virtual machine, say Foo 2. Start Foo 3. virsh shutdown Foo Actual results: "Domain Foo is being shutdown" -- but nothing happens if you're watching on the graphical console. Foo keeps running normally Expected results: Foo should receive an ACPI shutdown signal Additional info: I tried shutting down the machine (in this case, DragonFly BSD). Even when the machine is in powered-down state, the Shutdown button does not do anything and I had to 'destroy' the machine (perhaps that option should be renamed. Force shutdown?)
Comment 1 Daniel Veillard 2008-06-20 04:20:24 EDT
yes confirmed, I have noticed that on F-9/KVM too but didn't chase it yet, Daniel
Comment 2 Daniel Berrange 2008-08-21 10:22:07 EDT
This is a KVM problem. The KVM 65 in Fedora 9 doesn't send the ACPI power off event correctly. I tested rawhide KVM-70 and it works as required. F9 needs an updated KVM package....
Comment 3 Glauber Costa 2008-08-21 14:17:39 EDT
For the record, virsh will use qemu's system_powerdown monitor command to accomplish that, right ? I'm trying it in kvm-userspace.git right now, and it does not seem to be working. (i.e.: machine keeps running). Dan, what are you seeing exactly in rawhide to make you believe it works there? Is the machine properly stopped at there?
Comment 4 Daniel Berrange 2008-08-21 15:58:16 EDT
Yes, libvirt will invoke system_powerdown, which sends an ACPI event. You need to make sure your VM does *not* pass -no-acpi to QEMU. Depending on the guest, you may also need acpi=force on the guest kernel command line. The guest also needs to be runnning acpid daemon. For the record I used a RHEL-5.2 guest, on i386, and had acpi=force. With kvm-65 shutdown didn't work (no acpi event appeaed in /proc/interrupts). With kvm-70 from rawhide re-built on F9, it correctly shutdown.
Comment 5 Glauber Costa 2008-08-27 16:27:01 EDT
Please check if http://koji.fedoraproject.org/koji/taskinfo?taskID=789251 fixes this problem.
Comment 6 Michel Alexandre Salim 2008-08-27 17:07:31 EDT
I'm currently on Rawhide; the binary RPM does not install, and rebuilding the SRPM fails: http://koji.fedoraproject.org/koji/taskinfo?taskID=789365 due to Rawhide RPM's stricter constraint on patch fuzziness.
Comment 7 Daniel Berrange 2008-08-28 10:35:58 EDT
Confirmed that kvm-65-8_private_glommer_acpi.fc9.x86_64.rpm fixes the problem - please build for updates
Comment 8 Fedora Update System 2008-08-28 12:15:02 EDT
kvm-65-9.fc9 has been submitted as an update for Fedora 9. http://admin.fedoraproject.org/updates/kvm-65-9.fc9
Comment 9 Fedora Update System 2008-09-10 02:41:13 EDT
kvm-65-9.fc9 has been pushed to the Fedora 9 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update kvm'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2008-7437
Comment 10 Fedora Update System 2008-09-24 20:24:31 EDT
kvm-65-9.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report.