Bug 1843830
| Summary: | [ansible-freeipa] dnsforwardzone add/remove permission option is not available in the DNSforwardzone module | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Varun Mylaraiah <mvarun> |
| Component: | ansible-freeipa | Assignee: | Rafael Jeffman <rjeffman> |
| Status: | CLOSED ERRATA | QA Contact: | ipa-qe <ipa-qe> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 8.3 | CC: | amore, rjeffman, twoerner |
| Target Milestone: | rc | Flags: | 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:57 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:14:48 UTC
There is an upstream PR available https://github.com/freeipa/ansible-freeipa/pull/304 The PR has been merged upstream. Verified Using :
ansible-freeipa-0.1.12-4.el8.noarch
ansible-freeipa-tests/ansible_freeipa_tests/dns_module.py::TestDNSForwardZone::()::test_dnsforwardzone_permission
------------------------------ Captured log call -------------------------------
channel.py 1212 DEBUG [chan 74] Max packet in: 32768 bytes
channel.py 1212 DEBUG [chan 74] Max packet out: 32768 bytes
transport.py 1819 DEBUG Secsh channel 74 opened.
transport.py 318 INFO RUN ['kinit', 'admin']
transport.py 519 DEBUG RUN ['kinit', 'admin']
channel.py 1212 DEBUG [chan 74] Sesch channel 74 request ok
transport.py 563 DEBUG -bash: line 1: cd: /root/multihost_tests: No such file or directory
transport.py 563 DEBUG -bash: line 2: /root/multihost_tests/env.sh: No such file or directory
transport.py 563 DEBUG Password for admin:
channel.py 1212 DEBUG [chan 74] EOF received (74)
channel.py 1212 DEBUG [chan 74] EOF sent (74)
transport.py 217 DEBUG Exit code: 0
channel.py 1212 DEBUG [chan 75] Max packet in: 32768 bytes
channel.py 1212 DEBUG [chan 75] Max packet out: 32768 bytes
transport.py 1819 DEBUG Secsh channel 75 opened.
transport.py 318 INFO RUN ['ipa', 'dnsforwardzone-add', 'testpermission.com', '--forward-policy=first', '--forwarder=192.1.22.2']
transport.py 519 DEBUG RUN ['ipa', 'dnsforwardzone-add', 'testpermission.com', '--forward-policy=first', '--forwarder=192.1.22.2']
channel.py 1212 DEBUG [chan 75] Sesch channel 75 request ok
transport.py 563 DEBUG -bash: line 1: cd: /root/multihost_tests: No such file or directory
transport.py 563 DEBUG -bash: line 2: /root/multihost_tests/env.sh: No such file or directory
transport.py 563 DEBUG ipa: WARNING: DNS server 192.1.22.2: query 'testpermission.com. SOA': The DNS operation timed out after 10.000680446624756 seconds.
transport.py 563 DEBUG Server will check DNS forwarder(s).
transport.py 563 DEBUG This may take some time, please wait ...
transport.py 563 DEBUG Zone name: testpermission.com.
transport.py 563 DEBUG Active zone: TRUE
transport.py 563 DEBUG Zone forwarders: 192.1.22.2
transport.py 563 DEBUG Forward policy: first
channel.py 1212 DEBUG [chan 75] EOF received (75)
channel.py 1212 DEBUG [chan 75] EOF sent (75)
transport.py 217 DEBUG Exit code: 0
channel.py 1212 DEBUG [chan 76] Max packet in: 32768 bytes
channel.py 1212 DEBUG [chan 76] Max packet out: 32768 bytes
transport.py 1819 DEBUG Secsh channel 76 opened.
transport.py 318 INFO RUN ['kinit', 'admin']
transport.py 519 DEBUG RUN ['kinit', 'admin']
channel.py 1212 DEBUG [chan 76] Sesch channel 76 request ok
transport.py 563 DEBUG -bash: line 1: cd: /root/multihost_tests: No such file or directory
transport.py 563 DEBUG -bash: line 2: /root/multihost_tests/env.sh: No such file or directory
transport.py 563 DEBUG Password for admin:
channel.py 1212 DEBUG [chan 76] EOF received (76)
channel.py 1212 DEBUG [chan 76] EOF sent (76)
transport.py 217 DEBUG Exit code: 0
channel.py 1212 DEBUG [chan 77] Max packet in: 32768 bytes
channel.py 1212 DEBUG [chan 77] Max packet out: 32768 bytes
transport.py 1819 DEBUG Secsh channel 77 opened.
transport.py 318 INFO RUN ['ipa', 'dnsforwardzone-show', 'testpermission.com']
transport.py 519 DEBUG RUN ['ipa', 'dnsforwardzone-show', 'testpermission.com']
channel.py 1212 DEBUG [chan 77] Sesch channel 77 request ok
transport.py 563 DEBUG -bash: line 1: cd: /root/multihost_tests: No such file or directory
transport.py 563 DEBUG -bash: line 2: /root/multihost_tests/env.sh: No such file or directory
transport.py 563 DEBUG Zone name: testpermission.com.
transport.py 563 DEBUG Active zone: TRUE
transport.py 563 DEBUG Zone forwarders: 192.1.22.2
transport.py 563 DEBUG Forward policy: first
channel.py 1212 DEBUG [chan 77] EOF received (77)
channel.py 1212 DEBUG [chan 77] EOF sent (77)
transport.py 217 DEBUG Exit code: 0
channel.py 1212 DEBUG [chan 78] Max packet in: 32768 bytes
channel.py 1212 DEBUG [chan 78] Max packet out: 32768 bytes
transport.py 1819 DEBUG Secsh channel 78 opened.
transport.py 318 INFO RUN ['kdestroy', '-A']
transport.py 519 DEBUG RUN ['kdestroy', '-A']
channel.py 1212 DEBUG [chan 78] Sesch channel 78 request ok
transport.py 563 DEBUG -bash: line 1: cd: /root/multihost_tests: No such file or directory
transport.py 563 DEBUG -bash: line 2: /root/multihost_tests/env.sh: No such file or directory
channel.py 1212 DEBUG [chan 78] EOF received (78)
channel.py 1212 DEBUG [chan 78] EOF sent (78)
transport.py 217 DEBUG Exit code: 0
transport.py 293 INFO WRITE inventory/dns.hosts
sftp.py 158 DEBUG [chan 0] open(b'inventory/dns.hosts', 'wb')
sftp.py 158 DEBUG [chan 0] open(b'inventory/dns.hosts', 'wb') -> 00000000
sftp.py 158 DEBUG [chan 0] close(00000000)
transport.py 329 INFO PUT dns_module.yml
sftp.py 158 DEBUG [chan 0] open(b'dns_module.yml', 'wb')
sftp.py 158 DEBUG [chan 0] open(b'dns_module.yml', 'wb') -> 00000000
sftp.py 158 DEBUG [chan 0] close(00000000)
sftp.py 158 DEBUG [chan 0] stat(b'dns_module.yml')
channel.py 1212 DEBUG [chan 15] Max packet in: 32768 bytes
channel.py 1212 DEBUG [chan 15] Max packet out: 32768 bytes
transport.py 1819 DEBUG Secsh channel 15 opened.
transport.py 318 INFO RUN ['ansible-playbook', '--ssh-extra-args="-o StrictHostKeyChecking=no"', '-vv', '-i', 'inventory/dns.hosts', 'dns_module.yml']
transport.py 519 DEBUG RUN ['ansible-playbook', '--ssh-extra-args="-o StrictHostKeyChecking=no"', '-vv', '-i', 'inventory/dns.hosts', 'dns_module.yml']
channel.py 1212 DEBUG [chan 15] Sesch channel 15 request ok
transport.py 563 DEBUG -bash: line 1: cd: /root/multihost_tests: No such file or directory
transport.py 563 DEBUG -bash: line 2: /root/multihost_tests/env.sh: No such file or directory
transport.py 563 DEBUG ansible-playbook 2.9.11
transport.py 563 DEBUG config file = /root/ansible.cfg
transport.py 563 DEBUG configured module search path = ['/root/ansible-freeipa/plugins/modules', '/usr/share/ansible/plugins/modules']
transport.py 563 DEBUG ansible python module location = /usr/lib/python3.6/site-packages/ansible
transport.py 563 DEBUG executable location = /usr/bin/ansible-playbook
transport.py 563 DEBUG python version = 3.6.8 (default, Jun 26 2020, 12:10:09) [GCC 8.3.1 20191121 (Red Hat 8.3.1-5)]
transport.py 563 DEBUG Using /root/ansible.cfg as config file
transport.py 563 DEBUG
transport.py 563 DEBUG PLAYBOOK: dns_module.yml *******************************************************
transport.py 563 DEBUG 1 plays in dns_module.yml
transport.py 563 DEBUG
transport.py 563 DEBUG PLAY [Playbook to ensure adding permission to dnsforwardzone.] *****************
transport.py 563 DEBUG
transport.py 563 DEBUG TASK [Gathering Facts] *********************************************************
transport.py 563 DEBUG task path: /root/dns_module.yml:2
transport.py 563 DEBUG ok: [master.ipadomain.test]
transport.py 563 DEBUG META: ran handlers
transport.py 563 DEBUG
transport.py 563 DEBUG TASK [ipadnsforwardzone] *******************************************************
transport.py 563 DEBUG task path: /root/dns_module.yml:7
transport.py 563 DEBUG changed: [master.ipadomain.test] => {"changed": true, "dnsforwardzone": {}}
transport.py 563 DEBUG META: ran handlers
transport.py 563 DEBUG META: ran handlers
transport.py 563 DEBUG
transport.py 563 DEBUG PLAY RECAP *********************************************************************
transport.py 563 DEBUG master.ipadomain.test : ok=2 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
transport.py 563 DEBUG
channel.py 1212 DEBUG [chan 15] EOF received (15)
channel.py 1212 DEBUG [chan 15] EOF sent (15)
transport.py 217 DEBUG Exit code: 0
channel.py 1212 DEBUG [chan 79] Max packet in: 32768 bytes
channel.py 1212 DEBUG [chan 79] Max packet out: 32768 bytes
transport.py 1819 DEBUG Secsh channel 79 opened.
transport.py 318 INFO RUN ['kinit', 'admin']
transport.py 519 DEBUG RUN ['kinit', 'admin']
channel.py 1212 DEBUG [chan 79] Sesch channel 79 request ok
transport.py 563 DEBUG -bash: line 1: cd: /root/multihost_tests: No such file or directory
transport.py 563 DEBUG -bash: line 2: /root/multihost_tests/env.sh: No such file or directory
transport.py 563 DEBUG Password for admin:
channel.py 1212 DEBUG [chan 79] EOF received (79)
channel.py 1212 DEBUG [chan 79] EOF sent (79)
transport.py 217 DEBUG Exit code: 0
channel.py 1212 DEBUG [chan 80] Max packet in: 32768 bytes
channel.py 1212 DEBUG [chan 80] Max packet out: 32768 bytes
transport.py 1819 DEBUG Secsh channel 80 opened.
transport.py 318 INFO RUN ['ipa', 'dnsforwardzone-show', 'testpermission.com', '--all']
transport.py 519 DEBUG RUN ['ipa', 'dnsforwardzone-show', 'testpermission.com', '--all']
channel.py 1212 DEBUG [chan 80] Sesch channel 80 request ok
transport.py 563 DEBUG -bash: line 1: cd: /root/multihost_tests: No such file or directory
transport.py 563 DEBUG -bash: line 2: /root/multihost_tests/env.sh: No such file or directory
transport.py 563 DEBUG dn: idnsname=testpermission.com.,cn=dns,dc=ipadomain,dc=test
transport.py 563 DEBUG Zone name: testpermission.com.
transport.py 563 DEBUG Active zone: TRUE
transport.py 563 DEBUG Zone forwarders: 192.1.22.2
transport.py 563 DEBUG Forward policy: first
transport.py 563 DEBUG Managedby permission: cn=Manage DNS zone testpermission.com.,cn=permissions,cn=pbac,dc=ipadomain,dc=test
transport.py 563 DEBUG objectclass: top, idnsforwardzone, ipadnszone
channel.py 1212 DEBUG [chan 80] EOF received (80)
channel.py 1212 DEBUG [chan 80] EOF sent (80)
transport.py 217 DEBUG Exit code: 0
channel.py 1212 DEBUG [chan 81] Max packet in: 32768 bytes
channel.py 1212 DEBUG [chan 81] Max packet out: 32768 bytes
transport.py 1819 DEBUG Secsh channel 81 opened.
transport.py 318 INFO RUN ['kdestroy', '-A']
transport.py 519 DEBUG RUN ['kdestroy', '-A']
channel.py 1212 DEBUG [chan 81] Sesch channel 81 request ok
transport.py 563 DEBUG -bash: line 1: cd: /root/multihost_tests: No such file or directory
transport.py 563 DEBUG -bash: line 2: /root/multihost_tests/env.sh: No such file or directory
channel.py 1212 DEBUG [chan 81] EOF received (81)
channel.py 1212 DEBUG [chan 81] EOF sent (81)
transport.py 217 DEBUG Exit code: 0
transport.py 293 INFO WRITE inventory/dns.hosts
sftp.py 158 DEBUG [chan 0] open(b'inventory/dns.hosts', 'wb')
sftp.py 158 DEBUG [chan 0] open(b'inventory/dns.hosts', 'wb') -> 00000000
sftp.py 158 DEBUG [chan 0] close(00000000)
transport.py 329 INFO PUT dns_module.yml
sftp.py 158 DEBUG [chan 0] open(b'dns_module.yml', 'wb')
sftp.py 158 DEBUG [chan 0] open(b'dns_module.yml', 'wb') -> 00000000
sftp.py 158 DEBUG [chan 0] close(00000000)
sftp.py 158 DEBUG [chan 0] stat(b'dns_module.yml')
channel.py 1212 DEBUG [chan 16] Max packet in: 32768 bytes
channel.py 1212 DEBUG [chan 16] Max packet out: 32768 bytes
transport.py 1819 DEBUG Secsh channel 16 opened.
transport.py 318 INFO RUN ['ansible-playbook', '--ssh-extra-args="-o StrictHostKeyChecking=no"', '-vv', '-i', 'inventory/dns.hosts', 'dns_module.yml']
transport.py 519 DEBUG RUN ['ansible-playbook', '--ssh-extra-args="-o StrictHostKeyChecking=no"', '-vv', '-i', 'inventory/dns.hosts', 'dns_module.yml']
channel.py 1212 DEBUG [chan 16] Sesch channel 16 request ok
transport.py 563 DEBUG -bash: line 1: cd: /root/multihost_tests: No such file or directory
transport.py 563 DEBUG -bash: line 2: /root/multihost_tests/env.sh: No such file or directory
transport.py 563 DEBUG ansible-playbook 2.9.11
transport.py 563 DEBUG config file = /root/ansible.cfg
transport.py 563 DEBUG configured module search path = ['/root/ansible-freeipa/plugins/modules', '/usr/share/ansible/plugins/modules']
transport.py 563 DEBUG ansible python module location = /usr/lib/python3.6/site-packages/ansible
transport.py 563 DEBUG executable location = /usr/bin/ansible-playbook
transport.py 563 DEBUG python version = 3.6.8 (default, Jun 26 2020, 12:10:09) [GCC 8.3.1 20191121 (Red Hat 8.3.1-5)]
transport.py 563 DEBUG Using /root/ansible.cfg as config file
transport.py 563 DEBUG
transport.py 563 DEBUG PLAYBOOK: dns_module.yml *******************************************************
transport.py 563 DEBUG 1 plays in dns_module.yml
transport.py 563 DEBUG
transport.py 563 DEBUG PLAY [Playbook to ensure remove permission to dnsforwardzone.] *****************
transport.py 563 DEBUG
transport.py 563 DEBUG TASK [Gathering Facts] *********************************************************
transport.py 563 DEBUG task path: /root/dns_module.yml:2
transport.py 563 DEBUG ok: [master.ipadomain.test]
transport.py 563 DEBUG META: ran handlers
transport.py 563 DEBUG
transport.py 563 DEBUG TASK [ipadnsforwardzone] *******************************************************
transport.py 563 DEBUG task path: /root/dns_module.yml:7
transport.py 563 DEBUG changed: [master.ipadomain.test] => {"changed": true, "dnsforwardzone": {}}
transport.py 563 DEBUG META: ran handlers
transport.py 563 DEBUG META: ran handlers
transport.py 563 DEBUG
transport.py 563 DEBUG PLAY RECAP *********************************************************************
transport.py 563 DEBUG master.ipadomain.test : ok=2 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
transport.py 563 DEBUG
channel.py 1212 DEBUG [chan 16] EOF received (16)
channel.py 1212 DEBUG [chan 16] EOF sent (16)
transport.py 217 DEBUG Exit code: 0
channel.py 1212 DEBUG [chan 82] Max packet in: 32768 bytes
channel.py 1212 DEBUG [chan 82] Max packet out: 32768 bytes
transport.py 1819 DEBUG Secsh channel 82 opened.
transport.py 318 INFO RUN ['kinit', 'admin']
transport.py 519 DEBUG RUN ['kinit', 'admin']
channel.py 1212 DEBUG [chan 82] Sesch channel 82 request ok
transport.py 563 DEBUG -bash: line 1: cd: /root/multihost_tests: No such file or directory
transport.py 563 DEBUG -bash: line 2: /root/multihost_tests/env.sh: No such file or directory
transport.py 563 DEBUG Password for admin:
channel.py 1212 DEBUG [chan 82] EOF received (82)
channel.py 1212 DEBUG [chan 82] EOF sent (82)
transport.py 217 DEBUG Exit code: 0
channel.py 1212 DEBUG [chan 83] Max packet in: 32768 bytes
channel.py 1212 DEBUG [chan 83] Max packet out: 32768 bytes
transport.py 1819 DEBUG Secsh channel 83 opened.
transport.py 318 INFO RUN ['ipa', 'dnsforwardzone-find', 'testpermission.com']
transport.py 519 DEBUG RUN ['ipa', 'dnsforwardzone-find', 'testpermission.com']
channel.py 1212 DEBUG [chan 83] Sesch channel 83 request ok
transport.py 563 DEBUG -bash: line 1: cd: /root/multihost_tests: No such file or directory
transport.py 563 DEBUG -bash: line 2: /root/multihost_tests/env.sh: No such file or directory
transport.py 563 DEBUG Zone name: testpermission.com.
transport.py 563 DEBUG Active zone: TRUE
transport.py 563 DEBUG Zone forwarders: 192.1.22.2
transport.py 563 DEBUG Forward policy: first
transport.py 563 DEBUG ----------------------------
transport.py 563 DEBUG Number of entries returned 1
transport.py 563 DEBUG ----------------------------
channel.py 1212 DEBUG [chan 83] EOF received (83)
channel.py 1212 DEBUG [chan 83] EOF sent (83)
transport.py 217 DEBUG Exit code: 0
channel.py 1212 DEBUG [chan 84] Max packet in: 32768 bytes
channel.py 1212 DEBUG [chan 84] Max packet out: 32768 bytes
transport.py 1819 DEBUG Secsh channel 84 opened.
transport.py 318 INFO RUN ['kdestroy', '-A']
transport.py 519 DEBUG RUN ['kdestroy', '-A']
channel.py 1212 DEBUG [chan 84] Sesch channel 84 request ok
transport.py 563 DEBUG -bash: line 1: cd: /root/multihost_tests: No such file or directory
transport.py 563 DEBUG -bash: line 2: /root/multihost_tests/env.sh: No such file or directory
channel.py 1212 DEBUG [chan 84] EOF received (84)
channel.py 1212 DEBUG [chan 84] EOF sent (84)
transport.py 217 DEBUG Exit code: 0
channel.py 1212 DEBUG [chan 85] Max packet in: 32768 bytes
channel.py 1212 DEBUG [chan 85] Max packet out: 32768 bytes
transport.py 1819 DEBUG Secsh channel 85 opened.
transport.py 318 INFO RUN ['kinit', 'admin']
transport.py 519 DEBUG RUN ['kinit', 'admin']
channel.py 1212 DEBUG [chan 85] Sesch channel 85 request ok
transport.py 563 DEBUG -bash: line 1: cd: /root/multihost_tests: No such file or directory
transport.py 563 DEBUG -bash: line 2: /root/multihost_tests/env.sh: No such file or directory
transport.py 563 DEBUG Password for admin:
channel.py 1212 DEBUG [chan 85] EOF received (85)
channel.py 1212 DEBUG [chan 85] EOF sent (85)
transport.py 217 DEBUG Exit code: 0
channel.py 1212 DEBUG [chan 86] Max packet in: 32768 bytes
channel.py 1212 DEBUG [chan 86] Max packet out: 32768 bytes
transport.py 1819 DEBUG Secsh channel 86 opened.
transport.py 318 INFO RUN ['ipa', 'dnsforwardzone-del', 'testpermission.com']
transport.py 519 DEBUG RUN ['ipa', 'dnsforwardzone-del', 'testpermission.com']
channel.py 1212 DEBUG [chan 86] Sesch channel 86 request ok
transport.py 563 DEBUG -bash: line 1: cd: /root/multihost_tests: No such file or directory
transport.py 563 DEBUG -bash: line 2: /root/multihost_tests/env.sh: No such file or directory
transport.py 563 DEBUG ----------------------------------------------
transport.py 563 DEBUG Deleted DNS forward zone "testpermission.com."
transport.py 563 DEBUG ----------------------------------------------
channel.py 1212 DEBUG [chan 86] EOF received (86)
channel.py 1212 DEBUG [chan 86] EOF sent (86)
transport.py 217 DEBUG Exit code: 0
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 |