Bug 1989170

Summary: CDI Importer fails on large qcow2.gz
Product: Container Native Virtualization (CNV) Reporter: Alex Kalenyuk <akalenyu>
Component: StorageAssignee: Alexander Wels <awels>
Status: CLOSED ERRATA QA Contact: Jenia Peimer <jpeimer>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.8.0CC: alitke, awels, cnv-qe-bugs, ocohen, yadu
Target Milestone: ---   
Target Release: 4.8.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: v4.8.1-12 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-08-24 12:49:09 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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