#2503 Reverse zone is removed while deleting replica agreement.
Closed: Fixed None Opened 12 years ago by mkosek.

https://bugzilla.redhat.com/show_bug.cgi?id=801380 (Red Hat Enterprise Linux 6)

Description of problem:


Version-Release number of selected component (if applicable):
ipa-server-2.2.0-3.el6.x86_64

How reproducible:
Always

Steps to Reproduce:
MASTER:
1. ipa-server-install --setup-dns
2. ipa-replica-prepare --ip-address=10.65.201.101 $REPLICA

REPLICA:
1. ipa-replica-install -U -w Secret123 -p Secret123
/var/lib/ipa/replica-info-$REPLICA.gpg  --setup-dns --no-forwarders

MASTER:
1. ipa dnszone-find (make sure forward and reverse zone both exist)
2. ipa-replica-manage del $REPLICA
Deleting a master is irreversible.
To reconnect to the remote master you will need to prepare a new replica file
and re-install.
Continue to delete? [no]: yes
Deleted replication agreement from '$MASTER' to '$REPLICA'
3. ipa dnszone-find

Actual results: Reverse zone is removed while deleting replication agreement.

[root@primenova ~]# ipa dnszone-find
  Zone name: lab.eng.pnq.redhat.com
  Authoritative nameserver: primenova.lab.eng.pnq.redhat.com.
  Administrator e-mail address: hostmaster.lab.eng.pnq.redhat.com.
  SOA serial: 2013
  SOA refresh: 3600
  SOA retry: 900
  SOA expire: 1209
  SOA minimum: 3600
  Active zone: TRUE
  Allow query: any;
  Allow transfer: none;
----------------------------
Number of entries returned 1
----------------------------

Expected results: Reverse zone itself should not be removed.

Additional info:

Patch freeipa-mkosek-234-avoid-deleting-dns-zone-when-a-context-is-reused.patch sent for review

Metadata Update from @mkosek:
- Issue assigned to mkosek
- Issue set to the milestone: FreeIPA 2.2 Core Effort - 2012/03

7 years ago

Login to comment on this ticket.

Metadata