Bug 1950007 - [CI] [UPI] easy_install is not reliable enough to be used in an image
Summary: [CI] [UPI] easy_install is not reliable enough to be used in an image
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 4.8
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.8.0
Assignee: Etienne Simard
QA Contact: Etienne Simard
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-04-15 14:57 UTC by Etienne Simard
Modified: 2021-07-27 23:01 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
This is a CI-only fix.
Clone Of:
Environment:
Last Closed: 2021-07-27 23:01:13 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift installer pull 4850 0 None open Bug 1950007: UPI image: use get-pip instead of easy_install 2021-04-15 15:25:23 UTC
Red Hat Product Errata RHSA-2021:2438 0 None None None 2021-07-27 23:01:31 UTC

Description Etienne Simard 2021-04-15 14:57:13 UTC
Use a reliable way to install pip 20 in UPI image

Version:

All

Platform:

GCP (currently needs 'pip<21.0'), but the failure affects CI from other other platforms because the failure affects the images test which is always triggered.

Please specify:

UPI

What happened?

[36mINFO[0m[2021-04-08T00:05:30Z] Searching for pip<21                         
[36mINFO[0m[2021-04-08T00:05:30Z] Reading https://pypi.python.org/simple/pip/  
[36mINFO[0m[2021-04-08T00:05:30Z] Couldn't find index page for 'pip' (maybe misspelled?) 
[36mINFO[0m[2021-04-08T00:05:30Z] Scanning index of all packages (this may take a while) 
[36mINFO[0m[2021-04-08T00:05:30Z] Reading https://pypi.python.org/simple/      
[36mINFO[0m[2021-04-08T00:05:30Z] No local packages or download links found for pip<21 
[36mINFO[0m[2021-04-08T00:05:30Z] error: Could not find suitable distribution for Requirement.parse('pip<21') 


Current way to installer an older version of pip: https://pip.pypa.io/en/stable/installing/



Additional info: 

https://storage.googleapis.com/origin-ci-test/pr-logs/pull/openshift_installer/4828/pull-ci-openshift-installer-master-e2e-gcp-upi/1379946391173861376/build-log.txt

Comment 2 Etienne Simard 2021-04-16 13:48:49 UTC
Verified by CI passing.

Comment 5 errata-xmlrpc 2021-07-27 23:01:13 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 (Moderate: OpenShift Container Platform 4.8.2 bug fix and security update), 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-2021:2438


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