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 2110538 - [ansible-freeipa] ipadnsconfig requires a fix for boolean value changes.
Summary: [ansible-freeipa] ipadnsconfig requires a fix for boolean value changes.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: ansible-freeipa
Version: 9.1
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Thomas Woerner
QA Contact: Varun Mylaraiah
URL:
Whiteboard:
Depends On:
Blocks: 2110539
TreeView+ depends on / blocked
 
Reported: 2022-07-25 14:58 UTC by Varun Mylaraiah
Modified: 2023-02-21 05:33 UTC (History)
0 users

Fixed In Version: ansible-freeipa-1.8.2-1.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2110539 (view as bug list)
Environment:
Last Closed: 2022-11-15 10:21:27 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FREEIPA-8558 0 None None None 2022-07-25 15:46:05 UTC
Red Hat Issue Tracker RHELPLAN-128908 0 None None None 2022-07-25 15:46:28 UTC
Red Hat Product Errata RHEA-2022:8101 0 None None None 2022-11-15 10:21:32 UTC

Description Varun Mylaraiah 2022-07-25 14:58:05 UTC
Description of problem:
Due to boolean value changes in the latest FreeIPA, ipadnsconfig requires a fix.

Version-Release number of selected component (if applicable):
ansible-freeipa-1.8.1-1

How reproducible:


Steps to Reproduce:
Failed	ansible_freeipa_tests/upstream/test_upstream.py::TestUpstreamDNS::test_dnsconfig
*
*
*
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 PLAYBOOK: test_dnsconfig.yml ***************************************************
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 1 plays in /usr/share/ansible-freeipa/tests/dnsconfig/test_dnsconfig.yml
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 PLAY [Test dnsconfig] **********************************************************
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 TASK [Gathering Facts] *********************************************************
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 task path: /usr/share/ansible-freeipa/tests/dnsconfig/test_dnsconfig.yml:2
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 ok: [master.ipadomain.test]
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 META: ran handlers
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 TASK [Ensure forwarders are absent.] *******************************************
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 task path: /usr/share/ansible-freeipa/tests/dnsconfig/test_dnsconfig.yml:9
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 ok: [master.ipadomain.test] => {"changed": false}
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 TASK [Set config to invalid IPv4.] *********************************************
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 task path: /usr/share/ansible-freeipa/tests/dnsconfig/test_dnsconfig.yml:23
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 ok: [master.ipadomain.test] => {"changed": false, "failed_when_result": false, "msg": "Invalid IP for DNS forwarder: 1.2.3.500"}
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 TASK [Set config to invalid IP.] ***********************************************
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 task path: /usr/share/ansible-freeipa/tests/dnsconfig/test_dnsconfig.yml:32
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 ok: [master.ipadomain.test] => {"changed": false, "failed_when_result": false, "msg": "Invalid IP for DNS forwarder: 1.in.va.lid"}
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 TASK [Set config to invalid IPv6.] *********************************************
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 task path: /usr/share/ansible-freeipa/tests/dnsconfig/test_dnsconfig.yml:41
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 ok: [master.ipadomain.test] => {"changed": false, "failed_when_result": false, "msg": "Invalid IP for DNS forwarder: fd00::invalid"}
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 TASK [Set dnsconfig.] **********************************************************
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 task path: /usr/share/ansible-freeipa/tests/dnsconfig/test_dnsconfig.yml:50
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 changed: [master.ipadomain.test] => {"changed": true, "failed_when_result": false}
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 TASK [Set dnsconfig, with the same values.] ************************************
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 task path: /usr/share/ansible-freeipa/tests/dnsconfig/test_dnsconfig.yml:64
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 fatal: [master.ipadomain.test]: FAILED! => {"changed": false, "failed_when_result": true, "msg": "dnsconfig_mod: no modifications to be performed"}
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 PLAY RECAP *********************************************************************
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 master.ipadomain.test      : ok=6    changed=1    unreachable=0    failed=1    skipped=0    rescued=0    ignored=0

Comment 1 Thomas Woerner 2022-07-25 15:04:26 UTC
Here is the upstream PR: https://github.com/freeipa/ansible-freeipa/pull/863

Comment 5 Varun Mylaraiah 2022-08-05 11:08:45 UTC
Verified

ansible-core-2.13.2-1.el9.x86_64
ansible-freeipa-1.8.2-1.el9.noarch
ipa-server-4.10.0-3.el9.x86_64

Passed	ansible_freeipa_tests/upstream/test_upstream.py::TestUpstreamDNS::test_dnsconfig

DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 PLAYBOOK: test_dnsconfig.yml ***************************************************
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 1 plays in /usr/share/ansible-freeipa/tests/dnsconfig/test_dnsconfig.yml
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 PLAY [Test dnsconfig] **********************************************************
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 TASK [Gathering Facts] *********************************************************
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 task path: /usr/share/ansible-freeipa/tests/dnsconfig/test_dnsconfig.yml:2
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 ok: [master.ipadomain.test]
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 META: ran handlers
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 TASK [Ensure forwarders are absent.] *******************************************
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 task path: /usr/share/ansible-freeipa/tests/dnsconfig/test_dnsconfig.yml:9
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 ok: [master.ipadomain.test] => {"changed": false}
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 TASK [Set forward with invalid IPv4.] ******************************************
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 task path: /usr/share/ansible-freeipa/tests/dnsconfig/test_dnsconfig.yml:20
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 ok: [master.ipadomain.test] => {"changed": false, "failed_when_result": false, "msg": "Invalid IP for DNS forwarder: 1.2.3.500"}
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 TASK [Set config to invalid IP.] ***********************************************
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 task path: /usr/share/ansible-freeipa/tests/dnsconfig/test_dnsconfig.yml:29
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 ok: [master.ipadomain.test] => {"changed": false, "failed_when_result": false, "msg": "Invalid IP for DNS forwarder: 1.in.va.lid"}
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 TASK [Set config to invalid IPv6.] *********************************************
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 task path: /usr/share/ansible-freeipa/tests/dnsconfig/test_dnsconfig.yml:38
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 ok: [master.ipadomain.test] => {"changed": false, "failed_when_result": false, "msg": "Invalid IP for DNS forwarder: fd00::invalid"}
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 TASK [Set dnsconfig.] **********************************************************
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 task path: /usr/share/ansible-freeipa/tests/dnsconfig/test_dnsconfig.yml:47
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 changed: [master.ipadomain.test] => {"changed": true, "failed_when_result": false}
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 TASK [Set dnsconfig, with the same values.] ************************************
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 task path: /usr/share/ansible-freeipa/tests/dnsconfig/test_dnsconfig.yml:59
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 ok: [master.ipadomain.test] => {"changed": false, "failed_when_result": false}
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 TASK [Ensure forwarder 8.8.8.8 is absent.] *************************************
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 task path: /usr/share/ansible-freeipa/tests/dnsconfig/test_dnsconfig.yml:71
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 changed: [master.ipadomain.test] => {"changed": true, "failed_when_result": false}
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 TASK [Ensure forwarder 8.8.8.8 is absent, again.] ******************************
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 task path: /usr/share/ansible-freeipa/tests/dnsconfig/test_dnsconfig.yml:82
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 ok: [master.ipadomain.test] => {"changed": false, "failed_when_result": false}
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 TASK [Check if forwarder 8.8.4.4 is present.] **********************************
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 task path: /usr/share/ansible-freeipa/tests/dnsconfig/test_dnsconfig.yml:93
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 ok: [master.ipadomain.test] => {"changed": false, "failed_when_result": false}
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 TASK [Ensure forwarder 8.8.8.8 is present.] ************************************
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 task path: /usr/share/ansible-freeipa/tests/dnsconfig/test_dnsconfig.yml:103
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 changed: [master.ipadomain.test] => {"changed": true, "failed_when_result": false}
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 TASK [Check forwarder 8.8.4.4 is still present.] *******************************
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 task path: /usr/share/ansible-freeipa/tests/dnsconfig/test_dnsconfig.yml:112
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 changed: [master.ipadomain.test] => {"changed": true, "failed_when_result": false}
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 TASK [Disable global forwarders.] **********************************************
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 task path: /usr/share/ansible-freeipa/tests/dnsconfig/test_dnsconfig.yml:122
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 changed: [master.ipadomain.test] => {"changed": true, "failed_when_result": false}
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 TASK [Disable global forwarders, again.] ***************************************
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 task path: /usr/share/ansible-freeipa/tests/dnsconfig/test_dnsconfig.yml:130
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 ok: [master.ipadomain.test] => {"changed": false, "failed_when_result": false}
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 TASK [Re-enable global forwarders.] ********************************************
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 task path: /usr/share/ansible-freeipa/tests/dnsconfig/test_dnsconfig.yml:138
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 changed: [master.ipadomain.test] => {"changed": true, "failed_when_result": false}
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 TASK [Re-enable global forwarders, again.] *************************************
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 task path: /usr/share/ansible-freeipa/tests/dnsconfig/test_dnsconfig.yml:146
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 ok: [master.ipadomain.test] => {"changed": false, "failed_when_result": false}
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 TASK [Disable PTR record synchronization.] *************************************
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 task path: /usr/share/ansible-freeipa/tests/dnsconfig/test_dnsconfig.yml:154
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 changed: [master.ipadomain.test] => {"changed": true, "failed_when_result": false}
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 TASK [Disable PTR record synchronization, again.] ******************************
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 task path: /usr/share/ansible-freeipa/tests/dnsconfig/test_dnsconfig.yml:162
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 ok: [master.ipadomain.test] => {"changed": false, "failed_when_result": false}
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 TASK [Re-enable PTR record synchronization.] ***********************************
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 task path: /usr/share/ansible-freeipa/tests/dnsconfig/test_dnsconfig.yml:170
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 changed: [master.ipadomain.test] => {"changed": true, "failed_when_result": false}
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 TASK [Re-enable PTR record synchronization, again.] ****************************
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 task path: /usr/share/ansible-freeipa/tests/dnsconfig/test_dnsconfig.yml:178
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 ok: [master.ipadomain.test] => {"changed": false, "failed_when_result": false}
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 TASK [Ensure forwarders are absent.] *******************************************
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 task path: /usr/share/ansible-freeipa/tests/dnsconfig/test_dnsconfig.yml:186
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 changed: [master.ipadomain.test] => {"changed": true}
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 META: ran handlers
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 META: ran handlers
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 PLAY RECAP *********************************************************************
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 master.ipadomain.test      : ok=21   changed=9    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0   
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:563 
DEBUG    pytest_multihost.host.Host.ansible.cmd6:transport.py:217 Exit code: 0

Based on the test result, marking the bug Verified

Comment 7 errata-xmlrpc 2022-11-15 10:21:27 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/RHEA-2022:8101


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