Bug 1241656 - SCVMM provider refresh fails where VM disks are not present
Summary: SCVMM provider refresh fails where VM disks are not present
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.4.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.4.1
Assignee: Bronagh Sorota
QA Contact: Nandini Chandra
URL:
Whiteboard:
Depends On: 1234871
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-07-09 17:50 UTC by Chris Pelland
Modified: 2019-07-11 09:35 UTC (History)
14 users (show)

Fixed In Version: 5.4.1.0
Doc Type: Bug Fix
Doc Text:
In the previous version of CloudForms Management Engine, SCVMM provider discovery failed where VM disks were not present and threw the following error: This was because there was no validation to see if a disk was present. Error: [NoMethodError]: undefined method `collect' for nil:NilClass Method:[rescue in block in refresh] Error: /var/www/miq/vmdb/app/models/ems_refresh/parsers/scvmm.rb:443:in `process_vm_storages This bug was fixed by amending process_vm_storages procedure in scvmm.rb; returns if no disks are present on the VM.
Clone Of: 1234871
Environment:
Last Closed: 2015-07-30 13:12:30 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:1511 0 normal SHIPPED_LIVE CFME 5.4.1 bug fixes, and enhancement update 2015-07-30 17:10:05 UTC

Comment 2 CFME Bot 2015-07-15 19:59:41 UTC
New commit detected on cfme/5.4.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=973a26cd28c9b92e9d6ae0d320b0664db8eb2a31

commit 973a26cd28c9b92e9d6ae0d320b0664db8eb2a31
Merge: 4186d74 14de85d
Author:     Greg Blomquist <gblomqui>
AuthorDate: Wed Jul 15 15:53:29 2015 -0400
Commit:     Greg Blomquist <gblomqui>
CommitDate: Wed Jul 15 15:53:29 2015 -0400

    Merge branch 'scvmm_no_disks_error_5.4.z_attempt2' into '5.4.z'
    
    SCVMM - gracefully handle diskless VMs
    
    See PR: https://github.com/ManageIQ/manageiq/pull/3388
    This was a clean merge
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1241656
    
    See merge request !179

 vmdb/app/models/ems_refresh/parsers/scvmm.rb | 2 ++
 1 file changed, 2 insertions(+)

Comment 4 Nandini Chandra 2015-07-24 19:34:19 UTC
Verified in 5.4.1.0

Comment 6 errata-xmlrpc 2015-07-30 13:12:30 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-1511.html


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