Bug 1843826

Summary: [ansible-freeipa] The custom port option is not available in the DNSforwardzone module
Product: Red Hat Enterprise Linux 8 Reporter: Varun Mylaraiah <mvarun>
Component: ansible-freeipaAssignee: Rafael Jeffman <rjeffman>
Status: CLOSED ERRATA QA Contact: ipa-qe <ipa-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.3CC: amore, rjeffman, twoerner
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: 8.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: ansible-freeipa-0.1.12-2.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-04 02:46:35 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:

Description Varun Mylaraiah 2020-06-04 09:10:45 UTC
Description of problem:
Forwarders port option is not available in the ansible-freeipa Dnsforwardzone module.


Version-Release number of selected component (if applicable):
ansible-freeipa-0.1.10-1.el8.noarch

Steps to Reproduce:



Actual results:


Expected results:
The option should available.
forwarders: 
     ip_address - The IPv4 or IPv6 address of the DNS server.
     port - The custom port that should be used on this server.

Comment 1 Rafael Jeffman 2020-06-16 02:52:01 UTC
There is an upstream PR available https://github.com/freeipa/ansible-freeipa/pull/304

Comment 3 Thomas Woerner 2020-06-29 10:28:04 UTC
The PR has been merged upstream.

Comment 9 anuja 2020-07-27 12:19:12 UTC
Verified using test : test_dnsforwardzone_add_multiple_forwarder_ipv4_ipv6_and_port
Verified using version :
ansible-freeipa-0.1.12-5.el8.noarch
ipa-server-common-4.8.7-7.module+el8.3.0+7376+c83e4fcd.noarch

2020-07-27T10:59:52+0000 ansible_freeipa_tests/dns_module.py::TestDNSForwardZone::test_dnsforwardzone_add_multiple_forwarder_ipv4_ipv6_and_port 
2020-07-27T10:59:52+0000 -------------------------------- live log call ---------------------------------
2020-07-27T10:59:52+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['kinit', 'admin']
2020-07-27T10:59:52+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['ipa', 'dnsforwardzone-find']
2020-07-27T10:59:53+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['kdestroy', '-A']
2020-07-27T10:59:53+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO WRITE inventory/dns.hosts
2020-07-27T10:59:53+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO PUT dns_module.yml
2020-07-27T10:59:53+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO RUN ['ansible-playbook', '--ssh-extra-args="-o StrictHostKeyChecking=no"', '-vv', '-i', 'inventory/dns.hosts', 'dns_module.yml']
2020-07-27T11:00:58+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['kinit', 'admin']
2020-07-27T11:00:58+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['ipa', 'dnsforwardzone-find', '04testfzone.test']
2020-07-27T11:00:59+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['kdestroy', '-A']
2020-07-27T11:01:00+0000 PASSED                                                                   [ 34%]

Based on this marking vz as verified.

Comment 13 errata-xmlrpc 2020-11-04 02:46:35 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-2020:4663