Bug 1158469

Summary: Live Snapshot support on EL 6.6 with oVirt 3.5 now "Inactive" when "Active" on EL 6.5
Product: [Retired] oVirt Reporter: scott.worthington
Component: ovirt-engine-coreAssignee: bugs <bugs>
Status: CLOSED DUPLICATE QA Contact: Pavel Stehlik <pstehlik>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.5CC: ecohen, fromani, gklein, iheim, lsurette, rbalakri, tnisan, yeylon
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard: virt
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-30 10:22:56 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 scott.worthington 2014-10-29 12:59:58 UTC
Description of problem:

EL 6.5 with oVirt 3.5 release indicates "Live Snapshot Support: Active"

Upgrading host to EL 6.6, oVirt 3.5 now states "Live Snapshot Support: Inactive" and now unable to create live snapshots on host.

No longer able to create live snapshot on EL 6.6


Version-Release number of selected component (if applicable):

#======

A functional EL 6.5 system module versions...

OS Version: RHEL - 6 - 5.el6.centos.11.2
Kernel Version: 2.6.32 - 431.29.2.el6.x86_64
KVM Version: 0.12.1.2 - 2.415.el6_5.14
LIBVERT Version: libvirt-0.10.2-29.el6_5.12
VDSM Version: vdsm-4.16.7-1.gitdb83943.el6

Live Snapshot Support: Active

#======

A non-functional EL 6.6 system module versions...

OS Version: RHEL - 6 - 6.el6.centos.12.2
Kernel Version: 2.6.32 - 504.el6.x86_64
KVM Version: 0.12.1.2 - 2.415.el6_5.14
LIBVERT Version: libvirt-0.10.2-46.el6
VDSM Version: vdsm-4.16.7-1.gitdb83943.el6

Live Snapshot Support: Inactive


How reproducible:

Check "Live Snapshot Support" on a EL 6.5 system in oVirt UI reports "Active".  Upgrade a functional EL 6.5 system to EL 6.6 system and examine the Ovirt UI for "Live Snapshot Support" and it reports "Inactive".

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

#=====

Modules on a functional EL 6.5 system:

qemu-kvm-rhev-0.12.1.2-2.415.el6_5.14.x86_64
qemu-kvm-rhev-tools-0.12.1.2-2.415.el6_5.14.x86_64

kernel-2.6.32-431.29.2.el6.x86_64

qemu-kvm-rhev-0.12.1.2-2.415.el6_5.14.x86_64
qemu-kvm-rhev-tools-0.12.1.2-2.415.el6_5.14.x86_64

libvirt-client-0.10.2-29.el6_5.12.x86_64
libvirt-python-0.10.2-29.el6_5.12.x86_64
libvirt-lock-sanlock-0.10.2-29.el6_5.12.x86_64
libvirt-0.10.2-29.el6_5.12.x86_64

vdsm-4.16.7-1.gitdb83943.el6.x86_64

#=====

Modules on a non-functional EL 6.6 system:

qemu-kvm-rhev-tools-0.12.1.2-2.415.el6_5.14.x86_64
qemu-kvm-rhev-0.12.1.2-2.415.el6_5.14.x86_64

kernel-2.6.32-504.el6.x86_64

qemu-kvm-rhev-tools-0.12.1.2-2.415.el6_5.14.x86_64
qemu-kvm-rhev-0.12.1.2-2.415.el6_5.14.x86_64

libvirt-client-0.10.2-46.el6.x86_64
libvirt-python-0.10.2-46.el6.x86_64
libvirt-lock-sanlock-0.10.2-46.el6.x86_64
libvirt-0.10.2-46.el6.x86_64

vdsm-4.16.7-1.gitdb83943.el6.x86_64

Comment 1 scott.worthington 2014-10-29 13:09:33 UTC
This may libvirt change may have broke live snapshot:

Bug 1150609 - libvirt misreport live snapshot capability 
https://bugzilla.redhat.com/show_bug.cgi?id=1150609

Comment 2 Francesco Romani 2014-10-30 09:37:04 UTC
(In reply to scott.worthington from comment #1)
> This may libvirt change may have broke live snapshot:
> 
> Bug 1150609 - libvirt misreport live snapshot capability 
> https://bugzilla.redhat.com/show_bug.cgi?id=1150609

most likely it is. It seems you are not running patched libvirt.

bugged:  libvirt-0.10.2-46.el6.x86_64
patched: libvirt-0.10.2-46.el6_6.1.x86_64.rpm


 To check that, it is enough to follow these steps

1 on the hypervisor host, run

  $ virsh -r capabilities | grep -i snapshot


2 the following is output from a misbehaving libvirt:

      <disksnapshot default='off' toggle='no'/>
      <disksnapshot default='off' toggle='no'/>

3 if libvirt output does _not_ contain the 'disksnapshot' element, so if
  command as per #1 yields nothing, libvirt is patched.

4 lacking the disksnapshot reporting, vdsm assumes the live snapshot is working, so the Engine will allow the operation.

Comment 3 Tal Nisan 2014-10-30 10:20:25 UTC
Possibly a dup of BZ 1149460

Comment 4 Tal Nisan 2014-10-30 10:22:56 UTC

*** This bug has been marked as a duplicate of bug 1149460 ***