| Summary: | virsh shutdown does not shut the guest | ||
|---|---|---|---|
| Product: | [Community] Virtualization Tools | Reporter: | Deepti <deeptik> |
| Component: | libvirt | Assignee: | Libvirt Maintainers <libvirt-maint> |
| Status: | CLOSED NOTABUG | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | unspecified | CC: | acathrow, berrange, cshastri, lagarcia, pkrempa |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-10-08 10:26:36 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Deepti
2013-10-08 10:22:25 UTC
The 'shutdown' command is merely a "polite request to shutdown". It requires that the guest OS co-operate, so it is never guaranteed to suceed. For KVM guests, it will trigger an ACPI power button event, or talk to the QEMU guest agent if it is available. For LXC guest it will use /dev/initctl in the guest, or send SIGTERM. So if shutdown is not doing anything, then your guest OS needs re-configuring to honour one of these requests as appropriate. We tried "virsh shutdown --domain 11 --mode acpi" that is also not working. your guest probably doesn't have acpid installed |