Bug 1395854 - Refresh failing on kubeclient parsing OpenShift objects definition [NEEDINFO]
Summary: Refresh failing on kubeclient parsing OpenShift objects definition
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.7.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.7.0
Assignee: zakiva
QA Contact: Einat Pacifici
URL:
Whiteboard: container
Depends On: 1387614
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-16 20:13 UTC by Satoe Imaishi
Modified: 2017-05-08 10:40 UTC (History)
14 users (show)

Fixed In Version: 5.7.0.14
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1387614
Environment:
Last Closed: 2017-01-04 13:14:41 UTC
Category: ---
Cloudforms Team: Container Management
Target Upstream Version:
dron: needinfo+
mtayer: needinfo? (epacific)


Attachments (Terms of Use)
evm.tar.gz log (334.01 KB, application/x-gzip)
2016-11-27 11:16 UTC, Einat Pacifici
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:0012 0 normal SHIPPED_LIVE CFME 5.7.0 bug fixes and enhancement update 2017-01-04 17:50:36 UTC

Comment 7 Dafna Ron 2016-11-24 16:07:38 UTC
after discussion with Federico and Loic to reproduce: 
attach 3.1 openshift to 5.7 and refresh - see data is refreshed.

Comment 8 Einat Pacifici 2016-11-27 11:16:34 UTC
Created attachment 1224801 [details]
evm.tar.gz log

Failed 

Recreated: 
CFME 5.7. with OSE3.1.
Attached a new provider. 
Refresh fails with: Error - 1 Minute Ago
undefined method `get_pods' for #<Kubeclient::Client:0x0000000203ccd8> Did you mean? get_pod_log 

evm.tar.gz log attached.

Comment 12 zakiva 2016-12-06 16:36:53 UTC
As commented in the original bug the new fix is here:
Adding backward compatibility for 3.1 in kubeclient (which indeed fixes the OSE 3.1 issue): 
https://github.com/abonas/kubeclient/pull/214

Another related PRs (bumping kubeclient version):
Kubeclient - https://github.com/abonas/kubeclient/pull/216
Manageiq (euwe branch) - https://github.com/ManageIQ/manageiq/pull/12978
Manageiq-gems-pending (master branch) - https://github.com/ManageIQ/manageiq-gems-pending/pull/28

Comment 14 Einat Pacifici 2016-12-08 09:52:06 UTC
Verified. 
In previous versions, when refreshing provider (of OSE3.1. version) the error was seen: "Error - Less Than A Minute Ago
undefined method `get_pods' for #<Kubeclient::Client:0x00000002474260> Did you mean? get_pod_log "

Starting from 5.7.0.14, when refreshing provider (of OSE3.1 version) the refresh passes successfully.

Comment 15 Mooli Tayer 2016-12-08 10:05:21 UTC
We need to make sure the new code added to support OSE3.1 does not cause regression in later versions - not supporting a new version is a lot worth then not supporting an old one.

Comment 17 errata-xmlrpc 2017-01-04 13:14:41 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-2017-0012.html


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