I ran across this error attempting to test EL8 now that yum support is rolling on EL7 for Pulp 3. I am not sure what the right answer is here. This appears to be a conflict in how we package the newer version of python3-pyopenssl?
[root@pipeline-katello-server-nightly-centos8 vagrant]# yum -y install python3-pulp-certguard
Last metadata expiration check: 0:22:50 ago on Fri 19 Jun 2020 01:22:12 PM UTC.
Dependencies resolved.
===================================================================================================================================================================================================================
Package Architecture Version Repository Size
===================================================================================================================================================================================================================
Installing:
python3-pulp-certguard noarch 0.1.0-0.1.rc5.el8 pulpcore-repository 76 k
Installing dependencies:
python3-pyopenssl noarch 19.1.0-1.el8 pulpcore-repository 94 k
Transaction Summary
===================================================================================================================================================================================================================
Install 2 Packages
Total download size: 170 k
Installed size: 710 k
Downloading Packages:
(1/2): python3-pulp-certguard-0.1.0-0.1.rc5.el8.noarch.rpm 286 kB/s | 76 kB 00:00
(2/2): python3-pyopenssl-19.1.0-1.el8.noarch.rpm 350 kB/s | 94 kB 00:00
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 631 kB/s | 170 kB 00:00
Running transaction check
Transaction check succeeded.
Running transaction test
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'yum clean packages'.
Error: Transaction test error:
file /usr/lib/python3.6/site-packages/OpenSSL/SSL.py from install of python3-pyopenssl-19.1.0-1.el8.noarch conflicts with file from package python3-pyOpenSSL-18.0.0-1.el8.noarch
file /usr/lib/python3.6/site-packages/OpenSSL/__pycache__/SSL.cpython-36.opt-1.pyc from install of python3-pyopenssl-19.1.0-1.el8.noarch conflicts with file from package python3-pyOpenSSL-18.0.0-1.el8.noarch
file /usr/lib/python3.6/site-packages/OpenSSL/__pycache__/SSL.cpython-36.pyc from install of python3-pyopenssl-19.1.0-1.el8.noarch conflicts with file from package python3-pyOpenSSL-18.0.0-1.el8.noarch
file /usr/lib/python3.6/site-packages/OpenSSL/__pycache__/__init__.cpython-36.opt-1.pyc from install of python3-pyopenssl-19.1.0-1.el8.noarch conflicts with file from package python3-pyOpenSSL-18.0.0-1.el8.noarch
file /usr/lib/python3.6/site-packages/OpenSSL/__pycache__/__init__.cpython-36.pyc from install of python3-pyopenssl-19.1.0-1.el8.noarch conflicts with file from package python3-pyOpenSSL-18.0.0-1.el8.noarch
file /usr/lib/python3.6/site-packages/OpenSSL/__pycache__/_util.cpython-36.opt-1.pyc from install of python3-pyopenssl-19.1.0-1.el8.noarch conflicts with file from package python3-pyOpenSSL-18.0.0-1.el8.noarch
file /usr/lib/python3.6/site-packages/OpenSSL/__pycache__/_util.cpython-36.pyc from install of python3-pyopenssl-19.1.0-1.el8.noarch conflicts with file from package python3-pyOpenSSL-18.0.0-1.el8.noarch
file /usr/lib/python3.6/site-packages/OpenSSL/__pycache__/crypto.cpython-36.opt-1.pyc from install of python3-pyopenssl-19.1.0-1.el8.noarch conflicts with file from package python3-pyOpenSSL-18.0.0-1.el8.noarch
file /usr/lib/python3.6/site-packages/OpenSSL/__pycache__/crypto.cpython-36.pyc from install of python3-pyopenssl-19.1.0-1.el8.noarch conflicts with file from package python3-pyOpenSSL-18.0.0-1.el8.noarch
file /usr/lib/python3.6/site-packages/OpenSSL/__pycache__/debug.cpython-36.opt-1.pyc from install of python3-pyopenssl-19.1.0-1.el8.noarch conflicts with file from package python3-pyOpenSSL-18.0.0-1.el8.noarch
file /usr/lib/python3.6/site-packages/OpenSSL/__pycache__/debug.cpython-36.pyc from install of python3-pyopenssl-19.1.0-1.el8.noarch conflicts with file from package python3-pyOpenSSL-18.0.0-1.el8.noarch
file /usr/lib/python3.6/site-packages/OpenSSL/__pycache__/rand.cpython-36.opt-1.pyc from install of python3-pyopenssl-19.1.0-1.el8.noarch conflicts with file from package python3-pyOpenSSL-18.0.0-1.el8.noarch
file /usr/lib/python3.6/site-packages/OpenSSL/__pycache__/rand.cpython-36.pyc from install of python3-pyopenssl-19.1.0-1.el8.noarch conflicts with file from package python3-pyOpenSSL-18.0.0-1.el8.noarch
file /usr/lib/python3.6/site-packages/OpenSSL/__pycache__/tsafe.cpython-36.opt-1.pyc from install of python3-pyopenssl-19.1.0-1.el8.noarch conflicts with file from package python3-pyOpenSSL-18.0.0-1.el8.noarch
file /usr/lib/python3.6/site-packages/OpenSSL/__pycache__/tsafe.cpython-36.pyc from install of python3-pyopenssl-19.1.0-1.el8.noarch conflicts with file from package python3-pyOpenSSL-18.0.0-1.el8.noarch
file /usr/lib/python3.6/site-packages/OpenSSL/__pycache__/version.cpython-36.opt-1.pyc from install of python3-pyopenssl-19.1.0-1.el8.noarch conflicts with file from package python3-pyOpenSSL-18.0.0-1.el8.noarch
file /usr/lib/python3.6/site-packages/OpenSSL/__pycache__/version.cpython-36.pyc from install of python3-pyopenssl-19.1.0-1.el8.noarch conflicts with file from package python3-pyOpenSSL-18.0.0-1.el8.noarch
file /usr/lib/python3.6/site-packages/OpenSSL/_util.py from install of python3-pyopenssl-19.1.0-1.el8.noarch conflicts with file from package python3-pyOpenSSL-18.0.0-1.el8.noarch
file /usr/lib/python3.6/site-packages/OpenSSL/crypto.py from install of python3-pyopenssl-19.1.0-1.el8.noarch conflicts with file from package python3-pyOpenSSL-18.0.0-1.el8.noarch
file /usr/lib/python3.6/site-packages/OpenSSL/version.py from install of python3-pyopenssl-19.1.0-1.el8.noarch conflicts with file from package python3-pyOpenSSL-18.0.0-1.el8.noarch
If you are curious where that other version of python3-pyOpenSSL comes from:
[root@centos8 vagrant]# yum remove python3-pyOpenSSL
Dependencies resolved.
===================================================================================================================================================================================================================
Package Arch Version Repository Size
===================================================================================================================================================================================================================
Removing:
python3-pyOpenSSL noarch 18.0.0-1.el8 @koji-override-1 545 k
Removing dependent packages:
dnf-plugin-spacewalk noarch 2.8.5-11.module_el8.0.0+180+337688dc @koji-override-1 20 k
python3-dnf-plugin-spacewalk noarch 2.8.5-11.module_el8.0.0+180+337688dc @koji-override-1 46 k
Removing unused dependencies:
libgudev x86_64 232-4.el8 @anaconda 79 k
python3-asn1crypto noarch 0.24.0-3.el8 @anaconda 854 k
python3-cffi x86_64 1.11.5-5.el8 @anaconda 993 k
python3-cryptography x86_64 2.3-2.el8 @anaconda 2.5 M
python3-hwdata noarch 2.3.6-3.el8 @koji-override-1 175 k
python3-idna noarch 2.5-5.el8 @anaconda 509 k
python3-librepo x86_64 1.9.2-1.el8 @anaconda 176 k
python3-netifaces x86_64 0.10.6-4.el8 @koji-override-1 39 k
python3-newt x86_64 0.52.20-9.el8 @koji-override-1 112 k
python3-ply noarch 3.9-7.el8 @anaconda 419 k
python3-pycparser noarch 2.14-14.el8 @anaconda 587 k
python3-rhn-client-tools x86_64 2.8.16-13.module_el8.0.0+180+337688dc @koji-override-1 290 k
python3-rhnlib noarch 2.8.6-8.module_el8.0.0+180+337688dc @koji-override-1 200 k
rhn-client-tools x86_64 2.8.16-13.module_el8.0.0+180+337688dc @koji-override-1 2.1 M
Transaction Summary
===================================================================================================================================================================================================================
On a RHEL8 machine, this is not installed by default and comes from AppStream
[root@rhel8 vagrant]# rpm -q python3-pyOpenSSL
package python3-pyOpenSSL is not installed
[root@rhel8 vagrant]# yum install python3-pyOpenSSL
Updating Subscription Management repositories.
Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs) 25 kB/s | 2.8 kB 00:00
Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs) 23 kB/s | 2.4 kB 00:00
Dependencies resolved.
===================================================================================================================================================================================================================
Package Arch Version Repository Size
===================================================================================================================================================================================================================
Installing:
python3-pyOpenSSL noarch 18.0.0-1.el8 rhel-8-for-x86_64-appstream-rpms 103 k
Installing dependencies:
python3-pycparser noarch 2.14-14.el8 rhel-8-for-x86_64-baseos-rpms 109 k
python3-cffi x86_64 1.11.5-5.el8 rhel-8-for-x86_64-baseos-rpms 238 k
python3-idna noarch 2.5-5.el8 rhel-8-for-x86_64-baseos-rpms 97 k
python3-asn1crypto noarch 0.24.0-3.el8 rhel-8-for-x86_64-baseos-rpms 181 k
python3-ply noarch 3.9-8.el8 rhel-8-for-x86_64-baseos-rpms 108 k
python3-cryptography x86_64 2.3-3.el8 rhel-8-for-x86_64-baseos-rpms 511 k
Transaction Summary
===================================================================================================================================================================================================================
Install 7 Packages