Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1506188

Summary: server-del doesn't remove dns-server configuration from ldap
Product: Red Hat Enterprise Linux 7 Reporter: Petr Vobornik <pvoborni>
Component: ipaAssignee: IPA Maintainers <ipa-maint>
Status: CLOSED ERRATA QA Contact: ipa-qe <ipa-qe>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 7.4CC: ksiddiqu, msauton, ndehadra, pasik, pvoborni, rcritten, tbordaz, tscherf
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: ipa-4.5.4-4.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1506525 (view as bug list) Environment:
Last Closed: 2018-04-10 16:48:21 UTC Type: ---
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: 1506525    

Description Petr Vobornik 2017-10-25 11:06:14 UTC
Cloned from upstream: https://pagure.io/freeipa/issue/6572

After servel-del <hostname>, command dnsserver-show <hostname> still shows server configuration in case that <hostname> had installed DNS

The command server-del should ensure that this configuration is removed.

Comment 2 Petr Vobornik 2017-10-25 11:06:29 UTC
Upstream ticket:
https://pagure.io/freeipa/issue/6572

Comment 3 Petr Vobornik 2017-10-25 11:07:28 UTC
master:
    063211d server.py: Removes dns-server configuration from ldap
ipa-4-5:
    005c928 server.py: Removes dns-server configuration from ldap

Comment 7 Nikhil Dehadrai 2017-11-16 14:44:45 UTC
IPA-version: ipa-server-4.5.4-4.el7.x86_64

Tested the bug with following observations:
1) Setup IPA-MASTER and REPLICA on RHEL 7.5, both configured with dns.
2) Login to IPA-Master and run 
# ipa server-del <Replica-hostname>

3) Noticed that following error message is received
ipa: ERROR: Server removal aborted: 

Replication topology in suffix 'domain' is disconnected:

4) In case of IPA-MASTER and REPLICA configured with RHEL 7.4.3, this issue is not observed.

Thus on the basis of above observations, marking status of bug to "ASSIGNED".

Comment 13 Nikhil Dehadrai 2017-11-23 05:06:13 UTC
IPA Version: ipa-server-4.5.4-4.el7.x86_64

Verified the bug on the basis of following points:
1. Verified that upon executing 'ipa server-del <replica>' command on MASTER the replica server entry is removed successfully.
2. No error message is observed.

Thus on the basis of above observations marking status of bug to "VERIFIED".

Comment 17 errata-xmlrpc 2018-04-10 16:48:21 UTC
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.

https://access.redhat.com/errata/RHBA-2018:0918