Red Hat Bugzilla – Bug 1265910
ipa-replica-manage del: Failed to cleanup DNS records if matching DNS zone is a forward zone
Last modified: 2017-04-06 13:29:07 EDT
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.
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.
Fix for this did not make 4.4 upstream release, postponing to later release.