Bug 1494588 - python2-urllib dependency issue with installing OCP on OSP with heat templates.
Summary: python2-urllib dependency issue with installing OCP on OSP with heat templates.
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openshift-heat-templates
Version: 10.0 (Newton)
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: RHOS Maint
QA Contact: RHOS Maint
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-22 14:52 UTC by Ryan Howe
Modified: 2022-08-16 12:33 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-03-08 15:33:01 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-4702 0 None None None 2022-08-16 12:33:31 UTC

Description Ryan Howe 2017-09-22 14:52:49 UTC
Description of problem:

os-collect-config is not installable due to conflict between python2-urllib3-1.21.1-1.el7.noarch (installed by OpenShift) and python-urllib3-1.15.1-2.el7ost.noarch (required by os-collect-config.


Version-Release number of selected component (if applicable):
openshift-heat-templates
OCP 3.6
OSP 10 

How reproducible:
100%

Steps to Reproduce:
1. https://access.redhat.com/documentation/en-us/reference_architectures/2017/html-single/deploying_red_hat_openshift_container_platform_3.4_on_red_hat_openstack_platform_10/#installation_of_the_heat_templates

2. Template runs the following 

+ yum -y install os-collect-config python-zaqarclient os-refresh-config os-apply-config openstack-heat-templates python-oslo-log python-psutil


Actual results:


Package python-urllib3-1.15.1-2.el7ost.noarch is obsoleted by python2-urllib3-1.21.1-1.el7.noarch which is already installed
--> Finished Dependency Resolution
Error: Package: python-requests-2.10.0-1.el7ost.noarch (rhel-7-server-openstack-10-rpms)
           Requires: python-urllib3 = 1.15.1
           Installed: python2-urllib3-1.21.1-1.el7.noarch (@rhel-7-server-ose-3.6-rpms)
               python-urllib3 = 1.21.1-1.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.15.1-2.el7ost.noarch (rhel-7-server-openstack-10-rpms)
               python-urllib3 = 1.15.1-2.el7ost
**********************************************************************
yum can be configured to try to resolve such errors by temporarily enabling
disabled repos and searching for missing dependencies.
To enable this functionality please set 'notify_only=0' in /etc/yum/pluginconf.d/search-disabled-repos.conf
**********************************************************************

Error: Package: python-requests-2.10.0-1.el7ost.noarch (rhel-7-server-openstack-10-rpms)
           Requires: python-urllib3 = 1.15.1
           Installed: python2-urllib3-1.21.1-1.el7.noarch (@rhel-7-server-ose-3.6-rpms)
               python-urllib3 = 1.21.1-1.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.15.1-2.el7ost.noarch (rhel-7-server-openstack-10-rpms)
               python-urllib3 = 1.15.1-2.el7ost




Expected results:

For os-collect-config to install 


Additional info:

Comment 2 Tomas Sedovic 2018-03-08 15:33:01 UTC
The Heat templates have been deprecated. Any future automated deployments of OpenShift on OpenStack should use the code in openshift-ansible.


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