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

Bug 1291080

Summary: [engine-backend] Actual size of disk, that was previously imported from Glance, is reported wrongly in 'attach' disk view
Product: [oVirt] ovirt-engine Reporter: Elad <ebenahar>
Component: BLL.StorageAssignee: Maor <mlipchuk>
Status: CLOSED CURRENTRELEASE QA Contact: Elad <ebenahar>
Severity: medium Docs Contact:
Priority: high    
Version: 3.6.1.1CC: amureini, bugs, mgoldboi, sbonazzo, tnisan, ylavi
Target Milestone: ovirt-3.6.5Keywords: EasyFix
Target Release: 3.6.5Flags: rule-engine: ovirt-3.6.z+
rule-engine: exception+
ylavi: planning_ack+
amureini: devel_ack+
acanan: testing_ack+
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-21 14:40:36 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:
Attachments:
Description Flags
engine.log, vdsm.log and screenshots none

Description Elad 2015-12-13 14:19:08 UTC
Created attachment 1105337 [details]
engine.log, vdsm.log and screenshots

Description of problem:
Actual size of a disk, that was previously imported from Glance repository,  is reported always as less than 1GB (<1) in the attach to VM view.


Version-Release number of selected component (if applicable):
rhevm-3.6.1.1-0.1.el6.noarch
vdsm-4.17.999-126.git6cfe476.el7.noarch


How reproducible:
Always

Steps to Reproduce:
1. Have a Glance repository integrated in RHEVM with more than 1GB image
2. Import the image to a data domain
3. Create a VM and open attach disk view

Actual results:
Disk appears as <1 GB in actual size
From other views, the same disk appears with its true size which is larger than 1 GB.

Expected results:
Disk actual size should be reported correctly.
The fix for this issue should be similar to https://gerrit.ovirt.org/#/c/48589/

Additional info:
engine.log, vdsm.log and screenshots

====================================================================
Image import in engine.log:


2015-12-13 13:35:59,880 INFO  [org.ovirt.engine.core.vdsbroker.irsbroker.DownloadImageVDSCommand] (org.ovirt.thread.pool-7-thread-35) [580eb209] START, DownloadImageVDSCommand( DownloadImageVDSCommandParameters:{runAsync='true', storagePoolId='9684207b-755e-4c00-9127-2c4e10b9506a', ignoreFailoverLimit='false', storageDomainId='8c7ea71c-3312-4504-9be8-ab2e9a1a78c9', imageGroupId='cf50aee4-4ab8-412f-bf48-5062b26124aa', imageId='79786b0c-1eef-4563-b603-44018b15be9c'}), log id: 502228da

Comment 1 Elad 2016-04-03 11:34:32 UTC
Disk, that was imported from Glance repository, actual size is reported correctly under the attach to VM view.

Verified using:
rhevm-3.6.5-0.1.el6.noarch
vdsm-4.17.25-0.el7ev.noarch