Description of problem:
Smartstate analysis for VMs on SCVMM fails with the below error
[----] E, [2018-07-25T07:45:18.447327 #49869:5fb108] ERROR -- : Q-task_id([job_dispatcher]) MIQ(ManageIQ::Providers::Microsoft::InfraManager::Vm.connect_to_ems): Connection to [host(directly):] failed for VM:[TestService01] with error [no Hostname defined] after [0.000695679] seconds
[----] E, [2018-07-25T07:45:18.449385 #49869:5fb108] ERROR -- : Q-task_id([job_dispatcher]) MIQ(ManageIQ::Providers::Microsoft::InfraManager::Vm#perform_metadata_scan): undefined method `close' for nil:NilClass
Version-Release number of selected component (if applicable):
5.9.3.4
How reproducible:
Everytime at Cu environment
Steps to Reproduce:
1.
2.
3.
Actual results:
Expected results:
Additional info:
Performed Steps:
1. Added SCVMM Provider
2. Updated field with Hostname and IP address
3. In both the scenarios, performed SSA on VM and found that IP to hostname conversion is happening.
4. SSA on VM succeed in both scenario.
Verified Version: 5.10.0.21.20181023151612_4c11b0d