Description of problem: This, for example, prevents me from compiling Ceph on Fedora 29, as it identifies they are using different SSL versions. Version-Release number of selected component (if applicable): python2-2.7.15-11.fc29.x86_64 How reproducible: Always. Steps to Reproduce: 1. Try to compile Ceph (upstream, master) on F29 beta. See https://tracker.ceph.com/issues/36425#change-123385 for initial report (on Ceph).
Python 2 doesn't support OpenSSL 1.1.1 (or at least it didn't when we made this change). Python 2 support ends in 1 year + 2 months. Chances are it will never support OpenSSL 1.1.1. Christian Heimes might know more about the upstream plans there. The preferred solution is to update Ceph to Python 3.
Note that Python 2 supports OpenSSL 1.1.0 and we only build it with 1.0.1 because openssl was updated from 1.1.0 to 1.1.1 without proper coordination.
Bumping severity on this as it is effecting multiple ceph developers.
I can keep the severity high, but this is not a high priority for us (sorry). Use Python 3 for OpenSSL 1.1.1. Christian, any news on legacy Python OpenSSL 1.1.1 compatibility?
Note: disabling python2 support in Ceph allows it to compile under F29: "cmake .. -DWITH_PYTHON2=OFF -DWITH_PYTHON3=ON -DMGR_PYTHON_VERSION=3"
(In reply to Jason Dillaman from comment #8) > Note: disabling python2 support in Ceph allows it to compile under F29: > "cmake .. -DWITH_PYTHON2=OFF -DWITH_PYTHON3=ON -DMGR_PYTHON_VERSION=3" It fails, with: Scanning dependencies of target ec_isa [ 1%] Building C object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/ec_base.c.o In file included from /home/ykaul/github/ceph/src/include/types.h:19, from /home/ykaul/github/ceph/src/isa-l/erasure_code/ec_base.c:34: /home/ykaul/github/ceph/src/include/byteorder.h:5:10: fatal error: type_traits: No such file or directory #include <type_traits> ^~~~~~~~~~~~~ compilation terminated. Seems to be something with the flags passed to gcc? (And seems to be unrelated to THIS bug - should I open an upstream Ceph issue?)
(In reply to Yaniv Kaul from comment #10) > (In reply to Jason Dillaman from comment #8) > > Note: disabling python2 support in Ceph allows it to compile under F29: > > "cmake .. -DWITH_PYTHON2=OFF -DWITH_PYTHON3=ON -DMGR_PYTHON_VERSION=3" > > It fails, with: > Scanning dependencies of target ec_isa > [ 1%] Building C object > src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/ec_base. > c.o > In file included from /home/ykaul/github/ceph/src/include/types.h:19, > from > /home/ykaul/github/ceph/src/isa-l/erasure_code/ec_base.c:34: > /home/ykaul/github/ceph/src/include/byteorder.h:5:10: fatal error: > type_traits: No such file or directory > #include <type_traits> > ^~~~~~~~~~~~~ > compilation terminated. > > > Seems to be something with the flags passed to gcc? > > (And seems to be unrelated to THIS bug - should I open an upstream Ceph > issue?) Yes, please.
(In reply to Brad Hubbard from comment #11) > (In reply to Yaniv Kaul from comment #10) > > (In reply to Jason Dillaman from comment #8) > > > Note: disabling python2 support in Ceph allows it to compile under F29: > > > "cmake .. -DWITH_PYTHON2=OFF -DWITH_PYTHON3=ON -DMGR_PYTHON_VERSION=3" > > > > It fails, with: > > Scanning dependencies of target ec_isa > > [ 1%] Building C object > > src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/ec_base. > > c.o > > In file included from /home/ykaul/github/ceph/src/include/types.h:19, > > from > > /home/ykaul/github/ceph/src/isa-l/erasure_code/ec_base.c:34: > > /home/ykaul/github/ceph/src/include/byteorder.h:5:10: fatal error: > > type_traits: No such file or directory > > #include <type_traits> > > ^~~~~~~~~~~~~ > > compilation terminated. > > > > > > Seems to be something with the flags passed to gcc? > > > > (And seems to be unrelated to THIS bug - should I open an upstream Ceph > > issue?) > > Yes, please. https://tracker.ceph.com/issues/37336
This is currently blocked on Christian, who promised to help with Python 2's OpenSSL compatibility upstream. Unfortunately, the python-maint team can't deal with SSL issues effectively.
2.7.16 has this. We are building rc1 in rawhide and will update it down to at least F29 after the final version is released.
python2-2.7.16-1.fc30 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-0c91ce7b3c
python2-2.7.16-1.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-0c91ce7b3c
python2-2.7.16-1.fc30 python2-docs-2.7.16-1.fc30 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-0c91ce7b3c
python2-2.7.16-1.fc30, python2-docs-2.7.16-1.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-0c91ce7b3c
python2-2.7.16-1.fc30, python2-docs-2.7.16-1.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.