Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-88747

Unable to restore internal snapshot on libvirt 11.2

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • libvirt-11.4.0-1.el10
    • Yes
    • Moderate
    • rhel-virt-core-libvirt-1
    • ssg_virtualization
    • 25
    • 4
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • 11.4.0
    • None

      This bug is cloned from upstream bug- Bug link

      -
      Original description:

      What were you trying to do that didn't work?

      Unable to restore internal snapshot on libvirt-client 11.2.0-1 

      Please provide the package NVR for which the bug is seen:

      libvirt-11.2.0-1.el10.x86_64
      qemu-kvm-10.0.0-1.el10.x86_64

      How reproducible is this bug?:

      100%

      Steps to reproduce

      1. Have a running VM with a disk vdb already attached.
      2. Create two internal snapshot snapshotA and snapshotB:
        # virsh snapshot-create-as --domain vm --name snapshotA --description "Description of snapshotA"
        Domain snapshot snapshotA created 
        
        # virsh snapshot-create-as --domain vm --name snapshotB --description "Description of snapshotB"
        Domain snapshot snapshotB created
      1. Set the current snapshot to snapshotA:
        # virsh snapshot-current --domain vm --snapshotname snapshotA 
        Snapshot snapshotA set as current  
      1. Attempt to revert to snapshotB:
        # virsh snapshot-revert --domain vm --snapshotname snapshotB 
        error: Failed to revert snapshot snapshotB 
        error: operation failed: load of internal snapshot 'snapshotB' job failed: Device 'libvirt-2-format' is writable but does not support snapshots  

      Expected results:

      The domain should successfully revert to snapshot snapshotB

      Actual results:

      error: Failed to revert snapshot snapshotB
      error: operation failed: load of internal snapshot 'snapshotB' job failed: Device 'libvirt-2-format' is writable but does not support snapshots

              pkrempa@redhat.com Peter Krempa
              aatripat@redhat.com Aakanksha Tripathi
              virt-maint virt-maint
              Aakanksha Tripathi Aakanksha Tripathi
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated: