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

[RHEL 9.7] KVM Virtual Machine fails to start with error "JSON parse failed too deeply nested" if more than 25 snapshots

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

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • rhel-9.8
    • rhel-9.7
    • libvirt
    • None
    • libvirt-11.10.0-3.el9
    • None
    • Low
    • 1
    • rhel-virt-core-libvirt-1
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • No
    • Libvirt Bugs already in Sprint
    • Unspecified Release Note Type - Unknown
    • Unspecified
    • Unspecified
    • Unspecified
    • All
    • None

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

      When having 25+ snapshots the VM will fail to start unless you revert to the 24 or older snapshot, you also cant delete snapshots unless  you are reverted to the 24 or older snapshot.

      What is the impact of this issue to you?

      Potential data loss, VM downtime. As the customer has to revert to a much older snapshot to be able to start the VM.

      How reproducible is this bug?:

      100%

       

       

       

      Steps to reproduce

      1. Via cockpit machines, navigate to the VM and create more than 25 snapshots.
      2. Alternatively create 25 + snapshots with the virsh:
        1. virsh snapshot-create-as <vm_name> <snapshot> --disk-only

      Expected results

      VM should start despite having 25+ snapshots

      Actual results

      VM does not start, snapshots cant be removed without alternative methods.

       

      NOTE: Reviewing upstream libvirt, as well as, RHEL documentation does not place a limit on external snapshots. I was unable to find tested/supported maximums. If this is a limitation please let me know and I will file a doc bug.  

              pkrempa@redhat.com Peter Krempa
              rhn-support-efelipe Eicke Felipe
              Peter Krempa Peter Krempa
              Meina Li Meina Li
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

                Created:
                Updated: