Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1132522

Summary: [engine-backend] False positive report for host support for live snapshot (rhel7)
Product: [Retired] oVirt Reporter: Elad <ebenahar>
Component: ovirt-engine-coreAssignee: Francesco Romani <fromani>
Status: CLOSED NOTABUG QA Contact: Pavel Stehlik <pstehlik>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.5CC: acathrow, amureini, ecohen, gklein, iheim, yeylon
Target Milestone: ---   
Target Release: 3.5.0   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: virt
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-26 17:17:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
engine, vdsm and libvirt logs none

Description Elad 2014-08-21 13:47:43 UTC
Created attachment 929211 [details]
engine, vdsm and libvirt logs

Description of problem:
Engine reports that host's support for live snapshot is active when actually, the host doesn't have the suitable qemu-kvm packages supporting live snapshot.
The host has rhel7 installed with qemu-kvm packages which don't support live snapshot.     

Version-Release number of selected component (if applicable):
ovirt-3.5-RC1:
engine:
ovirt-engine-3.5.0-0.0.master.20140804172041.git23b558e.el6.noarch

host:
rhel7 host
vdsm-4.16.1-4.gitb2bf270.el7.x86_64
libvirt-client-1.1.1-29.el7.x86_64
qemu-kvm-1.5.3-60.el7.x86_64


How reproducible:
Always

Steps to Reproduce:
1. Add a rhel7 host to ovirt. Install vdsm on it. The host will use qemu-kvm packages as dependencies and not qemu-kvm-rhev  
2. Check the host support for live snapshot: Under the 'Hosts' tab, look for 'Live Snapsnot Support' under the 'General' sub-tab
3. Try to create a live snapshot using this host to run the VM

Actual results:
Host is reported as supporting live snapshot:
"Live Snapsnot Support: Active"

Live snapshot fails as expected

Live snapshot failure:

2014-08-21 11:37:01,683 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (org.ovirt.thread.pool-8-thread-10) Correlation ID: 40b044b9, Call Stack: org.ovirt.engine.core.common.errors.Vd
cBLLException: VdcBLLException: org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException: VDSGenericException: VDSErrorException: Failed to SnapshotVDS, error = Snapshot failed, code = 48 (Failed with error SNA
PSHOT_FAILED and code 48)

Expected results:
Host should be reported as not supporting live snapshot if the qemu-kvm package is not suitable

Additional info:
engine, vdsm and libvirt logs

Comment 1 Allon Mureinik 2014-08-26 17:17:51 UTC
libvirt started reporting this from version 35 and above - if it doesn't report it, we must assume live snapshot is supported for backwards compatibility's sake.