Bug 1353229

Summary: Upload image: default values for Image Type and Allocation Policy don't integrate
Product: [oVirt] ovirt-engine Reporter: Natalie Gavrielov <ngavrilo>
Component: BLL.StorageAssignee: Daniel Erez <derez>
Status: CLOSED CURRENTRELEASE QA Contact: Natalie Gavrielov <ngavrilo>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.0.1CC: amureini, bugs, tnisan
Target Milestone: ovirt-4.0.2Flags: rule-engine: ovirt-4.0.z+
rule-engine: planning_ack+
amureini: devel_ack+
acanan: testing_ack+
Target Release: 4.0.2   
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:30:12 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
snapshot none

Description Natalie Gavrielov 2016-07-06 15:03:35 UTC
Created attachment 1176930 [details]
snapshot

Description of problem:

Since oVirt does not support QCOW2 on preallocated policy - such settings should not be used as default when opening the upload window.

Version-Release number of selected components:

Engine:
rhevm-4.0.2-0.2.rc1.el7ev.noarch
ovirt-imageio-proxy-0.3.0-0.el7ev.noarch

Hosts:
vdsm-4.18.5.1-1.el7ev.x86_64
ovirt-imageio-daemon-0.3.0-0.el7ev.noarch
ovirt-imageio-common-0.3.0-0.el7ev.noarch

How reproducible:
100%

Steps to Reproduce:
Try to upload a disk using the webadmin:
Disks -> Upload

Actual results:

Default settings are:
Image type: QCOW2
Allocation Policy: Preallocated

If the user will leave the default settings provided he'll get an error.

Expected results:

For the default setting to integrate well or to have no default settings (let the user choose).

Additional info:
Leaving the default settings provided in the UI cause an error:
https://bugzilla.redhat.com/show_bug.cgi?id=1352897#2

Comment 1 Natalie Gavrielov 2016-08-02 16:03:05 UTC
Verified:
ovirt-imageio-common-0.3.0-0.el7ev.noarch
rhevm-4.0.2.3-0.1.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