| Summary: | [libvirt][domblkinfo] libvirtd crash on domblkinfo. | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | David Naori <dnaori> |
| Component: | libvirt | Assignee: | Michal Privoznik <mprivozn> |
| Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
| Severity: | urgent | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.1 | CC: | abaron, danken, ddumas, dnaori, dyuan, eblake, mgoldboi, mzhan, nzhang, rwu, syeghiay, veillard, ykaul, yupzhang |
| Target Milestone: | beta | Keywords: | Regression |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | libvirt-0.9.4-11.el6 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-12-06 11:28:40 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | 638510 | ||
| Bug Blocks: | 743047 | ||
|
Description
David Naori
2011-09-08 08:22:15 UTC
Worked on libvirt-0.9.4-7.el6.x86_64 I suspect my snapshot patches may be involved; in particular, my guess is this upstream commit:
commit 89b6284fd94ce5b13ee6b002f9167f5d9074aa7a
Author: Eric Blake <eblake>
Date: Fri Aug 19 20:38:36 2011 -0600
snapshot: also support disks by path
I got confused when 'virsh domblkinfo dom disk' required the
path to a disk (which can be ambiguous, since a single file
can back multiple disks), rather than the unambiguous target
device name that I was using in disk snapshots. So, in true
developer fashion, I went for the best of both worlds - all
interfaces that operate on a disk (aka block) now accept
either the target name or the unambiguous path to the backing
file used by the disk.
yup seems to be an uninitialized disk variable should be easy to get fixed Daniel Upstream patch proposed: https://www.redhat.com/archives/libvir-list/2011-September/msg00379.html Moving to POST: http://post-office.corp.redhat.com/archives/rhvirt-patches/2011-September/msg00286.html Reproduce this issue with libvirt-0.9.4-10.el6.x86_64. Verified this issue with: libvirt-0.9.4-11.el6.x86_64 kernel-2.6.32-193.el6.x86_64 qemu-kvm-0.12.1.2-2.185.el6.x86_64 # pgrep libvirtd 27271 # virsh -r domblkinfo 15 vda Capacity: 8589934592 Allocation: 8589938688 Physical: 8589938688 # pgrep libvirtd 27271 So change the 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/RHBA-2011-1513.html |