Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1494588

Summary: python2-urllib dependency issue with installing OCP on OSP with heat templates.
Product: Red Hat OpenStack Reporter: Ryan Howe <rhowe>
Component: openshift-heat-templatesAssignee: RHOS Maint <rhos-maint>
Status: CLOSED WONTFIX QA Contact: RHOS Maint <rhos-maint>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 10.0 (Newton)CC: athomas, sbaubeau, scollier, tsedovic
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-08 15:33:01 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 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.