Hide Forgot
Description of problem: After adding a scvmm provider the refresh failed and cloudforms is unable to collect inventory. [----] I, [2016-11-10T15:57:41.659903 #13942:f93148] INFO -- : MIQ(MiqQueue#deliver) Message id: [12000000000147], Delivering... [----] I, [2016-11-10T15:57:41.665034 #13942:f93148] INFO -- : MIQ(MiqQueue#delivered) Message id: [12000000000147], State: [ok], Delivered in [0.005121527] seconds [----] E, [2016-11-10T15:57:46.205076 #14682:f93148] ERROR -- : <SCVMM> MIQ(Class#log_dos_error_results) Index operation failed; the array index evaluated to null. [----] E, [2016-11-10T15:57:46.250503 #14682:f93148] ERROR -- : MIQ(ManageIQ::Providers::Microsoft::InfraManager::Refresher#refresh) EMS: [gss-scvmm], id: [12000000000001] Refresh failed [----] E, [2016-11-10T15:57:46.250929 #14682:f93148] ERROR -- : [NoMethodError]: undefined method `each_element' for nil:NilClass Method:[rescue in block in refresh] [----] E, [2016-11-10T15:57:46.251226 #14682:f93148] ERROR -- : /var/www/miq/vmdb/gems/pending/util/win32/miq-powershell.rb:216:in `process_root' /var/www/miq/vmdb/gems/pending/util/win32/miq-powershell.rb:207:in `to_h' /var/www/miq/vmdb/app/models/manageiq/providers/microsoft/infra_manager/powershell.rb:30:in `powershell_xml_to_hash' /var/www/miq/vmdb/app/models/manageiq/providers/microsoft/infra_manager/powershell.rb:25:in `powershell_results_to_hash' /var/www/miq/vmdb/app/models/manageiq/providers/microsoft/infra_manager/powershell.rb:7:in `execute_powershell' /var/www/miq/vmdb/app/models/manageiq/providers/microsoft/infra_manager/refresh_parser.rb:22:in `ems_inv_to_hashes' /var/www/miq/vmdb/app/models/manageiq/providers/microsoft/infra_manager/refresh_parser.rb:8:in `ems_inv_to_hashes' /var/www/miq/vmdb/app/models/manageiq/providers/microsoft/infra_manager/refresher.rb:6:in `parse_legacy_inventory' /var/www/miq/vmdb/app/models/ems_refresh/refreshers/ems_refresher_mixin.rb:122:in `block in parse_targeted_inventory' /var/www/miq/vmdb/gems/pending/util/extensions/miq-benchmark.rb:11:in `realtime_store' /var/www/miq/vmdb/gems/pending/util/extensions/miq-benchmark.rb:30:in `realtime_block' /var/www/miq/vmdb/app/models/ems_refresh/refreshers/ems_refresher_mixin.rb:122:in `parse_targeted_inventory' /var/www/miq/vmdb/app/models/ems_refresh/refreshers/ems_refresher_mixin.rb:87:in `block in refresh_targets_for_ems' /var/www/miq/vmdb/gems/pending/util/extensions/miq-benchmark.rb:11:in `realtime_store' /var/www/miq/vmdb/gems/pending/util/extensions/miq-benchmark.rb:30:in `realtime_block' /var/www/miq/vmdb/app/models/ems_refresh/refreshers/ems_refresher_mixin.rb:86:in `refresh_targets_for_ems' /var/www/miq/vmdb/app/models/ems_refresh/refreshers/ems_refresher_mixin.rb:24:in `block (2 levels) in refresh' Version-Release number of selected component (if applicable): Version 5.7.0.10-beta3.20161109111947_9a61b18 How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
I'm green across the board on SCVMM and SCVMM-SP1 refreshes. It's probably low memory/low disk space. Find me on #cfme-qe under "jt" and I'll take a look.
I'm going to close this as it was a config issue and nothing to do with cfme as near as I can tell. I rebuilt the scvmm and connected to the same host and the errors went away. There was something strange about the config that I could fix. SCVMM was installed on baremetal alongside hyper-v but I went ahead and created a new one. scvmmr2.gsslab.rdu2.redhat.com with all the same creds, hosts, and vms. Give it a shot, but I'm going to close this bug. I'll keep an eye on it for a while and we can reopen this if necessary.