Bug 1462801

Summary: Openshift refresh crashes due to template.objects being nil
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: ProvidersAssignee: zakiva
Status: CLOSED ERRATA QA Contact: Pavel Zagalsky <pzagalsk>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.8.0CC: cpelland, fsimonce, gblomqui, jfrey, jhardy, obarenbo, simaishi, zakiva
Target Milestone: GAKeywords: ZStream
Target Release: 5.8.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: containers
Fixed In Version: 5.8.1.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1461785 Environment:
Last Closed: 2017-08-02 17:32:21 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: Container Management Target Upstream Version:
Embargoed:
Bug Depends On: 1461785    
Bug Blocks:    

Comment 2 CFME Bot 2017-06-19 15:01:03 UTC
New commit detected on ManageIQ/manageiq/fine:
https://github.com/ManageIQ/manageiq/commit/d225fa0003a7f5b77d048f634290de796d37c195

commit d225fa0003a7f5b77d048f634290de796d37c195
Author:     Mooli Tayer <mtayer>
AuthorDate: Mon Jun 19 13:01:50 2017 +0300
Commit:     Satoe Imaishi <simaishi>
CommitDate: Mon Jun 19 10:55:26 2017 -0400

    Merge pull request #24 from zakiva/fix_nil_objects
    
    Fix parsing for Container Template without objects
    (cherry picked from commit 7ff46d374a68156d4a27c2531e7db5bce503c53b)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1462801

 .../openshift/container_manager/refresh_parser.rb  |  2 +-
 .../container_manager/refresh_parser_spec.rb       | 22 ++++++++++++++++++++++
 2 files changed, 23 insertions(+), 1 deletion(-)

Comment 3 Pavel Zagalsky 2017-07-04 07:56:22 UTC
Doesn't happen on 5.8.1.0 with a created template that has empty values

Comment 5 errata-xmlrpc 2017-08-02 17:32:21 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://access.redhat.com/errata/RHSA-2017:1758