Bug 1373936 - Upload image: qcow image format on client side is identified as qcow2
Summary: Upload image: qcow image format on client side is identified as qcow2
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Frontend.WebAdmin
Version: 4.0.4
Hardware: Unspecified
OS: Unspecified
unspecified
medium vote
Target Milestone: ---
: ---
Assignee: Amit Aviram
QA Contact: Aharon Canan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-07 13:10 UTC by Natalie Gavrielov
Modified: 2017-12-22 07:38 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-21 10:47:09 UTC
oVirt Team: Storage
tnisan: ovirt-4.1?
ngavrilo: planning_ack?
ngavrilo: devel_ack?
ngavrilo: testing_ack?


Attachments (Terms of Use)
engine.log, vdsm.log, image-proxy.log (1.28 MB, application/x-gzip)
2016-09-07 13:10 UTC, Natalie Gavrielov
no flags Details

Description Natalie Gavrielov 2016-09-07 13:10:13 UTC
Created attachment 1198721 [details]
engine.log, vdsm.log, image-proxy.log

Description of problem:
When uploading an image, the client side identifies a qcow image as qcow2.

Version-Release number of selected component:
rhevm-4.0.4-0.1.el7ev.noarch
vdsm-4.18.12-1.el7ev.x86_64
ovirt-imageio-proxy-0.3.0-0.el7ev.noarch
ovirt-imageio-common-0.3.0-0.el7ev.noarch
ovirt-imageio-daemon-0.3.0-0.el7ev.noarch

How reproducible:
100%

Steps to Reproduce:
Try to upload a qcow (not qcow2!) image.

Actual results:
Image is identified as qcow2 with compat N/A.
When trying to upload the upload pauses with the following audit log:
Unable to upload image to disk e0f21e3f-1d0b-49f0-8f15-9e4ea0c06a23 due to a network error. Make sure ovirt-imageio-proxy service is installed and configured, and ovirt-engine's certificate is registered as a valid CA in the browser.

Expected results:
Not to identify the qcow image as qcow2

Comment 1 Allon Mureinik 2016-09-08 13:42:26 UTC
How was this qcow created? Something done the lines of "qemu-img create -f qcow file.img 1M"?

Comment 2 Natalie Gavrielov 2016-09-15 08:45:03 UTC
(In reply to Allon Mureinik from comment #1)
> How was this qcow created? Something done the lines of "qemu-img create -f
> qcow file.img 1M"?

I used qemu-img convert.. why?

Comment 3 Yaniv Kaul 2016-09-15 08:58:57 UTC
Who cares? No one is using the (original?!) qcow format. It's not available anywhere. The whole world is using qcow2 or qcow2v3, which we aim to support in 4.1.
I'd close with WONTFIX, unless there are implications I'm missing here. 
For the time being, pushing to 4.1 for re-evaluation.

Comment 4 Yaniv Kaul 2016-11-21 10:47:09 UTC
(In reply to Yaniv Kaul from comment #3)
> Who cares? No one is using the (original?!) qcow format. It's not available
> anywhere. The whole world is using qcow2 or qcow2v3, which we aim to support
> in 4.1.
> I'd close with WONTFIX, unless there are implications I'm missing here. 
> For the time being, pushing to 4.1 for re-evaluation.

Closing. We know even support qcow2v3, so really all the *real* variants of qcow that are available are supported.


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