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

[2130509] Auto image import in failed state with data sources pointing to external manually-created PVC/DV

XMLWordPrintable

    • Storage Core Sprint 225, Storage Core Sprint 226
    • Moderate
    • None

      Description of problem:
      With DV GC on by default, we observe that auto image import DataImportCrons are in failed state when it's data sources are pointing to external manually-created PVC/DV (that may have been GC'd)

      Version-Release number of selected component (if applicable):
      CNV v4.12.0-542

      How reproducible:
      100%

      Steps to Reproduce:
      1. Deploy CNV bundle above with opt-in for auto image import
      2.
      3.

      Actual results:
      Some are failed

      Expected results:
      All crons up to date

      Additional info:
      [cloud-user@ocp-psi-executor ~]$ oc logs -n openshift-cnv cdi-deployment-6c8f697f96-z4jpw | grep "DataVolume not found"

      {"level":"info","ts":1664294347.9625425,"logger":"controller.dataimportcron-controller","msg":"DataVolume not found","name":"win2k19"} {"level":"info","ts":1664294347.9626577,"logger":"controller.dataimportcron-controller","msg":"DataVolume not found","name":"win11"} {"level":"info","ts":1664294347.9628775,"logger":"controller.dataimportcron-controller","msg":"DataVolume not found","name":"centos-stream8"} {"level":"info","ts":1664294347.9629986,"logger":"controller.dataimportcron-controller","msg":"DataVolume not found","name":"win2k16"} {"level":"info","ts":1664294347.9631097,"logger":"controller.dataimportcron-controller","msg":"DataVolume not found","name":"centos7"} {"level":"info","ts":1664294347.9632173,"logger":"controller.dataimportcron-controller","msg":"DataVolume not found","name":"fedora"} {"level":"info","ts":1664294347.9633288,"logger":"controller.dataimportcron-controller","msg":"DataVolume not found","name":"rhel6"} {"level":"info","ts":1664294347.9634616,"logger":"controller.dataimportcron-controller","msg":"DataVolume not found","name":"win2k12r2"} {"level":"info","ts":1664294347.963603,"logger":"controller.dataimportcron-controller","msg":"DataVolume not found","name":"win10"} {"level":"info","ts":1664294347.9637187,"logger":"controller.dataimportcron-controller","msg":"DataVolume not found","name":"centos-stream9"} {"level":"info","ts":1664294347.9638362,"logger":"controller.dataimportcron-controller","msg":"DataVolume not found","name":"rhel7"}

      [cloud-user@ocp-psi-executor ~]$ oc get dv -A
      NAMESPACE NAME PHASE PROGRESS RESTARTS AGE
      openshift-virtualization-os-images rhel8-65e567156c9c Succeeded 100.0% 22h
      openshift-virtualization-os-images rhel9-3b04a4ec7d05 Succeeded 100.0% 22h
      [cloud-user@ocp-psi-executor ~]$ oc get dic -A
      NAMESPACE NAME AGE
      openshift-virtualization-os-images centos-7-image-cron 22h
      openshift-virtualization-os-images centos-stream8-image-cron 22h
      openshift-virtualization-os-images centos-stream9-image-cron 22h
      openshift-virtualization-os-images fedora-image-cron 22h
      openshift-virtualization-os-images rhel8-image-cron 22h
      openshift-virtualization-os-images rhel9-image-cron 22h
      [cloud-user@ocp-psi-executor ~]$ oc get dic -A -o yaml | grep "type: UpToDate" -B 1
      status: "False"
      type: UpToDate

      status: "False"
      type: UpToDate

      status: "False"
      type: UpToDate

      status: "False"
      type: UpToDate

      status: "True"
      type: UpToDate

      status: "True"
      type: UpToDate

              rhn-support-awels Alexander Wels
              akalenyu Alex Kalenyuk
              Yan Du Yan Du
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: