Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 1511502

Summary: set_network_adapter method erroring out with undefined method `[]' for nil:NilClass')]
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: AutomateAssignee: Greg McCullough <gmccullo>
Status: CLOSED ERRATA QA Contact: Alex Newman <anewman>
Severity: medium Docs Contact:
Priority: high    
Version: 5.8.0CC: anewman, brant.evans, jhardy, ldixon, mkanoor, obarenbo, rmanes, smallamp, tfitzger
Target Milestone: GAKeywords: ZStream
Target Release: 5.8.3   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1508069 Environment:
Last Closed: 2018-02-28 13:08:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1508069    
Bug Blocks:    

Comment 2 CFME Bot 2017-11-14 14:13:47 UTC
New commit detected on ManageIQ/manageiq-providers-vmware/fine:

commit b58eef51fb5dca864dea82efcd07606b892dc48d
Author:     Adam Grare <>
AuthorDate: Wed Nov 8 14:41:07 2017 -0500
Commit:     Satoe Imaishi <>
CommitDate: Tue Nov 14 09:11:51 2017 -0500

    Merge pull request #132 from gmcculloug/normalize_network_adapter
    Properly update network hash when the first array element is nil
    (cherry picked from commit 9d93a0dd7242405220c5ea11bbaa3e043d571ae2)

 .../provision/configuration/network.rb             | 40 ++++++++++------
 .../provision/configuration/network_spec.rb        | 55 ++++++++++++++++++++++
 2 files changed, 81 insertions(+), 14 deletions(-)
 create mode 100644 spec/models/manageiq/providers/vmware/infra_manager/provision/configuration/network_spec.rb

Comment 5 errata-xmlrpc 2018-02-28 13:08:18 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.