Bug 1989170 - CDI Importer fails on large qcow2.gz
Summary: CDI Importer fails on large qcow2.gz
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Storage
Version: 4.8.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.8.1
Assignee: Alexander Wels
QA Contact: Jenia Peimer
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-08-02 15:18 UTC by Alex Kalenyuk
Modified: 2021-08-24 12:49 UTC (History)
5 users (show)

Fixed In Version: v4.8.1-12
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-08-24 12:49:09 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github kubevirt containerized-data-importer pull 1879 0 None None None 2021-08-09 21:00:51 UTC
Red Hat Product Errata RHSA-2021:3259 0 None None None 2021-08-24 12:49:30 UTC

Description Alex Kalenyuk 2021-08-02 15:18:22 UTC
Description of problem:
Using a large qcow2 gzipped image causes importer pod to fail

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

How reproducible:
100%

Steps to Reproduce:
1. Create DV (yaml below)

Actual results:
Import fails

Expected results:
Import successful

Additional info:

Importer pod err:
E0802 13:00:37.936387       1 importer.go:191] , qemu-img execution failed: signal: killed
Unable to convert source data to target format

[cnv-qe-jenkins@alex48-451-xzjsk-executor qcow2-gz]$ cat dv.yaml 
apiVersion: cdi.kubevirt.io/v1beta1
kind: DataVolume
metadata:
  name: qcow2-gz-dv
spec:
  pvc:
    accessModes:
    - ReadWriteMany
    resources:
      requests:
        storage: 20Gi
    storageClassName: nfs
  source:
    http:
      url: https://releases-art-rhcos.svc.ci.openshift.org/art/storage/releases/rhcos-4.9/49.84.202107010027-0/x86_64/rhcos-49.84.202107010027-0-openstack.x86_64.qcow2.gz?sha256=00cb56c8711686255744646394e22a8ca5f27e059016f6758f14388e5a0a14cb

Image from https://github.com/openshift/installer/blob/master/data/data/rhcos-stream.json#L433

Comment 1 Yan Du 2021-08-04 12:18:54 UTC
Alexander, is this bug duplicate with the issue you are working on?

Comment 2 Alexander Wels 2021-08-04 12:22:47 UTC
This is the backport BZ.

Comment 8 errata-xmlrpc 2021-08-24 12:49:09 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: OpenShift Virtualization 4.8.1 Images security and bug fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:3259


Note You need to log in before you can comment on or make changes to this bug.