Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-54971

[4.16] Snapshot Creation Fails for Powered-Off VM with RerunOnFailure RunStrategy

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • CNV v4.16.0
    • Storage Platform
    • None
    • 0.42
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • ---
    • ---
    • None

      Description of problem:

      U/S issue: https://github.com/kubevirt/kubevirt/issues/12515

      Fix PR for backport: https://github.com/kubevirt/kubevirt/pull/12582

       

      Version-Release number of selected component (if applicable):

      4.17 and earlier (fixed since 4.18)

      How reproducible:

      Always

      Steps to Reproduce:

      1. Create a VM with RerunOnFailure RunStrategy
      2. Stop the VM
      3. Create a Snapshot
      

      Actual results:

      Snapshot failed:
      
      # kubectl describe  vmsnapshots  -n vm-4c1f62f0 wyw-snap-3 
      Name:         wyw-snap-3
      Namespace:    vm-4c1f62f0
      Labels:       <none>
      Annotations:  <none>
      API Version:  snapshot.kubevirt.io/v1alpha1
      Kind:         VirtualMachineSnapshot
      Metadata:
        Creation Timestamp:  2024-08-01T23:04:56Z
        Finalizers:
          snapshot.kubevirt.io/vmsnapshot-protection
        Generation:        3
        Resource Version:  11509507
        UID:               7a7407c6-1b77-48fb-8348-543bb9c264cd
      Spec:
        Source:
          API Group:  kubevirt.io
          Kind:       VirtualMachine
          Name:       i-a6rrn1s8
      Status:
        Conditions:
          Last Probe Time:       <nil>
          Last Transition Time:  2024-08-01T23:04:56Z
          Reason:                Source not locked
          Status:                False
          Type:                  Progressing
          Last Probe Time:       <nil>
          Last Transition Time:  2024-08-01T23:04:56Z
          Reason:                Not ready
          Status:                False
          Type:                  Ready
          Last Probe Time:       <nil>
          Last Transition Time:  2024-08-01T23:10:24Z
          Reason:                snapshot deadline exceeded
          Status:                True
          Type:                  Failure
        Indications:
          Online
          NoGuestAgent
        Phase:         Failed
        Ready To Use:  false
        Source UID:    a67a5317-cbe4-4025-9a54-dfd1c264fdc6
      Events:          <none>

      Expected results:

      Snapshot succeeded 

      Additional info:

       

              alitke@redhat.com Adam Litke
              jpeimer@redhat.com Jenia Peimer
              Natalie Gavrielov Natalie Gavrielov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: