Bug 1845056
| Summary: | [ansible-freeipa] Option/Variable is missing to create reverse zone by the IP in DNS Zone 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, pvoborni, rjeffman, twoerner |
| Target Milestone: | rc | Flags: | pm-rhel:
mirror+
|
| Target Release: | 8.0 | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1946654 | ||
|
Description
Varun Mylaraiah
2020-06-08 11:28:13 UTC
There is an upstream patch for this issue: https://github.com/freeipa/ansible-freeipa/pull/338 The upstream PR has been merged. Verified using :
ansible-freeipa-0.1.12-6.el8.noarch
ansible_freeipa_tests/dns_module.py::TestDNSZone::()::test_dnszone_name_from_ip
channel.py 1212 DEBUG [chan 23] EOF received (23)
channel.py 1212 DEBUG [chan 23] EOF sent (23)
transport.py 217 DEBUG Exit code: 0
channel.py 1212 DEBUG [chan 24] Max packet in: 32768 bytes
channel.py 1212 DEBUG [chan 24] Max packet out: 32768 bytes
transport.py 1819 DEBUG Secsh channel 24 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 24] Sesch channel 24 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.12
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 reverse zone is added by the IP..] ********************
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 [ipadnszone] **************************************************************
transport.py 563 DEBUG task path: /root/dns_module.yml:6
transport.py 563 DEBUG changed: [master.ipadomain.test] => {"changed": true, "dnszone": {"name": "8.192.in-addr.arpa."}}
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 24] EOF received (24)
channel.py 1212 DEBUG [chan 24] EOF sent (24)
transport.py 217 DEBUG Exit code: 0
channel.py 1212 DEBUG [chan 145] Max packet in: 32768 bytes
channel.py 1212 DEBUG [chan 145] Max packet out: 32768 bytes
transport.py 1819 DEBUG Secsh channel 145 opened.
transport.py 318 INFO RUN ['kinit', 'admin']
transport.py 519 DEBUG RUN ['kinit', 'admin']
channel.py 1212 DEBUG [chan 145] Sesch channel 145 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 145] EOF received (145)
channel.py 1212 DEBUG [chan 145] EOF sent (145)
transport.py 217 DEBUG Exit code: 0
channel.py 1212 DEBUG [chan 146] Max packet in: 32768 bytes
channel.py 1212 DEBUG [chan 146] Max packet out: 32768 bytes
transport.py 1819 DEBUG Secsh channel 146 opened.
transport.py 318 INFO RUN ['ipa', 'dnszone-find', '8.192.in-addr.arpa.']
transport.py 519 DEBUG RUN ['ipa', 'dnszone-find', '8.192.in-addr.arpa.']
channel.py 1212 DEBUG [chan 146] Sesch channel 146 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: 8.192.in-addr.arpa.
transport.py 563 DEBUG Active zone: TRUE
transport.py 563 DEBUG Authoritative nameserver: master.ipadomain.test.
transport.py 563 DEBUG Administrator e-mail address: hostmaster
transport.py 563 DEBUG SOA serial: 1597774800
transport.py 563 DEBUG SOA refresh: 3600
transport.py 563 DEBUG SOA retry: 900
transport.py 563 DEBUG SOA expire: 1209600
transport.py 563 DEBUG SOA minimum: 3600
transport.py 563 DEBUG BIND update policy: grant IPADOMAIN.TEST krb5-subdomain 8.192.in-addr.arpa. PTR;
transport.py 563 DEBUG Dynamic update: FALSE
transport.py 563 DEBUG Allow query: any;
transport.py 563 DEBUG Allow transfer: none;
transport.py 563 DEBUG ----------------------------
transport.py 563 DEBUG Number of entries returned 1
transport.py 563 DEBUG ----------------------------
channel.py 1212 DEBUG [chan 146] EOF received (146)
channel.py 1212 DEBUG [chan 146] EOF sent (146)
transport.py 217 DEBUG Exit code: 0
channel.py 1212 DEBUG [chan 147] Max packet in: 32768 bytes
channel.py 1212 DEBUG [chan 147] Max packet out: 32768 bytes
transport.py 1819 DEBUG Secsh channel 147 opened.
transport.py 318 INFO RUN ['kdestroy', '-A']
transport.py 519 DEBUG RUN ['kdestroy', '-A']
channel.py 1212 DEBUG [chan 147] Sesch channel 147 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 147] EOF received (147)
channel.py 1212 DEBUG [chan 147] EOF sent (147)
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 |