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

When VM snapshot fails becuse the VolumeSnapshot fails, the UI is not exposing the reason

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Minor Minor
    • CNV v4.16.0
    • None
    • CNV Storage
    • None
    • 5
    • False
    • Hide

      None

      Show
      None
    • False
    • ---
    • ---
    • Storage Core Sprint 248, Storage Core Sprint 249, Storage Core Sprint 250, Storage Core Sprint 251, Storage Core Sprint 252
    • No

      Description of problem:

      When trying to take VM snapshot of a VM, when one of the disk volumes is in Terminating
       state, if one try to take a snapshot in this state, the process will "silienty" fails on timeout with 
      "snapshot deadline exceeded" 
      

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

      OCP 4.14.1
      CNV 4.14.1-57
      

      How reproducible:

      
      

      Steps to Reproduce:

      1. Create a VM with importing a image, (which create A DV to pull the image and create the PVC)
      2. Once the VM is running, delete the DV
      3. The PVC should be in terminating stage.
      4. Try to take a VM snapshot
      

      Actual results:

      Error we get is "snapshot deadline exceeded"
      

      Expected results:

      Expose the underline reason for the fail from the VolumeSnapshot,
      when trying to manualy do the snapshot of the Volume, you get the reason.
      
      Failed to create snapshot content with error snapshot controller failed to update vm-test  on API server: cannot add finalizer on claim because it is being deleted
      
      

      Additional info:

      
      

      Git Pull Request: https://github.com/kubevirt/kubevirt/pull/11095 closed

            skagan@redhat.com Shelly Kagan
            ryasharz@redhat.com Rabin Yasharzadehe
            Jenia Peimer Jenia Peimer
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: