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

Bug 1728019

Summary: Ovirt creating preallocated disks when it should be creating thin-provisioned disks.
Product: [oVirt] ovirt-engine Reporter: Darrell <budic>
Component: BLL.StorageAssignee: Tal Nisan <tnisan>
Status: CLOSED DUPLICATE QA Contact: Avihai <aefrat>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.3.3.7CC: bugs
Target Milestone: ---   
Target Release: ---   
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: 2019-07-08 20:15:33 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:

Description Darrell 2019-07-08 19:56:30 UTC
Description of problem: Ovirt creating preallocated disks when it should creating thin-provisioned disks.


Version-Release number of selected component (if applicable):
Ovirt 4.3.3.7
ovirt-imageio-common-1.5.1-0.el7.x86_64
ovirt-engine-4.3.3.7-1.el7.noarch

How reproducible:
100%

Steps to Reproduce:
1. edit VM in GUI
2. goto disk tab
3. add new disk, selecting Thin-provision from the menu.

Actual results:
[root@ovirt ovirt-engine]# grep vulc_Disk3 engine.log
2019-07-08 19:42:33,519Z INFO  [org.ovirt.engine.core.vdsbroker.irsbroker.CreateImageVDSCommand] (default task-967) [8908fd6a-7eab-4b7e-a350-120c15b8bbab] START, CreateImageVDSCommand( CreateImageVDSCommandParameters:{storagePoolId='00000002-0002-0002-0002-000000000331', ignoreFailoverLimit='false', storageDomainId='a10b0cc4-b6ec-4b26-bef0-316e0e7bdcac', imageGroupId='2e2655d1-ce8f-47e9-8832-2a5b147dd09a', imageSizeInBytes='21474836480', volumeFormat='RAW', newImageId='32d5e63d-374f-4d68-8341-11723edf3f51', imageType='Preallocated', newImageDescription='{"DiskAlias":"kovan1-vulc_Disk3","DiskDescription":""}', imageInitialSizeInBytes='0'}), log id: 81f14e7
2019-07-08 19:42:34,292Z INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-967) [8908fd6a-7eab-4b7e-a350-120c15b8bbab] EVENT_ID: USER_ADD_DISK_TO_VM(78), Add-Disk operation of kovan1-vulc_Disk3 was initiated on VM kovan1-vulc by telsin@ohgnetworks-authz.


Expected results:
imageType is Thin or Sparse, not Preallocated. Fallocate is not run.

Additional info:
possibly a revision from https://bugzilla.redhat.com/show_bug.cgi?id=1571285 ?
Also, fallocate against gluster 6.x seems very slow, maybe same on 5 from anecdotal evidence.

Comment 1 Darrell 2019-07-08 20:15:33 UTC
Nevermind, duplicate of 1704782, apparently my search terms weren't good enough to find it?

*** This bug has been marked as a duplicate of bug 1704782 ***