Bug 1265910

Summary: ipa-replica-manage del: Failed to cleanup DNS records if matching DNS zone is a forward zone
Product: Red Hat Enterprise Linux 7 Reporter: Sudhir Menon <sumenon>
Component: ipaAssignee: IPA Maintainers <ipa-maint>
Status: CLOSED WONTFIX QA Contact: Namita Soman <nsoman>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.2CC: mkosek, pasik, pvoborni, rcritten
Target Milestone: rcKeywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-01-10 21:56:54 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:

Description Sudhir Menon 2015-09-24 07:09:11 UTC
Description of problem: when ipa-replica-manage delete command is used, the cleanup is not done.


Version-Release number of selected component (if applicable): 


How reproducible: Always


Steps to Reproduce:
1. Ensure winsync replication agreement is setup without any errors.
2. Now remove the agreement.

Actual results: The winsync agreement is removed, but there is a message displayed on the console.

[root@ipa01 ~]# ipa-replica-manage del win01.test.in
Skipping calculation to determine if one or more masters would be orphaned.
Deleting replication agreements between win01.test.in and ipa01.labs01.test
Forcing removal on 'ipa01.labs01.test'
Any DNA range on 'win01.test.in' will be lost
Deleted replication agreement from 'ipa01.labs01.test' to 'win01.test.in'
Failed to cleanup win01.test.in DNS entries: invalid 'dnszoneidnsname': Gettext(u'only master zones can contain records', domain='ipa', localedir=None)
You may need to manually remove them from the tree

Expected results: 'Failed to cleanup' message should be fixed.
If possible should remove the command should remove the records as well without user manually doing it.


Additional info:

Comment 3 Petr Vobornik 2015-10-19 20:53:45 UTC
Upstream ticket:
https://fedorahosted.org/freeipa/ticket/5384

Comment 4 Petr Vobornik 2016-06-02 12:05:05 UTC
Happens only if we have DNS forward zone set up which matches the AD zone. DNS cleanup is last step of winsync del, it doesn't have functional impact.

Comment 5 Petr Vobornik 2016-08-03 13:22:33 UTC
Fix for this did not make 4.4 upstream release, postponing to later release.

Comment 6 Rob Crittenden 2019-01-10 21:56:54 UTC
Thank you taking your time and submitting this request for Red Hat Enterprise Linux. The request was cloned to the upstream tracker a long time ago (see link to the upstream ticket above), but it was unfortunately not given priority either in the upstream project, nor in Red Hat Enterprise Linux.

Given that this request is not planned for a close release, it is highly unlikely it will be fixed in this major version of Red Hat Enterprise Linux. We are therefore closing the request as WONTFIX.

To request that Red Hat reconsiders the decision, please reopen the Bugzilla with the help of Red Hat Customer Service and provide additional business and/or technical details about it's importance to you. Please note that you can still track this request or even offer help in the referred upstream Pagure ticket to expedite the solution.