Bug 1966493
| Summary: | [RFE] New management module ipaserver | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Thomas Woerner <twoerner> | |
| Component: | ansible-freeipa | Assignee: | Thomas Woerner <twoerner> | |
| Status: | CLOSED ERRATA | QA Contact: | ipa-qe <ipa-qe> | |
| Severity: | unspecified | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 8.5 | CC: | mvarun | |
| Target Milestone: | beta | Keywords: | FutureFeature | |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
|
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | ansible-freeipa-0.3.6-1.el8 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1973171 (view as bug list) | Environment: | ||
| Last Closed: | 2021-11-09 18:45:36 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: | 1973171 | |||
Here is the upstream PR: https://github.com/freeipa/ansible-freeipa/pull/541 It is merged already. Verified:
ansible-freeipa-0.3.6-3.el8.noarch
ipa-server-4.9.3-1.module+el8.5.0+10565+ae980a94.x86_64
# cat /etc/redhat-release
Red Hat Enterprise Linux release 8.5 Beta (Ootpa)
TESTS STEP START: ansible_freeipa_tests/server/test_server.py
2021-06-30T14:01:20 ============================= test session starts ==============================
2021-06-30T14:01:20 platform linux -- Python 3.9.5, pytest-3.10.1, py-1.10.0, pluggy-0.13.1 -- /usr/bin/python3
2021-06-30T14:01:20 cachedir: .pytest_cache
2021-06-30T14:01:20 metadata: {'Python': '3.9.5', 'Platform': 'Linux-4.18.0-193.41.1.el8_2.x86_64-x86_64-with-glibc2.33', 'Packages': {'pytest': '3.10.1', 'py': '1.10.0', 'pluggy': '0.13.1'}, 'Plugins': {'sourceorder': '0.5.1', 'html': '1.22.1', 'metadata': '1.11.0', 'multihost': '3.4'}, 'BUILD_NUMBER': '482', 'BUILD_ID': '482', 'BUILD_URL': 'https://ci-jenkins-csb-idm.apps.ocp4.prod.psi.redhat.com/job/trigger-test-suite-tool/482/', 'NODE_NAME': 'jnlp-trigger-w3qff', 'JOB_NAME': 'trigger-test-suite-tool', 'BUILD_TAG': 'jenkins-trigger-test-suite-tool-482', 'EXECUTOR_NUMBER': '0', 'JENKINS_URL': 'https://ci-jenkins-csb-idm.apps.ocp4.prod.psi.redhat.com/', 'WORKSPACE': '/home/jenkins/workspace/trigger-test-suite-tool'}
2021-06-30T14:01:20 rootdir: /home/jenkins/workspace/trigger-test-suite-tool/ansible-freeipa-tests, inifile:
2021-06-30T14:01:20 plugins: sourceorder-0.5.1, html-1.22.1, metadata-1.11.0, multihost-3.4
2021-06-30T14:01:20 collecting ... collected 18 items
2021-06-30T14:01:20
2021-06-30T14:17:54 ansible_freeipa_tests/server/test_server.py::Testserver00::test_setup_prerequisite PASSED [ 5%]
2021-06-30T14:18:14 ansible_freeipa_tests/server/test_server.py::Testserver::test_server_with_location PASSED [ 11%]
2021-06-30T14:18:25 ansible_freeipa_tests/server/test_server.py::Testserver::test_server_location_reset PASSED [ 16%]
2021-06-30T14:18:35 ansible_freeipa_tests/server/test_server.py::Testserver::test_server_with_nonexisting_location PASSED [ 22%]
2021-06-30T14:18:43 ansible_freeipa_tests/server/test_server.py::Testserver::test_server_nonexisting_server_with_location PASSED [ 27%]
2021-06-30T14:18:53 ansible_freeipa_tests/server/test_server.py::Testserver::test_server_with_weight PASSED [ 33%]
2021-06-30T14:19:05 ansible_freeipa_tests/server/test_server.py::Testserver::test_server_weight_reset PASSED [ 38%]
2021-06-30T14:19:12 ansible_freeipa_tests/server/test_server.py::Testserver::test_server_with_weight_max_outofrange PASSED [ 44%]
2021-06-30T14:19:20 ansible_freeipa_tests/server/test_server.py::Testserver::test_server_with_weight_min_outofrange PASSED [ 50%]
2021-06-30T14:19:30 ansible_freeipa_tests/server/test_server.py::Testserver::test_server_hidden PASSED [ 55%]
2021-06-30T14:19:41 ansible_freeipa_tests/server/test_server.py::Testserver::test_server_not_hidden PASSED [ 61%]
2021-06-30T14:19:49 ansible_freeipa_tests/server/test_server.py::Testserver::test_server_nonexisting_server_with_hidden PASSED [ 66%]
2021-06-30T14:19:55 ansible_freeipa_tests/server/test_server.py::Testserver::test_server_delete_with_force PASSED [ 72%]
2021-06-30T14:20:34 ansible_freeipa_tests/server/test_server.py::Testserver::test_server_delete_with_continue PASSED [ 77%]
2021-06-30T14:26:16 ansible_freeipa_tests/server/test_server.py::Testserver::test_server_delete_without_ignoring_topology_disconnect PASSED [ 83%]
2021-06-30T14:26:42 ansible_freeipa_tests/server/test_server.py::Testserver::test_server_delete_with_ignoring_topology_disconnect PASSED [ 88%]
2021-06-30T14:33:00 ansible_freeipa_tests/server/test_server.py::Testserver::test_server_delete_without_last_of_role PASSED [ 94%]
2021-06-30T14:33:25 ansible_freeipa_tests/server/test_server.py::Testserver::test_server_delete_with_last_of_role PASSED [100%]
Based on the test result, marking the bug VERIFIED.
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 (ansible-freeipa 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:4268 |
There is a new server management module placed in the plugins folder: plugins/modules/ipaserver.py The server module allows to ensure presence and absence of servers. The module requires an existing server, the deployment of a new server can not be done with the module. Here is the documentation for the module: README-server.md New example playbooks have been added: playbooks/server/server-absent-continue.yml playbooks/server/server-absent-force.yml playbooks/server/server-absent-ignore_last_of_role.yml playbooks/server/server-absent-ignore_topology_disconnect.yml playbooks/server/server-absent.yml playbooks/server/server-hidden.yml playbooks/server/server-location.yml playbooks/server/server-no-location.yml playbooks/server/server-no-service-weight.yml playbooks/server/server-not-hidden.yml playbooks/server/server-present.yml playbooks/server/server-service-weight.yml New tests for the module: tests/server/test_server.yml