Project

General

Profile

Actions

action #90347

open

Support for downloading snapshots

Added by pvorel about 3 years ago. Updated about 3 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Feature requests
Target version:
Start date:
2021-03-19
Due date:
% Done:

0%

Estimated time:
Tags:

Description

According to rpalethorpe (the author of the big QEMU rewrite, merged as #985) including snapshots inside the qcow2 image is only semi supported (libvirt does not use this feature so it is barely supported). Thus everybody uses overlay files instead. That's why he rolled our own snapshotting solution using backing files/overlays (otherwise doing basic things like reverting to a snapshot uses wierd code nobody supports).

The implementation saves overlay files in vm-snapshots directory (in pool directory) and qemu_state.json describes the snapshots. We need to allow user to download these files. I suggest to introduce new variable SAVE_SNAPSHOTS which would be by default off.

Actions #1

Updated by pvorel about 3 years ago

  • Description updated (diff)
Actions #2

Updated by pvorel about 3 years ago

  • Description updated (diff)
Actions #3

Updated by rpalethorpe about 3 years ago

I'm not sure if we already had a ticket for this. But anyway, yes we could tar up the qemu_state.json, qcow2 images and ram images. This may be a lot more work than it seems though. The QEMU state doesn't include all the OpenQA state.

Actions #4

Updated by okurz about 3 years ago

  • Priority changed from Normal to Low
  • Target version set to future

thanks for the ticket. Hopefully the "just tar it up" could be easily done eventually :)

Actions

Also available in: Atom PDF