Bug 25140 - snapshots are not cloned
snapshots are not cloned
Status: CLOSED WONTFIX
Product: UCS
Classification: Unclassified
Component: Virtualization - UVMM
UCS 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-12-03 18:47 CET by Stefan Gohmann
Modified: 2023-06-28 10:45 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 4: Minor Usability: Impairs usability in secondary scenarios
Who will be affected by this bug?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.091
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Gohmann univentionstaff 2011-12-03 18:47:32 CET
Snapshots werden derzeit nicht geklont, wenn eine Instanz geklont wird.
Comment 1 Philipp Hahn univentionstaff 2017-05-02 15:03:28 CEST
This is still true with UCS-4.2 with Qemu-2.8 and libvirt-3.0.
Similar to our migration we would need to clone the snapshot XML files, too.
Comment 2 Philipp Hahn univentionstaff 2018-10-05 13:16:13 CEST
This again happened while testing Bug #21386: It also happens when a VM is migrated while not running: then we only define the current XML, but do not copy the snapshot XML, too.
(We once documented to put /var/lib/libvirt/qemu/snapshot/ on a shared storage to workaround that and we still have patches/libvirt/4.3-0-0-ucs/3.0.0-4+deb9u3-errata4.3-0/0023-Allow-to-migrate-and-undefine-domains-with-snapshots.quilt)

virDomainSnapshotCreateXML(VIR_DOMAIN_SNAPSHOT_CREATE_REDEFINE) can be used to add the missing meta-data only.

For offline-migration virDomainSnapshotDelet(VIR_DOMAIN_SNAPSHOT_DELETE_METADATA_ONLY) should be used to undefine the snapshots only but leave the actual snapshot data stored in the qcow2 files.
Comment 3 Philipp Hahn univentionstaff 2019-09-13 09:50:44 CEST
Snapshots are migrated for a long time.
What is missing is *cloning* the snapshots when a VM is cloned.
Comment 4 Philipp Hahn univentionstaff 2023-06-28 10:44:05 CEST
UVMM and virtualization with UCS is deprecated and will no longer be developed in UCS 4.4; they have already been removed from UCS 5.0.