Bug 1322902
Summary: | VMware provider doesn't report actual disk usage in VM details | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Christian Jung <cbolz> | ||||||||
Component: | Providers | Assignee: | Adam Grare <agrare> | ||||||||
Status: | CLOSED ERRATA | QA Contact: | Satyajit Bulage <sbulage> | ||||||||
Severity: | medium | Docs Contact: | |||||||||
Priority: | medium | ||||||||||
Version: | 5.5.0 | CC: | bbilgin, cbolz, jfrey, jhardy, mfeifer, nachandr, obarenbo | ||||||||
Target Milestone: | GA | Keywords: | ZStream | ||||||||
Target Release: | 5.6.0 | ||||||||||
Hardware: | All | ||||||||||
OS: | Linux | ||||||||||
Whiteboard: | smartstate:vmware | ||||||||||
Fixed In Version: | 5.6.0.1 | Doc Type: | Bug Fix | ||||||||
Doc Text: |
Previously, the "number of disks" field in the virtual machines area of the UI did not report disk usage statistics for VMware virtual machines. This occurred because of an error in the code which caused an exception during SmartState Analysis. This has been fixed in the code and virtual machine disk usage is now reported correctly.
|
Story Points: | --- | ||||||||
Clone Of: | |||||||||||
: | 1326461 (view as bug list) | Environment: | |||||||||
Last Closed: | 2016-06-29 15:46:46 UTC | Type: | Bug | ||||||||
Regression: | --- | Mount Type: | --- | ||||||||
Documentation: | --- | CRM: | |||||||||
Verified Versions: | Category: | --- | |||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||
Embargoed: | |||||||||||
Bug Depends On: | |||||||||||
Bug Blocks: | 1310121, 1326461 | ||||||||||
Attachments: |
|
Description
Christian Jung
2016-03-31 15:19:57 UTC
Created attachment 1142273 [details]
used size for a virtual machine
reported value is empty
Created attachment 1142274 [details]
used size for a template
reported value is correct
HiHo, in my lab there are only RHEL6 VMs and they all show the same (missing) information. SSA works fine, as far as I can tell. It just doesn't show the correct "used size" in the details of the VM > Number of disks UI. I did run "InspectMe" for the VM and the template. VM collected data: [----] I, [2016-04-07T05:33:21.354349 #3080:1da8620] INFO -- : <AEMethod inspectme> Virtual Columns - disk_1_size: 5368709120 [----] I, [2016-04-07T05:33:21.357674 #3080:1da8620] INFO -- : <AEMethod inspectme> Virtual Columns - disk_1_size_on_disk: nil Template collected data: [----] I, [2016-04-07T05:34:15.480057 #3080:1daa3e4] INFO -- : <AEMethod inspectme> Virtual Columns - disk_1_size: 5368709120 [----] I, [2016-04-07T05:34:15.483523 #3080:1daa3e4] INFO -- : <AEMethod inspectme> Virtual Columns - disk_1_size_on_disk: 1289687040 For the VM "size on disk" is nil, but for the template it's the correct value. I'll upload all logs and attach them to this ticket. Regards, Christian New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/75153c9146c0ca75e700247be52588dac1ed83cf commit 75153c9146c0ca75e700247be52588dac1ed83cf Author: Adam Grare <agrare> AuthorDate: Mon Apr 11 10:15:39 2016 -0400 Commit: Adam Grare <agrare> CommitDate: Mon Apr 11 10:30:08 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=1322902 gems/pending/metadata/VmConfig/VmConfig.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) Root cause was a bad require causing a ruby LoadError in VmConfig#load_vim_snapshots. SSA on templates worked because they bypassed this require because a snapshot is not required for SSA on a template. verified this bug in: 5.6.0.4-beta2.3.20160421172650_719e256 disk usage is collected correctly for vm's on vmware providers. refer the screen shot "ssa_used_size_works" steps followed: configure the appliance for smart state analysism,by installing vddk and enabling "smart proxy". 1. add the vmware provider, add the credentials for provider and hosts. 2. run the ssa on any vm. wait for ssa to complete. monitor evm.log 3. check the "number of disks" -> "used size" displayed correctly for the vm's. verified for RHEL 6 and Fedora 22 vm's. Created attachment 1150644 [details]
ssa_used_size_works for vmware vm's
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 |