Description of problem: In cloudforms dashboard. A virtual machine's disk information tab has "Provisioned Size", "Used Size" and "Percent Used of Provisioned Size" fields among others. The Provisioned Size of virtual disk is shown correctly but "Used Size" is not captured and its always blank due to which "Percent Used of Provisioned Size" is also not correctly populated. Collecting "used size" information is very important for storage capacity planning. thin provisioned disk actual disk usage should shown as "Used Size" and there should be a filter given to create a report based on "Used Size" of disks. Version-Release number of selected component (if applicable): 5.5.0.13.20151201120956_653c0d4 RHEV 3.5 and later How reproducible: always Steps to Reproduce: 1. Go to virtual machine tab and select a virtual machine to open its property page. Look for "Datastore Allocation Summary" section and click the disk icon in it. 2. "Number of Disks" for Virtual Machine "vm" page will open. Notice "Used Size" is set to blank and Percent Used Provisioned Space: is always 0.0 % Actual results: No used size information captured Expected results: A disk's "used size" information should be captured Additional info: qemu-img info 5360be1d-4a2c-4623-be3e-3c4e81bf22a3 image: 5360be1d-4a2c-4623-be3e-3c4e81bf22a3 file format: raw virtual size: 10G (10737418240 bytes) < should shown as provisioned disk disk size: 1.8G < should shown as used size
https://github.com/ManageIQ/manageiq/pull/7316
*** Bug 1214143 has been marked as a duplicate of this bug. ***
Verified on cfme downstream version 5.6.0.7-beta2.6.20160516171555_b1be31f. Reproduced first on cfme 5.5.0.13.20151201120956_653c0d4, for a rhel7.2 VM, both thin & thick disks has empty content under "Used size", and and 0 content under "Percent Used of Provisioned Size". However, on cfme 5.6.0.7-beta2.6.20160516171555_b1be31f, these 2 fields seem to have a valid content, for exact same VM disks.
Created attachment 1162794 [details] cfme 5.5.0.13 screenshot
Created attachment 1162795 [details] cfme 5.6.0.7 screenshot
*** Bug 1322764 has been marked as a duplicate of this bug. ***
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:1348