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

[2109975] DataVolume fails to import "cirros-container-disk-demo" image

    XMLWordPrintable

Details

    • Storage Core Sprint 222, Storage Core Sprint 223
    • High

    Description

      Description of problem:

      The DataVolume created by the following DataImportCron fails to import the image.

      apiVersion: cdi.kubevirt.io/v1beta1
      kind: DataImportCron
      metadata:
      annotations:
      cdi.kubevirt.io/storage.bind.immediate.requested: "true"
      name: cirros-test
      spec:
      managedDataSource: cirros-test
      schedule: '* * * * *'
      template:
      metadata: {}
      spec:
      source:
      registry:
      pullMethod: node
      url: docker://quay.io/kubevirt/cirros-container-disk-demo
      storage:
      resources:
      requests:
      storage: 128Mi
      status: {}

      The pod "importer-cirros-test-0e5ac38b20ab" is crash looping with this error in "server" container log:

      /disk
      /disk/downloaded
      2022/07/22 14:51:45 Failed renaming image file disk.img, directory /disk: rename /disk/downloaded /disk/disk.img: permission denied
      stream closed

      Version-Release number of selected component (if applicable):
      containerized-data-importer v1.52.0

      How reproducible:
      100%

      Steps to Reproduce:
      1. Create the above DataImportCron

      Additional info:
      I'm not sure if it's related, but I have noticed that the image hash in DataVolume created by DataImportCron is not the latest version. The hash is "0e5ac38b20abcc7752293425b239a147868facd62cd5030dede6da6f2fc526a1" which corresponds to tag "v0.40.1", but the latest tag in the repository is "v0.55.0".

      Attachments

        Activity

          People

            agilboa@redhat.com Arnon Gilboa
            akrejcir@redhat.com Andrej Krejcir
            Yan Du Yan Du
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: