Bug 1353196 - QCOW image upload to block storage is limited to 1GB
Summary: QCOW image upload to block storage is limited to 1GB
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Frontend.WebAdmin
Version: future
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ovirt-4.0.2
: 4.0.2.1
Assignee: Amit Aviram
QA Contact: Natalie Gavrielov
URL:
Whiteboard:
Depends On: 1359736
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-07-06 13:34 UTC by Amit Aviram
Modified: 2016-08-12 14:24 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-08-12 14:24:06 UTC
oVirt Team: Storage
Embargoed:
rule-engine: ovirt-4.0.z+
ykaul: blocker+
rule-engine: planning_ack+
tnisan: devel_ack+
acanan: testing_ack+


Attachments (Terms of Use)
engine.log, vdsm.log, image-proxy.log (1.25 MB, application/x-gzip)
2016-07-18 16:28 UTC, Natalie Gavrielov
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 60270 0 master MERGED webadmin: Sync file size and uploaded image's actual size. 2016-07-07 08:22:33 UTC
oVirt gerrit 60308 0 ovirt-engine-4.0 MERGED webadmin: Sync file size and uploaded image's actual size. 2016-07-07 09:05:09 UTC
oVirt gerrit 60309 0 ovirt-engine-4.0.1 MERGED webadmin: Sync file size and uploaded image's actual size. 2016-07-07 09:06:27 UTC

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


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