Bug 1979629
| Summary: | Add checks to prevent assigning authentication indicators to internal IPA services | ||
|---|---|---|---|
| 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, rcritten, tscherf |
| Target Milestone: | beta | Keywords: | TestCaseProvided |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ipa-4.9.6-3.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: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Florence Blanc-Renaud
2021-07-06 15:12:38 UTC
Upstream ticket: https://pagure.io/freeipa/issue/8206 Fixed upstream:
master:
0bdbf11 Add checks to prevent adding auth indicators to internal IPA services
da72a57 ipatests: ensure auth indicators can't be added to internal IPA services
Adding TestCaseProvided as a new test is available in ipatests/test_xmlrpc/test_host_plugin.py::TestProtectedMaster::test_try_add_auth_ind_master ipatests/test_xmlrpc/test_service_plugin.py::TestAuthenticationIndicators::test_update_indicator_internal_service Fixed upstream ipa-4-9: https://pagure.io/freeipa/c/a5d2857297cfcf87ed8973df96e89ebcef22850d https://pagure.io/freeipa/c/28484c3dee225662e41acc691bfe6b1c1cee99c8 Added test test_xmlrpc/test_host_plugin.py::TestProtectedMaster:: test_add_non_master_with_auth_ind Fixed upstream master: https://pagure.io/freeipa/c/bd0d43745072ec7976207c231cba8411efb41e17 This will fail QE per the 8.5 equivalent. Moving back to ASSIGNED. Fixed upstream ipa-4-9: https://pagure.io/freeipa/c/8ad535b618d60fa016061212ff85d0ad28ccae59 Following tests are executed and successful in nightly compose (RHEL-9.0.0-20210728.4), based on this info moving it to verified snip from automation log files: (A) test-result.txt.gz (1) test_install_with_host_auth_ind_set from test_integration/test_replica_promotion.py ============================= test session starts ============================== platform linux -- Python 3.9.6, pytest-6.2.2, py-1.10.0, pluggy-0.13.1 -- /usr/bin/python3 .... collecting ... collected 4 items test_integration/test_replica_promotion.py::TestReplicaPromotionLevel1::test_install_with_host_auth_ind_set PASSED [ 75%] (2) xmlrpc tests (test_try_add_auth_ind_master, test_update_indicator_internal_service, test_add_non_master_with_auth_ind) test_xmlrpc/test_host_plugin.py::TestProtectedMaster::test_try_add_auth_ind_master PASSED [ 45%] test_xmlrpc/test_host_plugin.py::TestProtectedMaster::test_add_non_master_with_auth_ind PASSED [ 45%] test_xmlrpc/test_service_plugin.py::TestAuthenticationIndicators::test_update_indicator_internal_service PASSED [ 86%] (B) runner.log 2021-07-29T12:09:27+0000 ok: [master.testrelm.test] => (item=ipa-server) => 2021-07-29T12:09:27+0000 msg: 2021-07-29T12:09:27+0000 - arch: x86_64 2021-07-29T12:09:27+0000 epoch: null 2021-07-29T12:09:27+0000 name: ipa-server 2021-07-29T12:09:27+0000 release: 4.el9 2021-07-29T12:09:27+0000 source: rpm 2021-07-29T12:09:27+0000 version: 4.9.6 |