Bug 1405051

Summary: SmartStateAnalysis on template throws "Error: [undefined method `each' for #<DMiqVim:0x0000000c0c7090>]" in evm.log
Product: Red Hat CloudForms Management Engine Reporter: Satyajit Bulage <sbulage>
Component: ProvidersAssignee: James Wong <jwong>
Status: CLOSED CURRENTRELEASE QA Contact: Dave Johnson <dajohnso>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.7.0CC: gblomqui, jfrey, jhardy, obarenbo, sbulage
Target Milestone: GAKeywords: TestOnly
Target Release: 5.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: smartstate:vmware
Fixed In Version: 5.10.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1518775 (view as bug list) Environment:
Last Closed: 2018-06-21 20:50:49 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: 1518775    

Description Satyajit Bulage 2016-12-15 13:14:44 UTC
Created attachment 1232168 [details]
evm.log during SSA on Template

Description of problem:


Version-Release number of selected component (if applicable):5.7.0.16.20161213213754_1ad3545


How reproducible:100%


Steps to Reproduce:
1.Add provider (I used provider vSphere55)
2.Performed SmartStateAnalysis on template 
3.

Actual results:Getting error in "Connection to [ems(via broker):10.8.58.22] failed for VM:[] with error [undefined method `server' for #<Hash:0x0000000f39e3b0>] after [2.083119504] seconds" as a last message in analysis task page.


Expected results:


Additional info:
see attached evm.log

Comment 6 CFME Bot 2017-11-28 14:03:39 UTC
New commit detected on ManageIQ/manageiq-providers-vmware/master:
https://github.com/ManageIQ/manageiq-providers-vmware/commit/694e6f18865c111735e4d31fb54a98ad9ba66b64

commit 694e6f18865c111735e4d31fb54a98ad9ba66b64
Author:     James Wong <webpotent>
AuthorDate: Mon Nov 27 15:44:17 2017 -0500
Commit:     James Wong <webpotent>
CommitDate: Mon Nov 27 15:45:12 2017 -0500

    SSA connect to use :hostname/:ipaddress instead of :address
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1405051

 .../providers/vmware/infra_manager/vm_or_template_shared/scanning.rb  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)