Bug 1872037 - Unable to upgrade from OpenShift Container Platform 3.9 to a higher version due to python2-requests dependency
Summary: Unable to upgrade from OpenShift Container Platform 3.9 to a higher version d...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Release
Version: 3.11.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 3.11.z
Assignee: Luke Meyer
QA Contact: liujia
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-08-24 21:38 UTC by Lark Gordon
Modified: 2023-12-15 19:00 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-09-16 07:46:50 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 5298871 0 None None None 2020-08-24 21:39:22 UTC
Red Hat Product Errata RHBA-2020:3695 0 None None None 2020-09-16 07:46:59 UTC

Description Lark Gordon 2020-08-24 21:38:38 UTC
Description of problem:
When upgrading from OCP 3.9 to any higher version, dependency errors are displayed for python2-requests because it is no longer shipped in OCP. 

Version-Release number of selected component (if applicable):
OCP 3.9
python2-requests-2.14.2-1.el7ost.noarch
rhel-7-server-ose-3.9-rpms repo

How reproducible:
Very (will provide examples) 

Steps to Reproduce:
1. Install OCP 3.9
2. Attempt to upgrade to any newer version
3. Dependency error for python2-requests

Actual results:
Error: Package: python2-requests-2.14.2-1.el7ost.noarch (@rhel-7-server-ose-3.9-rpms)
           Requires: python2-urllib3 = 1.21.1
           Removing: python2-urllib3-1.21.1-1.el7.noarch (@rhel-7-server-ose-3.10-rpms)
               python2-urllib3 = 1.21.1-1.el7
           Updated By: python2-urllib3-1.24.3-1.el7.noarch (rhel-7-server-ose-3.11-rpms)
               python2-urllib3 = 1.24.3-1.el7
           Available: python-urllib3-1.10.2-7.el7.noarch (rhel-7-server-rpms)
               python2-urllib3 = 1.10.2-7.el7
           Available: python-urllib3-1.5-8.el7.noarch (rhel-7-server-rpms)
              ~python-urllib3 = 1.5-8.el7
           Available: python-urllib3-1.10.2-1.el7_1.noarch (rhel-7-server-rpms)
              ~python-urllib3 = 1.10.2-1.el7_1
           Available: python-urllib3-1.10.2-2.el7_1.noarch (rhel-7-server-rpms)
              ~python-urllib3 = 1.10.2-2.el7_1
           Available: python-urllib3-1.10.2-3.el7.noarch (rhel-7-server-rpms)
              ~python-urllib3 = 1.10.2-3.el7
           Available: python-urllib3-1.10.2-5.el7.noarch (rhel-7-server-rpms)
              ~python-urllib3 = 1.10.2-5.el7
 You could try using --skip-broken to work around the problem

Expected results:
this package should be obsoleted or removed during upgrade.

Additional info:
the current suggested workaround is to remove this package from just the database only, however we're concerned this could cause issues on these systems later on.

Comment 2 Scott Dodson 2020-08-25 00:15:37 UTC
This may be a dupe or closely related to https://bugzilla.redhat.com/show_bug.cgi?id=1859813 marking comment 0 as public, there's no sensitive information in there and it's helpful if things like this show up in search engines.

Comment 4 Luke Meyer 2020-08-25 03:48:14 UTC
It's the same bug (for customers instead of internals), although I'd modify the original statement somewhat. Upgrading to 3.10 ought to work since we did not ship python2-urllib3-1.24.3-1.el7 there. But trying to update to 3.11 will run into this problem.

Copied from that bug:
You could probably work around it by either installing an earlier version of python2-urllib3, excluding python2-urllib3-1.24.3-1.el7, or enabling openstack repos, but you shouldn't have to do that.

Comment 6 Luke Meyer 2020-08-31 14:23:54 UTC
The relevant things got tagged and put in our latest unsigned compose: http://download.eng.bos.redhat.com/rcm-guest/puddles/RHAOS/AtomicOpenShift/3.11/2020-08-30.1/ (or /building/)

(We won't have signed until release.)

I think it's worth testing independently from https://bugzilla.redhat.com/show_bug.cgi?id=1859813 - ensure that upgrades work.

Comment 11 errata-xmlrpc 2020-09-16 07:46:50 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 (OpenShift Container Platform 3.11.286 bug fix and enhancement 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/RHBA-2020:3695


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