Bug 1974822
Summary: | [regression] IPA server in debug mode fails to run because time.perf_counter_ns is Python 3.7+ | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Scott Poore <spoore> | |
Component: | ipa | Assignee: | François Cami <fcami> | |
Status: | CLOSED ERRATA | QA Contact: | ipa-qe <ipa-qe> | |
Severity: | unspecified | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 8.5 | CC: | ksiddiqu, myusuf, rcritten, tscherf, twoerner | |
Target Milestone: | beta | Keywords: | Triaged | |
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | idm-client-8050020210708083354.de73ecb2 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1978747 (view as bug list) | Environment: | ||
Last Closed: | 2021-11-09 18:29:22 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: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1978747 |
Description
Scott Poore
2021-06-22 15:43:59 UTC
Investigation: This is caused by perf_counter_ns being Python 3.7+ only. That is only used in rpcserver.py ; putting a lambda there that defines time.perf_counter_ns is enough to fix the problem. It has to be done conditionally on Python version e.g. the current code is fine for Python 3.7+. Upstream ticket: https://pagure.io/freeipa/issue/8891 Fixed upstream master: https://pagure.io/freeipa/c/675b5d2f0519af68e3455075b39b7c5e2897cc07 https://pagure.io/freeipa/c/69497f4a026ab0689f6276f6695ca14cdc7164d1 https://pagure.io/freeipa/c/06791db5fad62f32ddc3641f40997c1035a86f96 Fixed upstream ipa-4-9: https://pagure.io/freeipa/c/e713c227bb420a841ce3ae146bca55a84a1b0dbf https://pagure.io/freeipa/c/ee4be290e1583834a573c3896ee1d97b3fbb6c24 https://pagure.io/freeipa/c/1539c7383116647ad9c5b125b343f972e9c9653b version: ipa-server-4.9.6-4.module+el8.5.0+11912+1b4496cf 2021-07-30T11:09:19+0000 ipatests/test_integration/test_installation.py::TestInstallMaster::test_install_master PASSED [ 50%] 2021-07-30T11:10:23+0000 ipatests/test_integration/test_installation.py::TestInstallMaster::test_smoke_test_for_debug_mode PASSED [100%] Automation passed. report.html is attached for reference. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (ipa bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2021:4230 The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days |