Bug 1158974 - live snapshot not supported if VDSM does not report the status
Summary: live snapshot not supported if VDSM does not report the status
Keywords:
Status: CLOSED DUPLICATE of bug 1159211
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-core
Version: 3.5
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ---
: 3.5.1
Assignee: Francesco Romani
QA Contact: Pavel Stehlik
URL:
Whiteboard: virt
Depends On:
Blocks: oVirt_3.5.1_tracker
TreeView+ depends on / blocked
 
Reported: 2014-10-30 15:38 UTC by Francesco Romani
Modified: 2016-02-10 19:49 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-11-03 07:31:44 UTC
oVirt Team: Virt
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 34673 0 master MERGED core: assume live snapshot supported as default Never

Description Francesco Romani 2014-10-30 15:38:24 UTC
Description of problem:
Certain QEMU does not support live snapshotting.
VDSM, through libvirt, report this capability to Engine, which reports back to the user in the Host tab, and inhibit the functionality if QEMU lacks it.

If live snapshot reporting is missing, Engine assumes it is supported and works as usual for backward compatibility.

Unfortunately, one sequence of events is not covered
- VDSM reports live snapshot as disabled
- libvirt is updated (https://bugzilla.redhat.com/show_bug.cgi?id=1149667)
  and stops to report the capability. This makes VDSM stop reporting as well
- Engine no longer updates its tables, so it is stuck with old value
- live snapshot is gone without good reason

Mitigation:
apply libvirt update before to add any host

Workaround:
After libvirt is updated, with Engine shutoff,
update DB table

update vds_dynamic set is_live_snapshot_support='true'  -- for all affected hosts

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

How reproducible:
100% (estimated)

Steps to Reproduce:
see description above

Actual results:
Live snapshot support still reported as disabled

Expected results:
Live snapshot support available again

Comment 1 Francesco Romani 2014-10-30 22:49:34 UTC
severity medium due to not so common scenario: user need to add host to Engine with buggy libvirt, then update libvirt to hit the bug and due to availability of simple workaround.

Comment 2 Francesco Romani 2014-11-03 07:31:44 UTC
More streamlined process on 1159221

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


Note You need to log in before you can comment on or make changes to this bug.