Bug 1388984

Summary: Inventory Refresh failing for Container Provider.
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: ProvidersAssignee: Mooli Tayer <mtayer>
Status: CLOSED ERRATA QA Contact: Pavel Zagalsky <pzagalsk>
Severity: high Docs Contact:
Priority: high    
Version: 5.6.0CC: cpelland, fsimonce, jfrey, jhardy, jocarter, mtayer, obarenbo, yzamir
Target Milestone: GAKeywords: ZStream
Target Release: 5.6.3   
Hardware: All   
OS: All   
Whiteboard: container
Fixed In Version: 5.6.3.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1383498 Environment:
Last Closed: 2016-11-30 19:57:26 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: 1383498    
Bug Blocks:    
Attachments:
Description Flags
Proposed Patch none

Comment 2 CFME Bot 2016-11-03 21:01:28 UTC
New commit detected on ManageIQ/manageiq/darga:
https://github.com/ManageIQ/manageiq/commit/43b00e941ac9ecb07f26a031e81ccab1f4506385

commit 43b00e941ac9ecb07f26a031e81ccab1f4506385
Author:     Oleg Barenboim <chessbyte>
AuthorDate: Tue Oct 25 19:57:16 2016 +0200
Commit:     Oleg Barenboim <chessbyte>
CommitDate: Thu Nov 3 16:51:24 2016 -0400

    Merge pull request #11974 from moolitayer/handle_nil_argument
    
    Handle nil container state
    (cherry picked from commit 8a5e0ce131114721b79c50c710c345bb332dbb4a)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1388984

 .../providers/kubernetes/container_manager/refresh_parser.rb       | 4 ++--
 .../providers/kubernetes/container_manager/refresh_parser_spec.rb  | 7 +++++++
 2 files changed, 9 insertions(+), 2 deletions(-)

Comment 3 Yaacov Zamir 2016-11-08 07:59:06 UTC
Created attachment 1218433 [details]
Proposed Patch

The gzipped tar archive has a single file app/models/manageiq/providers/kubernetes/container_manager/refresh_parser.rb

On a Test appliance please make a backup of the existing file app/models/manageiq/providers/kubernetes/container_manager/refresh_parser.rb and replace it with the enclosed file.

Comment 4 Pavel Zagalsky 2016-11-28 08:31:18 UTC
Looks good on 5.7.0.10

Comment 6 errata-xmlrpc 2016-11-30 19:57:26 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/RHSA-2016-2839.html