Bug 1002335

Summary: ipa replica uninstall does not clear @ record on master
Product: Red Hat Enterprise Linux 7 Reporter: Michael Gregg <mgregg>
Component: ipaAssignee: Martin Kosek <mkosek>
Status: CLOSED NOTABUG QA Contact: Namita Soman <nsoman>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.1CC: rcritten
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-29 11:57:38 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:

Description Michael Gregg 2013-08-28 23:06:19 UTC
Description of problem:
On a install where a replica server is installed with the --setup-dns option, uninstalling the replica leaves the replica server in the @ record of the main domain on the master server.

Version-Release number of selected component (if applicable):
ipa-server-3.3.0-2.fc19.x86_64

How reproducible:
always

Steps to Reproduce:
1. on master: ipa-server-install
2. on master: ipa-replica-prepare -p Secret123 --ip-address=<ip of replica> <replica>.testrelm.com
3. on replica: ipa-replica-install --setup-dns <gpg file from master>
4. on replica: ipa-server-insatall --uninstall
5. on master: ipa dnsrecord-find testrelm.com

Actual results:
testrelm.com on the master contains the master and replica in the @ record. 

Expected results:
uninstalling a replica to clear the replica out of the main domain's @ record.

Comment 3 Rob Crittenden 2013-08-29 11:57:38 UTC
This is expected behavior. This value should be cleared when the replication agreement is removed using ipa-replica-manage. Uninstalling the remote replica itself doesn't trigger this as it is an unprivileged (other than root) operation.