Bug 2150271

Summary: ipa-client-install does not maintain server affinity during installation [rhel-9.0.0.z]
Product: Red Hat Enterprise Linux 9 Reporter: RHEL Program Management Team <pgm-rhel-tools>
Component: ipaAssignee: Florence Blanc-Renaud <frenaud>
Status: CLOSED ERRATA QA Contact: Ganna Kaihorodova <gkaihoro>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.2CC: gkaihoro, mjurasek, myusuf, rcritten, tscherf
Target Milestone: rcKeywords: Triaged, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ipa-4.9.8-8.el9_0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2148258 Environment:
Last Closed: 2023-01-30 15:34:09 UTC Type: ---
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: 2148258    
Bug Blocks:    

Comment 1 Florence Blanc-Renaud 2022-12-02 10:52:38 UTC
Fixed upstream:
master:
    https://pagure.io/freeipa/c/9d9d925b14dbf627546c51c47f6d4e7827645610 Defer creating the final krb5.conf on clients

ipa-4-10:
    https://pagure.io/freeipa/c/3cbf2b25422100cc4105dfb09ee8c7bf87232198 Defer creating the final krb5.conf on clients

ipa-4-9:
    https://pagure.io/freeipa/c/69413325158a3ea06d1491acd77ee6e0955ee89a Defer creating the final krb5.conf on clients

Comment 6 Mohammad Rizwan 2022-12-22 10:42:31 UTC
version:
ipa-server-4.9.8-8.el9_0.x86_64
ipa-client-4.9.8-8.el9_0.x86_64

============================= test session starts ==============================
platform linux -- Python 3.9.10, 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.10', 'Platform': 'Linux-5.14.0-70.36.1.el9_0.x86_64-x86_64-with-glibc2.34', 'Packages': {'pytest': '6.2.2', 'py': '1.10.0', 'pluggy': '0.13.1'}, 'Plugins': {'metadata': '1.7.0', 'multihost': '3.0', 'html': '3.1.1', 'sourceorder': '0.6.0'}}
rootdir: /usr/lib/python3.9/site-packages/ipatests
plugins: metadata-1.7.0, multihost-3.0, html-3.1.1, sourceorder-0.6.0
collecting ... collected 4 items

test_integration/test_installation_client.py::TestInstallClient::test_dns_lookup_kdc_is_true_with_default_enrollment_options PASSED [ 25%]
test_integration/test_installation_client.py::TestInstallClient::test_dns_lookup_kdc_is_true_with_ipa_server_on_cli PASSED [ 50%]
test_integration/test_installation_client.py::TestInstallClient::test_client_install_with_ssh_trust_dns PASSED [ 75%]
test_integration/test_installation_client.py::TestClientInstallBind::test_client_nsupdate PASSED [100%]

=============================== warnings summary ===============================
../pytest_sourceorder.py:31
  /usr/lib/python3.9/site-packages/pytest_sourceorder.py:31: PytestUnknownMarkWarning: Unknown pytest.mark.source_order - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html
    cls = pytest.mark.source_order(cls)

-- Docs: https://docs.pytest.org/en/stable/warnings.html
---------------- generated xml file: /home/cloud-user/junit.xml ----------------
----------- generated html file: file:///home/cloud-user/report.html -----------
================== 4 passed, 1 warning in 1093.91s (0:18:13) ===================


Automation passed, hence marking the bug as verified.

Comment 11 errata-xmlrpc 2023-01-30 15:34:09 UTC
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-2023:0517