RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1650419 - [RFE] implement support for qcow2 internal snapshots without libvirt metadata
Summary: [RFE] implement support for qcow2 internal snapshots without libvirt metadata
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: libvirt
Version: 8.1
Hardware: x86_64
OS: Linux
low
low
Target Milestone: rc
: 8.0
Assignee: Peter Krempa
QA Contact: gaojianan
URL:
Whiteboard:
Depends On:
Blocks: 1650420
TreeView+ depends on / blocked
 
Reported: 2018-11-16 06:32 UTC by gaojianan
Modified: 2019-01-22 13:28 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1650420 (view as bug list)
Environment:
Last Closed: 2019-01-22 13:28:31 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description gaojianan 2018-11-16 06:32:04 UTC
Description of problem:
“virsh snapshot-list“ with option --no-metadata can't show snapshots without metadata

Version-Release number of selected component (if applicable):
Linux test2 4.18.0-31.el8.x86_64 #1 SMP
libvirt-4.5.0-14.module+el8+2210+474b8474.x86_64

How reproducible:
100%

Steps to Reproduce:
1.Prepare a guest and take snapshots with option --no-metadata
# virsh snapshot-create-as rhel s1 --no-metadata
Domain snapshot s1 created
2.List the snapshot with option --no-metadata
# virsh snapshot-list rhel --no-metadata
 Name                 Creation Time             State
------------------------------------------------------------


Actual results:
There is no snapshot shown with snapshot-list --no-metadata.
Expected results:
Show the snapshots which is established in step 1.

Additional info:
There are some discussions about this question:
https://www.redhat.com/archives/libvir-list/2018-November/msg00045.html
https://www.redhat.com/archives/libvir-list/2018-November/msg00517.html

Comment 1 Peter Krempa 2018-11-16 09:15:34 UTC
This means implementing internal snapshot loading from qcow. Given that qemu's stance is that external snapshots are the way to go I don't expect much attention here, but it's a legitimately missing feature.

Comment 2 Peter Krempa 2019-01-22 13:28:31 UTC
The problems which would arise from attempting libvirt to deal with snapshots with no libvirt metadata (e.g. missing snapshot of the XML state) far outweigh the benefits of implementing this, thus I'll close this BZ for now.


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