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

[2156928] garbage collection in data import cron fail when garbage collector disable

XMLWordPrintable

    • Storage Core Sprint 230, Storage Core Sprint 231
    • Medium
    • None

      Description of problem:
      When garbage collector disabled (TTL set to -1), the data import cron garbage collection won't work.

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

      How reproducible:
      100%

      Steps to Reproduce:
      1. disable garbage collector via hco:
      oc patch cdi cdi-kubevirt-hyperconverged --patch '{"spec": {"config":

      {"dataVolumeTTLSeconds": -1}

      }}' --type merge`

      2. Create a new data import cron with DataImportCron.Spec.ImportsToKeep set to 1

      3. wait for the DV to reach success

      4. update the image stream digest

      5. wait for a new DV to be created

      Actual results:
      2 DV in success status

      Expected results:
      once the new DV reach success the old one should be deleted

              agilboa@redhat.com Arnon Gilboa
              dafrank@redhat.com Dalia Frank
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: