Bug 1287731

Summary: VMware provider refresh fails with 'divided by 0'
Product: Red Hat CloudForms Management Engine Reporter: Greg Blomquist <gblomqui>
Component: ProvidersAssignee: Adam Grare <agrare>
Status: CLOSED ERRATA QA Contact: Alex Newman <anewman>
Severity: high Docs Contact:
Priority: high    
Version: 5.4.0CC: agrare, cpelland, gblomqui, jfrey, jhardy, jprause, mfeifer, nachandr, ncatling, obarenbo, psavage, simaishi
Target Milestone: GAKeywords: ZStream
Target Release: 5.4.5   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: ems_refresh:vmware
Fixed In Version: 5.4.5.2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1282851 Environment:
Last Closed: 2016-03-29 14:15:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Bug
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1282851    
Bug Blocks:    

Comment 2 Adam Grare 2015-12-02 16:20:27 UTC
Root cause was having a VC >= 5.0 and VMs on hosts <= 4.1.  The numCoresPerSocket property was added in 5.0 [1] so the VC just set that value to 0 for any hosts older than 5.0.

[1] https://www.vmware.com/support/developer/converter-sdk/conv55_apireference/vim.vm.VirtualHardware.html

Comment 4 Alex Newman 2016-03-18 21:00:31 UTC
Verified w/ 5.1u3
Server Name 	EVM
Version 	5.4.5.2.20160315175001_800759c
User Name 	Administrator
User Role 	EvmRole-super_administrator
Browser 	Firefox
Browser Version 	38
Browser OS 	Linux

Comment 6 errata-xmlrpc 2016-03-29 14:15:05 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://rhn.redhat.com/errata/RHBA-2016-0171.html