Bug 1166861 - SCVMM provider refresh error in process_iso_image function
Summary: SCVMM provider refresh error in process_iso_image function
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Insight
Version: 5.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: GA
: 5.4.0
Assignee: Bronagh Sorota
QA Contact: Aziza Karol
URL:
Whiteboard:
Depends On:
Blocks: 1178961
TreeView+ depends on / blocked
 
Reported: 2014-11-21 18:44 UTC by ncatling
Modified: 2015-06-16 12:45 UTC (History)
5 users (show)

Fixed In Version: 5.4.0.0.11
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1178961 (view as bug list)
Environment:
Last Closed: 2015-06-16 12:45:08 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:1100 0 normal SHIPPED_LIVE CFME 5.4.0 bug fixes, and enhancement update 2015-06-16 16:28:42 UTC

Description ncatling 2014-11-21 18:44:20 UTC
Description of problem:

ERROR -- : MIQ(MiqQueue.deliver)    Message id: [1000000574183], Error: [undefined method `[]' for nil:NilClass]
ERROR -- : [NoMethodError]: undefined method `[]' for nil:NilClass  Method:[rescue in deliver]
ERROR -- : /var/www/miq/vmdb/app/models/ems_refresh/parsers/scvmm.rb:381:in `process_iso_image'

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

5.3

How reproducible:

Seems to affect VMs with certain configuration during EMS refresh.

Steps to Reproduce:
1. On SCVMM provider in CF UI, initiate relationship refresh.
2.
3.

Actual results:

Failure produced, EMS provider not refreshed and updated relationships not shown in CF.


Expected results:

Updated relationships for provider shown in CF.


Additional info:

evm.log extract:

[----] E, [2014-11-21T18:28:19.248940 #27459:b888a0] ERROR -- : MIQ(MiqQueue.deliver)    Message id: [1000000574183], Error: [undefined method `[]' for nil:NilClass]
[----] E, [2014-11-21T18:28:19.249046 #27459:b888a0] ERROR -- : [NoMethodError]: undefined method `[]' for nil:NilClass  Method:[rescue in deliver]
[----] E, [2014-11-21T18:28:19.249180 #27459:b888a0] ERROR -- : /var/www/miq/vmdb/app/models/ems_refresh/parsers/scvmm.rb:381:in `process_iso_image'
/var/www/miq/vmdb/app/models/ems_refresh/parsers/scvmm.rb:356:in `process_vm_guest_devices'
/var/www/miq/vmdb/app/models/ems_refresh/parsers/scvmm.rb:184:in `parse_image'
/var/www/miq/vmdb/app/models/ems_refresh/parsers/scvmm.rb:70:in `block in get_images'
/var/www/miq/vmdb/app/models/ems_refresh/parsers/scvmm.rb:556:in `block in process_collection'
/var/www/miq/vmdb/app/models/ems_refresh/parsers/scvmm.rb:555:in `each'
/var/www/miq/vmdb/app/models/ems_refresh/parsers/scvmm.rb:555:in `process_collection'
/var/www/miq/vmdb/app/models/ems_refresh/parsers/scvmm.rb:70:in `get_images'
/var/www/miq/vmdb/app/models/ems_refresh/parsers/scvmm.rb:33:in `ems_inv_to_hashes'
/var/www/miq/vmdb/app/models/ems_refresh/parsers/scvmm.rb:8:in `ems_inv_to_hashes'

Comment 2 CFME Bot 2014-12-10 19:26:17 UTC
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/ffab376f0134a72d0143e593ff288ddccdf19440

commit ffab376f0134a72d0143e593ff288ddccdf19440
Author:     Bronagh Sorota <bsorota>
AuthorDate: Wed Dec 10 12:56:49 2014 -0500
Commit:     Bronagh Sorota <bsorota>
CommitDate: Wed Dec 10 12:56:49 2014 -0500

    SCVMM: Virtual DVD drive support fix
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1166861

 vmdb/app/models/ems_refresh/parsers/ps_scripts/get_inventory.ps1 | 2 ++
 vmdb/app/models/ems_refresh/parsers/scvmm.rb                     | 5 ++++-
 2 files changed, 6 insertions(+), 1 deletion(-)

Comment 4 Aziza Karol 2015-03-26 10:50:02 UTC
SCVMM provider refresh successful.

verified:
5.4.0.0.14.20150325124454_9e339f3

Comment 6 errata-xmlrpc 2015-06-16 12:45:08 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-1100.html


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