Bug 2089750

Summary: RFE: Improve error message with more detail for ipa-replica-install command
Product: Red Hat Enterprise Linux 9 Reporter: Michal Polovka <mpolovka>
Component: ipaAssignee: Trivino <ftrivino>
Status: CLOSED ERRATA QA Contact: ipa-qe <ipa-qe>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 9.1CC: frenaud, ftrivino, hkhot, ipa-qe, mpolovka, peter.vreman, rcritten, sumenon, tscherf
Target Milestone: rcKeywords: FutureFeature, Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: ipa-4.9.10-1.el9 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: 2004646 Environment:
Last Closed: 2022-11-15 10:00:08 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: 2004646    
Bug Blocks:    

Comment 4 Trivino 2022-05-24 11:22:05 UTC
Fixed upstream: https://github.com/freeipa/freeipa/pull/6273

Moving to POST

Comment 5 Michal Polovka 2022-06-20 08:58:30 UTC
Pre-verified using the automation from ipatests/test_integration/test_installation.py::TestInstallReplicaAgainstSpecificServer:test_replica_install_existing_agreement and RHEL9.1 machine with ipa-server-4.9.10-1.el9.x86_64 from the test compose.


============================= test session starts ==============================
platform linux -- Python 3.9.13, 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.13', 'Platform': 'Linux-5.14.0-113.el9.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.py::TestInstallReplicaAgainstSpecificServer::test_replica_install_against_server_without_ca PASSED [ 25%]
test_integration/test_installation.py::TestInstallReplicaAgainstSpecificServer::test_replica_install_against_server_without_kra PASSED [ 50%]
test_integration/test_installation.py::TestInstallReplicaAgainstSpecificServer::test_replica_install_against_server PASSED [ 75%]
test_integration/test_installation.py::TestInstallReplicaAgainstSpecificServer::test_replica_install_existing_agreement 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 1954.47s (0:32:34) ===================

Tests passsed, therefore marking as verified - tested.

Comment 8 Michal Polovka 2022-07-15 09:43:55 UTC
Verified using nightly run and automation from ipatests/test_integration/test_installation.py::TestInstallReplicaAgainstSpecificServer:test_replica_install_existing_agreement with the package ipa-server-4.10.0-2.el9.x86_64

 	
Passed 	test_integration/test_installation.py::TestInstallReplicaAgainstSpecificServer::test_replica_install_against_server_without_ca
Passed 	test_integration/test_installation.py::TestInstallReplicaAgainstSpecificServer::test_replica_install_against_server_without_kra 	 	
Passed 	test_integration/test_installation.py::TestInstallReplicaAgainstSpecificServer::test_replica_install_against_server 	
Passed 	test_integration/test_installation.py::TestInstallReplicaAgainstSpecificServer::test_replica_install_existing_agreement 	


Full log is an attachment of this BZ. Marking as verified.

Comment 11 errata-xmlrpc 2022-11-15 10:00:08 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-2022:7988