Bug 1693798 - python2-openshift encoding error
Summary: python2-openshift encoding error
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Release
Version: 3.11.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ---
: 3.11.z
Assignee: Jesus M. Rodriguez
QA Contact: Brendan Mchugh
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-03-28 16:10 UTC by Brendan Mchugh
Modified: 2023-10-06 18:12 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-06-17 20:21:25 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:2477 0 None None None 2020-06-17 20:21:43 UTC

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


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