Bug 1326461 - VMware provider doesn't report actual disk usage in VM details
Summary: VMware provider doesn't report actual disk usage in VM details
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.5.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: GA
: 5.5.4
Assignee: Adam Grare
QA Contact: Satyajit Bulage
URL:
Whiteboard: smartstate:vmware
Depends On: 1322902
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-12 17:50 UTC by John Prause
Modified: 2019-11-14 07:46 UTC (History)
8 users (show)

Fixed In Version: 5.5.4.0
Doc Type: Bug Fix
Doc Text:
Previously, when navigating to a VM and attempting to view the disk usage details by clicking on "Number of disks", the details were not reported. This was caused due to a broken require which was throwing an exception when running SmartState Analysis on a virtual machine. This caused no XML to be returned for the disks section of VmConfig, so the "Used Size" and "Partitions Aligned" were always empty for a VM. This patch fixes the broken require and the issue is now resolved.
Clone Of: 1322902
Environment:
Last Closed: 2016-05-31 13:42:34 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1101 0 normal SHIPPED_LIVE CFME 5.5.4 bug fixes and enhancement update 2016-05-31 17:40:10 UTC

Comment 3 CFME Bot 2016-04-25 16:55:51 UTC
New commit detected on cfme/5.5.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=91a373ec6969e70f20124f9d6dc4db0c1d435e20

commit 91a373ec6969e70f20124f9d6dc4db0c1d435e20
Author:     Adam Grare <agrare>
AuthorDate: Mon Apr 11 10:15:39 2016 -0400
Commit:     Adam Grare <agrare>
CommitDate: Tue Apr 12 14:01:33 2016 -0400

    Fix for used disk size not showing up on vms
    
    Fix a broken require which was throwing an exception when running
    SSA on a VM.  This caused no XML to be returned for the disks
    section of VmConfig, so the "Used Size" and "Partitions Aligned"
    were always empty for a VM.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1326461

 gems/pending/metadata/VmConfig/VmConfig.rb | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

Comment 4 CFME Bot 2016-04-25 16:56:09 UTC
New commit detected on cfme/5.5.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=d289fc1efd89a0f4e4320b4f1dddf65b1a76f7a0

commit d289fc1efd89a0f4e4320b4f1dddf65b1a76f7a0
Merge: d94c67a 91a373e
Author:     Greg Blomquist <gblomqui>
AuthorDate: Mon Apr 25 11:07:15 2016 -0400
Commit:     Greg Blomquist <gblomqui>
CommitDate: Mon Apr 25 11:07:15 2016 -0400

    Merge branch 'bz_1326461_ssa_vm_used_size' into '5.5.z'
    
    Fix for used disk size not showing up on vms
    
    Fix a broken require which was throwing an exception when running
    SSA on a VM.  This caused no XML to be returned for the disks
    section of VmConfig, so the "Used Size" and "Partitions Aligned"
    were always empty for a VM.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1326461
    
    Upstream PR https://github.com/ManageIQ/manageiq/pull/7865
    
    See merge request !892

 gems/pending/metadata/VmConfig/VmConfig.rb | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

Comment 6 Satyajit Bulage 2016-05-03 14:18:22 UTC
Able to see actual disk usage for VM as well as for Datastores after running SmartStateAnalysis on it.

Verified Version:- 5.5.4.0.20160426160942_629f93b

Comment 8 errata-xmlrpc 2016-05-31 13:42:34 UTC
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:1101


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