Bug 816448
| Summary: | inaccurate display for status of stopped libvirt-guests service | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | hongming <honzhang> |
| Component: | libvirt | Assignee: | Osier Yang <jyang> |
| Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.3 | CC: | acathrow, dallan, dyasny, dyuan, eblake, jyang, mzhan, rwu |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | libvirt-0.9.13-3.el6 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-02-21 07:12:05 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: | |
| Embargoed: | |||
|
Description
hongming
2012-04-26 05:51:12 UTC
Patch committed to upstream.
commit c086af6b9b2296e2ab45e571f0fdfca097f7f127
Author: Osier Yang <jyang>
Date: Tue May 15 16:22:28 2012 +0800
libvirt-guests: Remove LISTFILE if it's empty when stopping service
$LISTFILE is created even no domain is running, and the empty
$LISTFILE could cause improper service status.
stopped ,with saved guests
Which is not right, as there is no domain was saved.
Verify it using the following version. kernel-2.6.32-276.el6.x86_64 qemu-kvm-0.12.1.2-2.295.el6.x86_64 libvirt-0.9.13-3.el6.x86_64 Steps # service libvirtd stop Stopping libvirtd daemon: [ OK ] # service libvirt-guests status started # service libvirt-guests stop Can't connect to default. Skipping. # service libvirt-guests status stopped, with no saved guests # service libvirtd start Starting libvirtd daemon: [ OK ] # service libvirt-guests start # virsh list --all Id Name State ---------------------------------------------------- 5 rhel6 running 6 win running # service libvirt-guests stop Running guests on default URI: rhel6, win Suspending guests on default URI... Suspending rhel6: done Suspending win: done # service libvirt-guests status stopped, with saved guests Results It is expected result. So move its status to VERIFIED. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2013-0276.html |