Bug 1405051 - SmartStateAnalysis on template throws "Error: [undefined method `each' for #<DMiqVim:0x0000000c0c7090>]" in evm.log
Summary: SmartStateAnalysis on template throws "Error: [undefined method `each' for #<...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.7.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: 5.10.0
Assignee: James Wong
QA Contact: Dave Johnson
URL:
Whiteboard: smartstate:vmware
Depends On:
Blocks: 1518775
TreeView+ depends on / blocked
 
Reported: 2016-12-15 13:14 UTC by Satyajit Bulage
Modified: 2018-06-21 20:50 UTC (History)
5 users (show)

Fixed In Version: 5.10.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1518775 (view as bug list)
Environment:
Last Closed: 2018-06-21 20:50:49 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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(-)


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