Bug 1412179

Summary: VMware EMS Refresh fails with "block (2 levels) in getMoPropMulti' error
Product: Red Hat CloudForms Management Engine Reporter: Prasad Mukhedkar <pmukhedk>
Component: ProvidersAssignee: Adam Grare <agrare>
Status: CLOSED CURRENTRELEASE QA Contact: Alex Newman <anewman>
Severity: high Docs Contact:
Priority: high    
Version: 5.7.0CC: agrare, anewman, clasohm, gblomqui, jfrey, jhardy, jocarter, kmorey, obarenbo, sacpatil
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.8.0   
Hardware: x86_64   
OS: Linux   
Whiteboard: vmware:ems_refresh
Fixed In Version: 5.8.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1416826 1418000 (view as bug list) Environment:
Last Closed: 2017-06-12 17:26:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: VMware Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1416826, 1418000    
Attachments:
Description Flags
Hotfix for 5.7.0.17 none

Comment 5 Dave Johnson 2017-01-12 19:41:58 UTC
FYI, same error as summary, getMoPropMulti, showing in https://bugzilla.redhat.com/show_bug.cgi?id=1402797#c5

Comment 9 CFME Bot 2017-01-16 21:12:38 UTC
New commit detected on ManageIQ/manageiq-gems-pending/master:
https://github.com/ManageIQ/manageiq-gems-pending/commit/7acfd8cee038bf166d8ec5634daa733945a84835

commit 7acfd8cee038bf166d8ec5634daa733945a84835
Author:     Adam Grare <adam>
AuthorDate: Mon Jan 16 11:53:18 2017 -0500
Commit:     Adam Grare <adam>
CommitDate: Mon Jan 16 16:07:02 2017 -0500

    Use Array() for non-array propSet
    
    In the case where ObjectContent.propSet is nil [oc.propSet] will result
    in [nil] where Array(oc.propSet) will result in []
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1412179

 lib/gems/pending/VMwareWebService/MiqVimInventory.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comment 16 Adam Grare 2017-01-31 15:26:12 UTC
Created attachment 1246337 [details]
Hotfix for 5.7.0.17

Attached a hotfix for 5.7.0, scp 5_7_0_17_hotfix_1412179_nil_prop_set.tar.gz to /var/www/miq/vmdb and un-tar it there.