Bug 1955440
| Summary: | ipa installation fails to configure chrony | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Florence Blanc-Renaud <frenaud> |
| Component: | ipa | Assignee: | Florence Blanc-Renaud <frenaud> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | ipa-qe <ipa-qe> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 9.0 | CC: | ksiddiqu, mpolovka, rcritten, tscherf |
| Target Milestone: | beta | Keywords: | TestCaseProvided, Triaged |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ipa-4.9.6-2.el9 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-12-07 21:30:47 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: | 1931787 | ||
| Bug Blocks: | |||
|
Description
Florence Blanc-Renaud
2021-04-30 06:58:27 UTC
ipa relies on Augeas to perform the chrony configuration. In RHEL9, chrony has been updated to 4.0 and provides new options that are set by default in /etc/chrony.conf (sourcedir and ntsdumpdir). Augeas doesn't understand these options and fails to configure chrony: # ipa-server-install [...] --ntp-server=1.pool.ntp.org ... NTP server: 1.pool.ntp.org Disabled p11-kit-proxy Synchronizing time Augeas failed to configure file /etc/chrony.conf Using default chrony configuration. ... An upstream fix + fedora fix is already available and needs to be backported to RHEL9 (see BZ #1931787 reported against augeas / RHEL9). When the augeas issue is fixed, ipa needs to bump the Requires version of augeas in its spec file. Adding TestCaseProvided label as the upstream test test_integration/test_ntp_options/TestNTPoptions already find the BZ. Fixed upstream master: https://pagure.io/freeipa/c/d8f246d8e3ef12d79d89a048fe305a7cfed5b76f Fixed upstream ipa-4-9: https://pagure.io/freeipa/c/4dd9d079fbc190ebcce54c427898c67d83066d1e This BZ depends on https://bugzilla.redhat.com/show_bug.cgi?id=1931787 which just moved to VERIFIED => we can bump the augeas version on rhel9. Upstream PR https://github.com/freeipa/freeipa/pull/5877 @ksiddiqu can you provide qa_ack and set ITM? Additional fix for the rhel9 spec file (now that augeas 1.12.1-0.1 is available): Fixed upstream master: https://pagure.io/freeipa/c/8d83ebde3ad235c1c59ff40d396a01f0f331fc8f Fixed upstream ipa-4-9: https://pagure.io/freeipa/c/076e499f6f1223458cb896f1e90296e511c922d7 Verified using RHEL9 machine with ipa-4.9.6-4.el9.src.rpm
============================= test session starts ==============================
platform linux -- Python 3.9.6, pytest-6.2.2, py-1.10.0, pluggy-0.13.1 -- /usr/bin/python3
cachedir: /home/cloud-user/.pytest_cache
metadata: {'Python': '3.9.6', 'Platform': 'Linux-5.14.0-0.rc3.29.el9.x86_64-x86_64-with-glibc2.33.9000', 'Packages': {'pytest': '6.2.2', 'py': '1.10.0', 'pluggy': '0.13.1'}, 'Plugins': {'metadata': '1.7.0', 'multihost': '3.0', 'sourceorder': '0.5', 'html': '3.1.1'}}
rootdir: /usr/lib/python3.9/site-packages/ipatests
plugins: metadata-1.7.0, multihost-3.0, sourceorder-0.5, html-3.1.1
collecting ... collected 11 items
test_integration/test_ntp_options.py::TestNTPoptions::test_server_client_install_without_options PASSED [ 9%]
test_integration/test_ntp_options.py::TestNTPoptions::test_server_client_install_no_ntp PASSED [ 18%]
test_integration/test_ntp_options.py::TestNTPoptions::test_server_client_install_with_multiple_ntp_srv PASSED [ 27%]
test_integration/test_ntp_options.py::TestNTPoptions::test_server_replica_client_install_with_pool_and_srv PASSED [ 36%]
test_integration/test_ntp_options.py::TestNTPoptions::test_server_promoted_replica_client_install_with_srv PASSED [ 45%]
test_integration/test_ntp_options.py::TestNTPoptions::test_server_client_install_mixed_options PASSED [ 54%]
test_integration/test_ntp_options.py::TestNTPoptions::test_replica_promotion_with_ntp_options PASSED [ 63%]
test_integration/test_ntp_options.py::TestNTPoptions::test_replica_promotion_without_ntp PASSED [ 72%]
test_integration/test_ntp_options.py::TestNTPoptions::test_interactive_ntp_set_opt PASSED [ 81%]
test_integration/test_ntp_options.py::TestNTPoptions::test_interactive_ntp_no_opt PASSED [ 90%]
test_integration/test_ntp_options.py::TestNTPoptions::test_interactive_ntp_no_conf PASSED [100%]
Therefore marking as verified. Automation is present in downstream test package.
|