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

[4.15] No volumesnapshot created when deleting the DV with snapshot format dataimportcron

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Normal Normal
    • CNV v4.15.3
    • CNV v4.16.0
    • Storage Platform
    • None
    • 3
    • False
    • Hide

      None

      Show
      None
    • False
    • CNV v4.15.3.rhel9-59
    • ---
    • ---
    • Storage Core Sprint 255
    • No

      Description of problem:

      No volumesnapshot created when deleting the DV with snapshot format dataimportcron

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

      CNV-v4.16.0.rhel9-1308

      How reproducible:

      Always

      Steps to Reproduce:

      1. Modify the dataimport template rhel9 to use ocs storage class
      2. Check the dataimportcron rhel9 -> should be snapshot format instead of pvc format
      3. Check the old DV and PVC, if exist, delete the DV rhel9 
      4. Check the volumesnapshot
      5. Check whether the DV rhel9 re-created with OCS storage class

      Actual results:

      4. No volumesnapshot
      5. DV is not recreating due to no volumesnapshhot
      [cloud-user@ocp-psi-executor ~]$ oc get volumesnapshot
      No resources found in openshift-virtualization-os-images namespace.
      [cloud-user@ocp-psi-executor ~]$ oc get volumesnapshot -w

      Expected results:

      4-5. volumesnapshot created and DV can be recreated with OCS sc

      Additional info:

      datasoure status:
      status:
        conditions:
        - lastHeartbeatTime: "2024-03-20T09:10:53Z"
          lastTransitionTime: "2024-03-20T09:10:53Z"
          message: Snapshot not found
          reason: NotFound
          status: "False"
          type: Ready
        source:
          snapshot:
            name: rhel9-b2c52ac49e20
            namespace: openshift-virtualization-os-images

              agilboa@redhat.com Arnon Gilboa
              yadu1@redhat.com Yan Du
              Yan Du Yan Du
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: