Bug 1950007

Summary: [CI] [UPI] easy_install is not reliable enough to be used in an image
Product: OpenShift Container Platform Reporter: Etienne Simard <esimard>
Component: InstallerAssignee: Etienne Simard <esimard>
Installer sub component: openshift-installer QA Contact: Etienne Simard <esimard>
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: high CC: mstaeble
Version: 4.8   
Target Milestone: ---   
Target Release: 4.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
This is a CI-only fix.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-07-27 23:01:13 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 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