Bug 894143
Summary: | ipa-replica-prepare fails when reverse zone does not have SOA serial data | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Scott Poore <spoore> |
Component: | ipa | Assignee: | Rob Crittenden <rcritten> |
Status: | CLOSED ERRATA | QA Contact: | Namita Soman <nsoman> |
Severity: | unspecified | Docs Contact: | |
Priority: | medium | ||
Version: | 6.4 | CC: | cpelland, mkosek, pspacek |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | ipa-3.0.0-22.el6 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-02-21 09:32:20 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: | 902691 |
Description
Scott Poore
2013-01-10 20:23:49 UTC
Upstream ticket: https://fedorahosted.org/freeipa/ticket/3341 This issue is already fixed upstream: ipa-3-0: https://fedorahosted.org/freeipa/changeset/55bace6546095d78760be413896c824efe9c2f20/ By fixed I mean that the error message is fixed. When testing this patch, the ipa-replica-prepare should no longer crash, but rather report a better worded error what operation failed and that SOA serial is missing. This would logically lead the user to fix the affected zone SOA serial. Verified. Version :: ipa-server-3.0.0-22.el6.x86_64 bind-dyndb-ldap-2.3-2.el6.x86_64 Automated Test Results (manually run) :: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: Bug 894143 - ipa-replica-prepare fails when reverse zone does not have SOA serial data :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ PASS ] :: Running 'sed -i 's/serial_autoincrement yes/serial_autoincrement no/' /etc/named.conf' Stopping named: [ OK ] Starting named: [ OK ] :: [ PASS ] :: Running 'service named restart' :: [ PASS ] :: Running 'ssh rhel6-1.testrelm.com "sed -i 's/serial_autoincrement yes/serial_autoincrement no/' /etc/named.conf"' Stopping named: .[ OK ] Starting named: [ OK ] :: [ PASS ] :: Running 'ssh rhel6-1.testrelm.com "service named restart"' Zone name: 3.3.3.in-addr.arpa. Authoritative nameserver: rhel6-1.testrelm.com. Administrator e-mail address: ipaqar.redhat.com. SOA serial: 1358535383 SOA refresh: 3600 SOA retry: 900 SOA expire: 1209600 SOA minimum: 3600 BIND update policy: grant TESTRELM.COM krb5-subdomain 3.3.3.in-addr.arpa. PTR; Active zone: TRUE Dynamic update: FALSE Allow query: any; Allow transfer: none; :: [ PASS ] :: Running 'ipa dnszone-add 3.3.3.in-addr.arpa. --name-server=rhel6-1.testrelm.com. --admin-email=ipaqar.redhat.com' Password for admin: :: [ PASS ] :: Running 'ssh rhel6-1.testrelm.com "echo Secret123|kinit admin"' :: [ PASS ] :: Running 'ssh rhel6-1.testrelm.com "ipa dnszone-show 3.3.3.in-addr.arpa." > /tmp/replicaBugCheck_bz894143.out 2>&1' Zone name: 3.3.3.in-addr.arpa. Authoritative nameserver: rhel6-1.testrelm.com. Administrator e-mail address: ipaqar.redhat.com. SOA refresh: 3600 SOA retry: 900 SOA expire: 1209600 SOA minimum: 3600 Active zone: TRUE Allow query: any; Allow transfer: none; :: [ PASS ] :: Running 'cat /tmp/replicaBugCheck_bz894143.out' :: [ PASS ] :: File '/tmp/replicaBugCheck_bz894143.out' should not contain 'SOA serial:' :: [ PASS ] :: Running 'ssh rhel6-1.testrelm.com "ipa-replica-prepare -p Secret123 --ip-address=3.3.3.100 bz894143.testrelm.com" > /tmp/replicaBugCheck_bz894143.out 2>&1' :: [ PASS ] :: File '/tmp/replicaBugCheck_bz894143.out' should contain 'Could not create reverse DNS zone for the replica: missing attribute "idnsSOAserial"' :: [ PASS ] :: BZ 894143 not found :: [ PASS ] :: Running 'sed -i 's/serial_autoincrement no/serial_autoincrement yes/' /etc/named.conf' Stopping named: [ OK ] Starting named: [ OK ] :: [ PASS ] :: Running 'service named restart' :: [ PASS ] :: Running 'ssh rhel6-1.testrelm.com "sed -i 's/serial_autoincrement no/serial_autoincrement yes/' /etc/named.conf"' Stopping named: .[ OK ] Starting named: [ OK ] :: [ PASS ] :: Running 'ssh rhel6-1.testrelm.com "service named restart"' 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, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2013-0528.html |