RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2132989 - ansible-freeipa Replica Install Setup DNS fails [rhel-8.6.0.z]
Summary: ansible-freeipa Replica Install Setup DNS fails [rhel-8.6.0.z]
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: ansible-freeipa
Version: 8.5
Hardware: Unspecified
OS: Linux
unspecified
high
Target Milestone: rc
: ---
Assignee: Thomas Woerner
QA Contact: ipa-qe
URL:
Whiteboard:
Depends On: 2120415
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-10-07 12:14 UTC by RHEL Program Management Team
Modified: 2022-10-25 09:40 UTC (History)
4 users (show)

Fixed In Version: ansible-freeipa-1.6.3-2.el8_6
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2120415
Environment:
Last Closed: 2022-10-25 09:34:57 UTC
Type: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FREEIPA-8907 0 None None None 2022-10-07 12:32:36 UTC
Red Hat Issue Tracker RHELPLAN-135918 0 None None None 2022-10-07 12:32:47 UTC
Red Hat Product Errata RHBA-2022:7130 0 None None None 2022-10-25 09:35:06 UTC

Comment 4 Varun Mylaraiah 2022-10-13 09:57:39 UTC
Verified

ansible-2.9.27-1.el8ae.noarch
ansible-freeipa-1.6.3-2.el8_6.noarch

Passed	ansible_freeipa_tests/replica/test_idm_deploy_replica.py::TestReplicaWithDNS::test_replica_with_dns
 
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 TASK [ipareplica : Install - Replica preparation] ******************************
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 task path: /usr/share/ansible/roles/ipareplica/tasks/install.yml:151
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 changed: [replica1.ipadomain.test] => {"_add_to_ipaservers": true, "_ca_enabled": true, "_ca_file": "/etc/ipa/ca.crt", "_ca_subject": "CN=Certificate Authority,O=IPADOMAIN.TEST", "_dirsrv_ca_cert": null, "_dirsrv_pkcs12_info": null, "_http_ca_cert": null, "_http_pkcs12_info": null, "_kra_enabled": false, "_pkinit_ca_cert": null, "_pkinit_pkcs12_info": null, "_subject_base": "O=IPADOMAIN.TEST", "_top_dir": "/tmp/tmpvmu4h1s1ipa", "adtrust_netbios_name": "IPADOMAIN", "adtrust_reset_netbios_name": false, "ccache": "/tmp/krbcctn_i585e/ccache", "changed": true, "config_ca_host_name": "master.ipadomain.test", "config_ips": ["10.0.195.162"], "config_kra_host_name": "master.ipadomain.test", "config_master_host_name": "master.ipadomain.test", "config_setup_ca": false, "dns_ip_addresses": ["10.0.195.162"], "dns_reverse_zones": [], "forward_policy": "only", "installer_ccache": "/tmp/tmpr4a80wde", "no_dnssec_validation": true, "rid_base": 1000, "secondary_rid_base": 100000000, "subject_base": "O=IPADOMAIN.TEST"}
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 TASK [ipareplica : Install - Add to ipaservers] ********************************
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 task path: /usr/share/ansible/roles/ipareplica/tasks/install.yml:207
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 changed: [replica1.ipadomain.test] => {"changed": true}
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 TASK [ipareplica : Install - Create dirman password] ***************************
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 task path: /usr/share/ansible/roles/ipareplica/tasks/install.yml:219
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 changed: [replica1.ipadomain.test] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true}
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 TASK [ipareplica : Install - Set dirman password] ******************************
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 task path: /usr/share/ansible/roles/ipareplica/tasks/install.yml:225
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 ok: [replica1.ipadomain.test] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false}
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 TASK [ipareplica : Install - Setup certmonger] *********************************
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 task path: /usr/share/ansible/roles/ipareplica/tasks/install.yml:231
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 changed: [replica1.ipadomain.test] => {"changed": true}
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 TASK [ipareplica : Install - Install CA certs] *********************************
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 task path: /usr/share/ansible/roles/ipareplica/tasks/install.yml:235
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 changed: [replica1.ipadomain.test] => {"changed": true, "config_ca_host_name": "master.ipadomain.test", "config_master_host_name": "master.ipadomain.test"}
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 TASK [ipareplica : Install - Setup DS] *****************************************
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 task path: /usr/share/ansible/roles/ipareplica/tasks/install.yml:277
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 changed: [replica1.ipadomain.test] => {"changed": true, "ds_ca_subject": "CN=Certificate Authority,O=IPADOMAIN.TEST", "ds_suffix": "dc=ipadomain,dc=test"}
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 TASK [ipareplica : Install - Create IPA conf] **********************************
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 task path: /usr/share/ansible/roles/ipareplica/tasks/install.yml:321
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 changed: [replica1.ipadomain.test] => {"changed": true}
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 TASK [ipareplica : Install - Setup KRB] ****************************************
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 task path: /usr/share/ansible/roles/ipareplica/tasks/install.yml:360
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 changed: [replica1.ipadomain.test] => {"changed": true, "config_master_host_name": "master.ipadomain.test"}
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 TASK [ipareplica : Install - Create override IPA conf] *************************
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 task path: /usr/share/ansible/roles/ipareplica/tasks/install.yml:379
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 changed: [replica1.ipadomain.test] => {"changed": true}
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 TASK [ipareplica : Install - DS enable SSL] ************************************
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 task path: /usr/share/ansible/roles/ipareplica/tasks/install.yml:421
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 changed: [replica1.ipadomain.test] => {"changed": true}
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 TASK [ipareplica : Install - Setup http] ***************************************
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 task path: /usr/share/ansible/roles/ipareplica/tasks/install.yml:442
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 changed: [replica1.ipadomain.test] => {"changed": true}
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 TASK [ipareplica : Install - Create original IPA conf again] *******************
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 task path: /usr/share/ansible/roles/ipareplica/tasks/install.yml:463
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 changed: [replica1.ipadomain.test] => {"changed": true}
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 TASK [ipareplica : Install - Setup otpd] ***************************************
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 task path: /usr/share/ansible/roles/ipareplica/tasks/install.yml:503
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 changed: [replica1.ipadomain.test] => {"changed": true}
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 TASK [ipareplica : Install - Setup custodia] ***********************************
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 task path: /usr/share/ansible/roles/ipareplica/tasks/install.yml:520
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 changed: [replica1.ipadomain.test] => {"changed": true}
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 TASK [ipareplica : Install - Setup CA] *****************************************
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 task path: /usr/share/ansible/roles/ipareplica/tasks/install.yml:541
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 changed: [replica1.ipadomain.test] => {"changed": true}
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 TASK [ipareplica : Install - KRB enable SSL] ***********************************
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 task path: /usr/share/ansible/roles/ipareplica/tasks/install.yml:570
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 changed: [replica1.ipadomain.test] => {"changed": true}
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 TASK [ipareplica : Install - DS apply updates] *********************************
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 task path: /usr/share/ansible/roles/ipareplica/tasks/install.yml:588
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 changed: [replica1.ipadomain.test] => {"changed": true}
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 TASK [ipareplica : Install - Setup kra] ****************************************
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 task path: /usr/share/ansible/roles/ipareplica/tasks/install.yml:609
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 skipping: [replica1.ipadomain.test] => {"changed": false, "skip_reason": "Conditional result was False"}
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 TASK [ipareplica : Install - Restart KDC] **************************************
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 task path: /usr/share/ansible/roles/ipareplica/tasks/install.yml:649
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 changed: [replica1.ipadomain.test] => {"changed": true}
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 TASK [ipareplica : Install - Custodia import dm password] **********************
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 task path: /usr/share/ansible/roles/ipareplica/tasks/install.yml:666
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 changed: [replica1.ipadomain.test] => {"changed": true}
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 TASK [ipareplica : Install - Promote SSSD] *************************************
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 task path: /usr/share/ansible/roles/ipareplica/tasks/install.yml:688
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 changed: [replica1.ipadomain.test] => {"changed": true}
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 TASK [ipareplica : Install - Promote openldap.conf] ****************************
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 task path: /usr/share/ansible/roles/ipareplica/tasks/install.yml:701
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 changed: [replica1.ipadomain.test] => {"changed": true}
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 TASK [ipareplica : Install - Setup DNS] ****************************************
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 task path: /usr/share/ansible/roles/ipareplica/tasks/install.yml:714
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 changed: [replica1.ipadomain.test] => {"changed": true}
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 TASK [ipareplica : Install - Setup adtrust] ************************************
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 task path: /usr/share/ansible/roles/ipareplica/tasks/install.yml:738
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 changed: [replica1.ipadomain.test] => {"changed": true}
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 TASK [ipareplica : Install - Enable IPA] ***************************************
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 task path: /usr/share/ansible/roles/ipareplica/tasks/install.yml:762
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 changed: [replica1.ipadomain.test] => {"changed": true}
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 TASK [ipareplica : Install - Cleanup root IPA cache] ***************************
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 task path: /usr/share/ansible/roles/ipareplica/tasks/install.yml:779
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 ok: [replica1.ipadomain.test] => {"changed": false, "path": "/root/.ipa_cache", "state": "absent"}
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 TASK [ipareplica : Cleanup temporary files] ************************************
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 task path: /usr/share/ansible/roles/ipareplica/tasks/install.yml:786
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 ok: [replica1.ipadomain.test] => (item=/etc/ipa/.tmp_pkcs12_dirsrv) => {"ansible_loop_var": "item", "changed": false, "item": "/etc/ipa/.tmp_pkcs12_dirsrv", "path": "/etc/ipa/.tmp_pkcs12_dirsrv", "state": "absent"}
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 ok: [replica1.ipadomain.test] => (item=/etc/ipa/.tmp_pkcs12_http) => {"ansible_loop_var": "item", "changed": false, "item": "/etc/ipa/.tmp_pkcs12_http", "path": "/etc/ipa/.tmp_pkcs12_http", "state": "absent"}
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 ok: [replica1.ipadomain.test] => (item=/etc/ipa/.tmp_pkcs12_pkinit) => {"ansible_loop_var": "item", "changed": false, "item": "/etc/ipa/.tmp_pkcs12_pkinit", "path": "/etc/ipa/.tmp_pkcs12_pkinit", "state": "absent"}
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 TASK [ipareplica : Uninstall IPA replica] **************************************
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 task path: /usr/share/ansible/roles/ipareplica/tasks/main.yml:23
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 skipping: [replica1.ipadomain.test] => {"changed": false, "skip_reason": "Conditional result was False"}
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 META: ran handlers
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 META: ran handlers
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 PLAY RECAP *********************************************************************
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 replica1.ipadomain.test    : ok=56   changed=37   unreachable=0    failed=0    skipped=28   rescued=0    ignored=0   
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:563 
DEBUG    paramiko.transport:channel.py:1212 [chan 8] EOF received (8)
DEBUG    paramiko.transport:channel.py:1212 [chan 8] EOF sent (8)
DEBUG    pytest_multihost.host.Host.ansible.cmd8:transport.py:217 Exit code: 0



Based on the test result, marking the bug Verified

Comment 9 errata-xmlrpc 2022-10-25 09:34:57 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 (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-2022:7130


Note You need to log in before you can comment on or make changes to this bug.