Bug 1589980
| Summary: | python-twisted-core fails to install on FIPS enabled RHEL | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Dennis Kliban <dkliban> |
| Component: | python-twisted-core | Assignee: | Python Maintainers <python-maint> |
| Status: | CLOSED NOTABUG | QA Contact: | qe-baseos-daemons |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 7.5 | CC: | dkliban, hhorak, ragbalak |
| Target Milestone: | rc | ||
| 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-06-25 15:35:28 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: | |||
Thank you for looking at this. This issue is encountered on a CentOS 7 machine. It looks like the python-twisted-core 12.2 in CentOS repositories was built using Twisted 18.4. Thank you for pointing out the version discrepancy. I will try it out on a RHEL machine and close this as NOTABUG if I don't experience a problem. I verified this in Rhel 7.5 VM, The pypi python-twisted-core is getting installed without any tracebacks Logs : sudo yum -y install python-twisted-core Loaded plugins: product-id, search-disabled-repos, subscription-manager epel/x86_64/metalink | 16 kB 00:00:00 epel | 3.2 kB 00:00:00 pulp | 3.6 kB 00:00:00 rhel-7-server-extras-rpms | 3.4 kB 00:00:00 rhel-7-server-optional-rpms | 3.5 kB 00:00:00 rhel-7-server-rpms | 3.5 kB 00:00:00 rhel-atomic-host-rpms | 4.0 kB 00:00:00 (1/7): epel/x86_64/updateinfo | 925 kB 00:00:01 (2/7): pulp/7Server/x86_64/primary_db | 26 kB 00:00:00 (3/7): rhel-7-server-optional-rpms/7Server/x86_64/updateinfo | 2.0 MB 00:00:00 (4/7): rhel-7-server-rpms/7Server/x86_64/updateinfo | 2.8 MB 00:00:00 (5/7): rhel-7-server-optional-rpms/7Server/x86_64/primary_db | 7.1 MB 00:00:00 (6/7): rhel-7-server-rpms/7Server/x86_64/primary_db | 53 MB 00:00:01 (7/7): epel/x86_64/primary | 3.5 MB 00:00:03 epel 12601/12601 Package python-twisted-core-12.2.0-4.el7.x86_64 already installed and latest version fips$ cat /proc/sys/crypto/fips_enabled 1 Here are the logs for installing a fresh copy of python-twisted-core fips$ sudo yum -y install python-twisted-core Loaded plugins: product-id, search-disabled-repos, subscription-manager Resolving Dependencies --> Running transaction check ---> Package python-twisted-core.x86_64 0:12.2.0-4.el7 will be installed --> Finished Dependency Resolution Dependencies Resolved =============================================================================================================================== Package Arch Version Repository Size =============================================================================================================================== Installing: python-twisted-core x86_64 12.2.0-4.el7 rhel-7-server-optional-rpms 2.5 M Transaction Summary =============================================================================================================================== Install 1 Package Total download size: 2.5 M Installed size: 13 M Downloading packages: python-twisted-core-12.2.0-4.el7.x86_64.rpm | 2.5 MB 00:00:00 Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : python-twisted-core-12.2.0-4.el7.x86_64 1/1 Verifying : python-twisted-core-12.2.0-4.el7.x86_64 1/1 Installed: python-twisted-core.x86_64 0:12.2.0-4.el7 Complete! The installation completed without throwing any stacktrace. Thank you for verifying Raga! I am closing this as not a bug. |
Description of problem: python-twisted-core fails to install some python dependencies during install Version-Release number of selected component (if applicable): How reproducible: always Steps to Reproduce: 1. Boot RHEL in FIPS enabled mode 2. sudo yum -y install python-twisted-core 3. Look at the output Actual results: Resolving Dependencies --> Running transaction check ---> Package python-twisted-core.x86_64 0:12.2.0-4.el7 will be installed --> Finished Dependency Resolution Dependencies Resolved ========================================================================================================================================================================================= Package Arch Version Repository Size ========================================================================================================================================================================================= Installing: python-twisted-core x86_64 12.2.0-4.el7 base 2.5 M Transaction Summary ========================================================================================================================================================================================= Install 1 Package Total download size: 2.5 M Installed size: 13 M Is this ok [y/d/N]: y Downloading packages: python-twisted-core-12.2.0-4.el7.x86_64.rpm | 2.5 MB 00:00:03 Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : python-twisted-core-12.2.0-4.el7.x86_64 1/1 Traceback (most recent call last): File "/usr/libexec/twisted-dropin-cache", line 13, in <module> from twisted.plugin import IPlugin, getCache File "/usr/lib/python2.7/site-packages/Twisted-18.4.0-py2.7-linux-x86_64.egg/twisted/plugin.py", line 35, in <module> from twisted.python import log File "/usr/lib/python2.7/site-packages/Twisted-18.4.0-py2.7-linux-x86_64.egg/twisted/python/log.py", line 26, in <module> from twisted.logger import ( File "/usr/lib/python2.7/site-packages/Twisted-18.4.0-py2.7-linux-x86_64.egg/twisted/logger/__init__.py", line 89, in <module> from ._levels import InvalidLogLevelError, LogLevel File "/usr/lib/python2.7/site-packages/Twisted-18.4.0-py2.7-linux-x86_64.egg/twisted/logger/_levels.py", line 9, in <module> from constantly import NamedConstant, Names ImportError: No module named constantly Verifying : python-twisted-core-12.2.0-4.el7.x86_64 1/1 Installed: python-twisted-core.x86_64 0:12.2.0-4.el7 Complete! Expected results: No error Additional info: I was able to resolve the installation problems with the following commands: sudo easy_install pip sudo pip install Automat sudo pip install incremental sudo pip install constantly sudo pip install zope.interface==4.5.0 sudo pip install idna