Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1353196

Summary: QCOW image upload to block storage is limited to 1GB
Product: [oVirt] ovirt-engine Reporter: Amit Aviram <aaviram>
Component: Frontend.WebAdminAssignee: Amit Aviram <aaviram>
Status: CLOSED CURRENTRELEASE QA Contact: Natalie Gavrielov <ngavrilo>
Severity: high Docs Contact:
Priority: unspecified    
Version: futureCC: acanan, amureini, bugs, gklein, ngavrilo, sbonazzo, tnisan
Target Milestone: ovirt-4.0.2Keywords: ZStream
Target Release: 4.0.2.1Flags: rule-engine: ovirt-4.0.z+
ykaul: blocker+
rule-engine: planning_ack+
tnisan: devel_ack+
acanan: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-12 14:24:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1359736    
Bug Blocks:    
Attachments:
Description Flags
engine.log, vdsm.log, image-proxy.log none

Description Amit Aviram 2016-07-06 13:34:02 UTC
Description of problem:
When uploading an image to a block domain, it is limited to 1GB, regardless to the image's actual size.

How reproducible:
100%

Steps to Reproduce:
1. Upload a QCOW image to a block storage domain

Actual results:
Upload fails when reached to 1GB

Expected results:
Upload should succeed (Assuming there is enough space for the disk to be created)

Comment 1 Natalie Gavrielov 2016-07-18 15:24:49 UTC
Tested:
rhevm-4.0.2-0.2.rc1.el7ev.noarch
ovirt-imageio-common-0.3.0-0.el7ev.noarch
ovirt-imageio-proxy-0.3.0-0.el7ev.noarch
vdsm-4.18.6-1.el7ev.x86_64
ovirt-imageio-daemon-0.3.0-0.el7ev.noarch

The upload pauses when reaching 1GB, shows "paused by the system".
Disk size defined: 3GB
Image type: QCOW2
Block type storage domain (file type works, btw).

Comment 2 Red Hat Bugzilla Rules Engine 2016-07-18 15:24:54 UTC
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.

Comment 3 Allon Mureinik 2016-07-18 16:13:49 UTC
(In reply to Natalie Gavrielov from comment #1)
> The upload pauses when reaching 1GB, shows "paused by the system".
> Disk size defined: 3GB
> Image type: QCOW2
> Block type storage domain (file type works, btw).
Could you attach engine, vdsm and imageio for the /failed/ run please?

Comment 4 Natalie Gavrielov 2016-07-18 16:28:10 UTC
Created attachment 1181177 [details]
engine.log, vdsm.log, image-proxy.log

id: ade7f74d-f051-4e38-b162-4fdb77176d3d

Comment 5 Yaniv Kaul 2016-07-24 10:57:21 UTC
Natalie - when verifying this, please test with 1TB image.

Comment 6 Amit Aviram 2016-07-24 12:09:23 UTC
The patch is merged in 4.0.2, but the version that is installed in the QE machine is from a bad repo (4.0.1-1) with wrong builds.

Natalie, you need to remove and reinstall the engine, and make sure it is from http://bob.eng.lab.tlv.redhat.com/builds/4.0/4.0.2-1/

** note that the dnf info gives this on ovirt-engine:
Name        : ovirt-engine
Arch        : noarch
Version     : 4.0.2
Release     : 0.2.rc1.el7ev
Size        : 2.6 M
Repo        : installed
From repo   : rhev-4.0.1-1

Moving back to QA

Comment 7 Natalie Gavrielov 2016-07-31 08:36:23 UTC
Verified,
rhevm-4.0.2-0.1.rc.el7ev.noarch
ovirt-imageio-common-0.3.0-0.el7ev.noarch
ovirt-imageio-proxy-0.3.0-0.el7ev.noarch
vdsm-4.18.9-1.el7ev.x86_64
ovirt-imageio-daemon-0.3.0-0.el7ev.noarch