Bug 1149667
Summary: | libvirt misreport live snapshot capability | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Francesco Romani <fromani> | |
Component: | libvirt | Assignee: | Ján Tomko <jtomko> | |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> | |
Severity: | urgent | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 6.6 | CC: | amureini, dyuan, ecohen, fdeutsch, fromani, iheim, jdenemar, jherrman, jkurik, jsuchane, jtomko, knoel, leiwang, lpeer, lsurette, mavital, michal.skrivanek, mjenner, mtessun, mzhan, nobody, nsednev, pablo.iranzo, rbalakri, Rhev-m-bugs, scohen, shyu, s.kieske, tdosek, tnisan, wshi, ycui, yeylon | |
Target Milestone: | rc | Keywords: | ZStream | |
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | libvirt-0.10.2-47.el6 | Doc Type: | Bug Fix | |
Doc Text: |
In Red Hat Enterprise Linux 6.6, support was added for libvirt to report whether QEMU is capable of creating snapshots. However, libvirt did not probe for the snapshot capability properly. As a consequence, the snapshot capability of KVM Guest Image in VDSM was reported as unavailable even when it was available, and creating a disk snapshot in some cases failed. With this update, libvirt no longer reports QEMU snapshot capability, and therefore does not cause the described problem.
|
Story Points: | --- | |
Clone Of: | 1149460 | |||
: | 1150609 (view as bug list) | Environment: | ||
Last Closed: | 2015-07-22 05:47:44 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: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1149460, 1150428, 1150609 |
Description
Francesco Romani
2014-10-06 12:36:16 UTC
As Peter Krempa found out, this was caused by an incomplete backport for bug 1081032. The disksnapshot capability was only reported if the "blockdev-snapshot-sync" QMP commands was found, however in RHEL-6 we only probe for QMP commands on domain startup. With qemu-kvm-rhev, virsh capabilities should report: <disksnapshot default='on' toggle='no'/> but not with qemu-kvm: <disksnapshot default='off' toggle='no'/> Reproduce this with libvirt-0.10.2-46.el6.x86_64, verify with libvirt-0.10.2-47.el6.x86_64 1. with qemu-kvm-rhev + libvirt-0.10.2-46.el6.x86_64 1.1.# rpm -q libvirt qemu-kvm-rhev libvirt-0.10.2-46.el6.x86_64 qemu-kvm-rhev-0.12.1.2-2.448.el6.x86_64 1.2 # virsh -r capabilities |grep -i snapshot <disksnapshot default='off' toggle='no'/> <disksnapshot default='off' toggle='no'/> 2. with qemu-kvm + libvirt-0.10.2-46.el6.x86_64 2.1# rpm -q libvirt qemu-kvm libvirt-0.10.2-46.el6.x86_64 qemu-kvm-0.12.1.2-2.448.el6_6.x86_64 2.2 # virsh -r capabilities |grep -i snapshot <disksnapshot default='off' toggle='no'/> <disksnapshot default='off' toggle='no'/> 3. with qemu-kvm-rhev + libvirt-0.10.2-47.el6.x86_64 3.1# rpm -q libvirt qemu-kvm-rhev libvirt-0.10.2-47.el6.x86_64 qemu-kvm-rhev-0.12.1.2-2.448.el6.x86_64 3.2 # virsh -r capabilities |grep -i snapshot 4. with qemu-kvm + libvirt-0.10.2-47.el6.x86_64 4.1# rpm -q libvirt qemu-kvm-rhev libvirt-0.10.2-47.el6.x86_64 qemu-kvm-rhev-0.12.1.2-2.448.el6.x86_64 4.2 # virsh -r capabilities |grep -i snapshot 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. https://rhn.redhat.com/errata/RHBA-2015-1252.html |