Created attachment 1078408 [details] scvmm.patch Description of problem: Errors raised when refreshing the powerstate of a Hyper-V provider: Error #1 (While processing hypervisors) [----] E, [2015-09-25T14:48:26.001425 #21767:1285e8c] ERROR -- : MIQ(EmsRefresh::Refreshers::ScvmmRefresher.refresh) EMS: [SCVMM], id: [1000000000009] Refresh failed [----] E, [2015-09-25T14:48:26.001556 #21767:1285e8c] ERROR -- : [NoMethodError]: undefined method `collect' for nil:NilClass Method:[rescue in block in refresh] [----] E, [2015-09-25T14:48:26.001650 #21767:1285e8c] ERROR -- : /var/www/miq/vmdb/app/models/ems_refresh/parsers/scvmm.rb:251:in `process_host_storages' Error #2 (While processing hypervisors) [----] E, [2015-09-25T16:15:41.788747 #42789:985e90] ERROR -- : MIQ(EmsRefresh::Refreshers::ScvmmRefresher.refresh) EMS: [SCVMM], id: [1000000000009] Refresh failed [----] E, [2015-09-25T16:15:41.788904 #42789:985e90] ERROR -- : [NoMethodError]: undefined method `each' for nil:NilClass Method:[rescue in block in refresh] [----] E, [2015-09-25T16:15:41.788988 #42789:985e90] ERROR -- : /var/www/miq/vmdb/app/models/ems_refresh/parsers/scvmm.rb:259:in `map_mount_point_to_datastore' Error #3 (While processing VMs/Templates – not sure which yet) [----] E, [2015-09-28T10:49:35.983952 #32401:89de88] ERROR -- : MIQ(EmsRefresh::Refreshers::ScvmmRefresher.refresh) EMS: [SCVMM], id: [1000000000009] Refresh failed [----] E, [2015-09-28T10:49:35.984142 #32401:89de88] ERROR -- : [NoMethodError]: undefined method `empty?' for nil:NilClass Method:[rescue in block in refresh] [----] E, [2015-09-28T10:49:35.984231 #32401:89de88] ERROR -- : /var/www/miq/vmdb/app/models/ems_refresh/parsers/scvmm.rb:397:in `process_vm_guest_devices’ Version-Release number of selected component (if applicable): cfme 5.4.2.0.1 How reproducible: all the time on customer setup Steps to Reproduce: 1. initiate a refresh of the provider 2. 3. Actual results: traces in scvmm.rb Expected results: refresh goes through Additional info: - hyper-V SP1
Created attachment 1078409 [details] error1.log
Created attachment 1078410 [details] error2.log
Created attachment 1078411 [details] error3.log
Jeff, can you reproduce this in our qe environment?
I'm not seeing the issue. I checked 5.4.2 and 5.4.3, SCVMM SP1 and SCVMM R2 on both appliances. It all seems to be working fine. Perhaps there is some other step. Was the provider working and then just stopped, or has it never worked?
Bronagh, check with Jeff/Dajo to see if there's anything to do here yet. You may have to wait for more information on this one.
Tried again on SCVMM R2 and SCVMM SP1 and I don't see anything. jt
Nick, Looks like this issue has been closed on the Red Hat Customer Portal, can we close this BZ? thanks Bronagh