Bug 1693798

Summary: python2-openshift encoding error
Product: OpenShift Container Platform Reporter: Brendan Mchugh <bmchugh>
Component: ReleaseAssignee: Jesus M. Rodriguez <jesusr>
Status: CLOSED ERRATA QA Contact: Brendan Mchugh <bmchugh>
Severity: medium Docs Contact:
Priority: high    
Version: 3.11.0CC: aos-bugs, eparis, fabian, fgrosjea, gpei, jesusr, jmontleo, jokerman, mmccomas, sbelmasg, wsun
Target Milestone: ---   
Target Release: 3.11.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-06-17 20:21:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Brendan Mchugh 2019-03-28 16:10:58 UTC
Description of problem:
When getting configmaps from an Openshift cluster an encoding error is raised if non ASCII characters are returned.

Version-Release number of selected component (if applicable):
python2-openshift-0.6.2-12.el7.noarch.rpm

How reproducible:
Always

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
This PR seems to resolve the issue: https://github.com/openshift/openshift-restclient-python/pull/225

Unfortunately the merge commit of this PR is only included in the 0.8 version and Openshift 3.11 repo is only providing 0.6.2

Is it possible to get a version bump soon ? Or do you recommend a workaround ?

Comment 4 Xingxing Xia 2019-09-17 06:36:10 UTC
(In reply to Brendan Mchugh from comment #0)
> Version-Release number of selected component (if applicable):
> python2-openshift-0.6.2-12.el7.noarch.rpm
> How reproducible:

> This PR seems to resolve the issue:
> https://github.com/openshift/openshift-restclient-python/pull/225
> Unfortunately the merge commit of this PR is only included in the 0.8
> version and Openshift 3.11 repo is only providing 0.6.2

Checked latest http://download.eng.bos.redhat.com/rcm-guest/puddles/RHAOS/AtomicOpenShift/3.11/latest/x86_64/os/Packages/ , it still shows 0.6.2:
python2-openshift-0.6.2-12.el7.noarch.rpm    06-Aug-2018 15:47  648K

Thus assigning back.

PS: not sure who's responsible to build it.
It is a client written in python like oc written in go; not sure who's responsible to test this python client.
BTW checked `rpm2cpio python2-openshift-0.6.2-12.el7.noarch.rpm | cpio -div`, there are many files; not sure which file to call to verify it.
Clicked around, found https://github.com/openshift/openshift-restclient-python/issues/224 which provided some info.
Brendan Mchugh, could you help verify or reach related people to verify it once it is fixed?

Comment 20 Wei Sun 2020-06-16 10:44:00 UTC
Could you give some update for this bug?

Comment 24 errata-xmlrpc 2020-06-17 20:21:25 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/RHBA-2020:2477

Comment 25 Red Hat Bugzilla 2023-09-14 05:26:07 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days