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 1481936 - Limit number of times the DNS response for the ipa-server A and AAAA records are done during uninstallation.
Summary: Limit number of times the DNS response for the ipa-server A and AAAA records ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: ipa
Version: 7.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: IPA Maintainers
QA Contact: ipa-qe
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-08-16 06:07 UTC by Sudhir Menon
Modified: 2018-10-30 10:56 UTC (History)
6 users (show)

Fixed In Version: ipa-4.6.4-1.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-10-30 10:56:00 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:3187 0 None None None 2018-10-30 10:56:48 UTC

Description Sudhir Menon 2017-08-16 06:07:35 UTC
Description of problem: Limit number of times the DNS response for the ipa-server A and AAAA records are done during uninstallation.

Version-Release number of selected component (if applicable):
ipa-server-4.5.0-21.el7_4.1.x86_64

How reproducible: Always

Steps to Reproduce:
1. Install ipa-server
2. Uninstall ipa-server using the verbose option.

Actual results: 

1. We can see that the uninstall of the ipa-server is stuck on the console for certain amount of time which is because the uninstallation is awaiting the DNS response for the A and AAAA records of the IPA server.

Hereby attaching the console logs.

ipa.ipaserver.plugins.ldap2.ldap2: DEBUG    Created connection context.ldap2_64630224
ipa.ipapython.ipaldap.SchemaCache: DEBUG    retrieving schema for SchemaCache url=ldapi://%2fvar%2frun%2fslapd-TESTRELM-TEST.socket conn=<ldap.ldapobject.SimpleLDAPObject instance at 0x5af9200>
ipa.ipaserver.plugins.server.server_del: DEBUG    raw: server_del((u'cypher.testrelm.test',), ignore_topology_disconnect=False, ignore_last_of_role=False, force=True, version=u'2.228')
ipa.ipaserver.plugins.server.server_del: DEBUG    server_del((u'cypher.testrelm.test',), continue=False, ignore_topology_disconnect=False, ignore_last_of_role=False, force=True, version=u'2.228')
ipa.ipaserver.plugins.server.server_find: DEBUG    raw: server_find(u'', sizelimit=0, version=u'2.228', no_members=False)
ipa.ipaserver.plugins.server.server_find: DEBUG    server_find(None, sizelimit=0, all=False, raw=False, version=u'2.228', no_members=False, pkey_only=False)
ipa.ipapython.ipaldap.SchemaCache: DEBUG    flushing ldapi://%2fvar%2frun%2fslapd-TESTRELM-TEST.socket from SchemaCache
ipa.ipapython.ipaldap.SchemaCache: DEBUG    retrieving schema for SchemaCache url=ldapi://%2fvar%2frun%2fslapd-TESTRELM-TEST.socket conn=<ldap.ldapobject.SimpleLDAPObject instance at 0x5af90e0>
ipa.ipaserver.plugins.topology.topologysuffix_find: DEBUG    raw: topologysuffix_find(None, all=True, raw=True, version=u'2.228')
ipa.ipaserver.plugins.topology.topologysuffix_find: DEBUG    topologysuffix_find(None, all=True, raw=True, version=u'2.228', pkey_only=False)
ipa.ipaserver.plugins.serverrole.server_role_find: DEBUG    raw: server_role_find(None, server_server=u'cypher.testrelm.test', status=u'enabled', version=u'2.228')
ipa.ipaserver.plugins.serverrole.server_role_find: DEBUG    server_role_find(None, server_server=u'cypher.testrelm.test', status=u'enabled', all=False, raw=False, version=u'2.228')
ipa.ipaserver.plugins.topology.topologysegment_find: DEBUG    raw: topologysegment_find(u'domain', None, sizelimit=0, version=u'2.228')
ipa.ipaserver.plugins.topology.topologysegment_find: DEBUG    topologysegment_find(u'domain', None, sizelimit=0, all=False, raw=False, version=u'2.228', pkey_only=False)
ipa.ipaserver.plugins.topology.topologysegment_find: DEBUG    raw: topologysegment_find(u'ca', None, sizelimit=0, version=u'2.228')
ipa.ipaserver.plugins.topology.topologysegment_find: DEBUG    topologysegment_find(u'ca', None, sizelimit=0, all=False, raw=False, version=u'2.228', pkey_only=False)
ipa.ipaserver.plugins.config.config_show: DEBUG    raw: config_show(version=u'2.228')
ipa.ipaserver.plugins.config.config_show: DEBUG    config_show(rights=False, all=False, raw=False, version=u'2.228')
ipa.ipaserver.plugins.dns.dns_is_enabled: DEBUG    raw: dns_is_enabled(version=u'2.228')
ipa.ipaserver.plugins.dns.dns_is_enabled: DEBUG    dns_is_enabled(version=u'2.228')
ipa         : DEBUG    Loading StateFile from '/var/lib/ipa/sysrestore/sysrestore.state'
ipa         : DEBUG    Loading Index file from '/var/lib/ipa/sysrestore/sysrestore.index'
ipa.ipaserver.plugins.dns.dnsrecord_find: DEBUG    raw: dnsrecord_find(u'testrelm.test', u'cypher', version=u'2.228')
ipa.ipaserver.plugins.dns.dnsrecord_find: DEBUG    dnsrecord_find(<DNS name testrelm.test.>, u'cypher', structured=False, all=False, raw=False, version=u'2.228', pkey_only=False)
ipa.ipaserver.plugins.dns.dnsrecord_find: DEBUG    raw: dnsrecord_find(u'testrelm.test', u'cypher', version=u'2.228')
ipa.ipaserver.plugins.dns.dnsrecord_find: DEBUG    dnsrecord_find(<DNS name testrelm.test.>, u'cypher', structured=False, all=False, raw=False, version=u'2.228', pkey_only=False)
ipa.ipaserver.plugins.dns.dnsrecord_del: DEBUG    raw: dnsrecord_del(u'testrelm.test', u'cypher', arecord=u'10.19.34.88', version=u'2.228')
ipa.ipaserver.plugins.dns.dnsrecord_del: DEBUG    dnsrecord_del(<DNS name testrelm.test.>, <DNS name cypher>, arecord=(u'10.19.34.88',), del_all=False, structured=False, raw=False, version=u'2.228')
ipa.ipaserver.plugins.dns.dnszone_show: DEBUG    raw: dnszone_show(u'88.34.19.10.in-addr.arpa.', version=u'2.228')
ipa.ipaserver.plugins.dns.dnszone_show: DEBUG    dnszone_show(<DNS name 88.34.19.10.in-addr.arpa.>, rights=False, all=False, raw=False, version=u'2.228')
ipa.ipaserver.plugins.dns.dnszone_show: DEBUG    raw: dnszone_show(u'34.19.10.in-addr.arpa.', version=u'2.228')
ipa.ipaserver.plugins.dns.dnszone_show: DEBUG    dnszone_show(<DNS name 34.19.10.in-addr.arpa.>, rights=False, all=False, raw=False, version=u'2.228')
ipa.ipaserver.plugins.dns.dnsrecord_del: DEBUG    raw: dnsrecord_del(u'34.19.10.in-addr.arpa.', u'88', ptrrecord=u'cypher.testrelm.test.', version=u'2.228')
ipa.ipaserver.plugins.dns.dnsrecord_del: DEBUG    dnsrecord_del(<DNS name 34.19.10.in-addr.arpa.>, <DNS name 88>, ptrrecord=(u'cypher.testrelm.test.',), del_all=False, structured=False, raw=False, version=u'2.228')
ipa.ipaserver.plugins.dns.dnsrecord_delentry: DEBUG    raw: dnsrecord_delentry(<DNS name 34.19.10.in-addr.arpa.>, (<DNS name 88>,), version=u'2.228')
ipa.ipaserver.plugins.dns.dnsrecord_delentry: DEBUG    dnsrecord_delentry(<DNS name 34.19.10.in-addr.arpa.>, (<DNS name 88>,), continue=False, version=u'2.228')
ipa         : DEBUG    Updating DNS system records
Updating DNS system records
ipa.ipaserver.plugins.server.server_find: DEBUG    raw: server_find(None, version=u'2.228', no_members=False)
ipa.ipaserver.plugins.server.server_find: DEBUG    server_find(None, all=False, raw=False, version=u'2.228', no_members=False, pkey_only=False)
ipa.ipaserver.plugins.topology.topologysuffix_find: DEBUG    raw: topologysuffix_find(None, all=True, raw=True, version=u'2.228')
ipa.ipaserver.plugins.topology.topologysuffix_find: DEBUG    topologysuffix_find(None, all=True, raw=True, version=u'2.228', pkey_only=False)
ipa.ipaserver.plugins.serverrole.server_role_find: DEBUG    raw: server_role_find(None, server_server=u'cypher.testrelm.test', status=u'enabled', version=u'2.228')
ipa.ipaserver.plugins.serverrole.server_role_find: DEBUG    server_role_find(None, server_server=u'cypher.testrelm.test', status=u'enabled', all=False, raw=False, version=u'2.228')
ipa.ipaserver.plugins.dns.dnszone_show: DEBUG    raw: dnszone_show(<DNS name testrelm.test.>, version=u'2.228')
ipa.ipaserver.plugins.dns.dnszone_show: DEBUG    dnszone_show(<DNS name testrelm.test.>, rights=False, all=False, raw=False, version=u'2.228')
ipa         : DEBUG    The DNS response does not contain an answer to the question: cypher.testrelm.test. IN A
ipa         : DEBUG    The DNS response does not contain an answer to the question: cypher.testrelm.test. IN AAAA
ipa         : DEBUG    The DNS response does not contain an answer to the question: cypher.testrelm.test. IN A
ipa         : DEBUG    The DNS response does not contain an answer to the question: cypher.testrelm.test. IN AAAA
ipa         : DEBUG    The DNS response does not contain an answer to the question: cypher.testrelm.test. IN A
ipa         : DEBUG    The DNS response does not contain an answer to the question: cypher.testrelm.test. IN AAAA
ipa         : DEBUG    The DNS response does not contain an answer to the question: cypher.testrelm.test. IN A
ipa         : DEBUG    The DNS response does not contain an answer to the question: cypher.testrelm.test. IN AAAA
ipa         : DEBUG    The DNS response does not contain an answer to the question: cypher.testrelm.test. IN A
ipa         : DEBUG    The DNS response does not contain an answer to the question: cypher.testrelm.test. IN AAAA
ipa         : DEBUG    The DNS response does not contain an answer to the question: cypher.testrelm.test. IN A
ipa         : DEBUG    The DNS response does not contain an answer to the question: cypher.testrelm.test. IN AAAA
ipa         : DEBUG    The DNS response does not contain an answer to the question: cypher.testrelm.test. IN A
ipa         : DEBUG    The DNS response does not contain an answer to the question: cypher.testrelm.test. IN AAAA
ipa         : DEBUG    The DNS response does not contain an answer to the question: cypher.testrelm.test. IN A
ipa         : DEBUG    The DNS response does not contain an answer to the question: cypher.testrelm.test. IN AAAA
ipa         : DEBUG    The DNS response does not contain an answer to the question: cypher.testrelm.test. IN A
ipa         : DEBUG    The DNS response does not contain an answer to the question: cypher.testrelm.test. IN AAAA
ipa         : DEBUG    The DNS response does not contain an answer to the question: cypher.testrelm.test. IN A
ipa         : DEBUG    The DNS response does not contain an answer to the question: cypher.testrelm.test. IN AAAA
ipa         : DEBUG    The DNS response does not contain an answer to the question: cypher.testrelm.test. IN A
ipa         : DEBUG    The DNS response does not contain an answer to the question: cypher.testrelm.test. IN AAAA
ipa         : DEBUG    The DNS response does not contain an answer to the question: cypher.testrelm.test. IN A
ipa         : DEBUG    The DNS response does not contain an answer to the question: cypher.testrelm.test. IN AAAA
ipa         : DEBUG    The DNS response does not contain an answer to the question: cypher.testrelm.test. IN A
ipa         : DEBUG    The DNS response does not contain an answer to the question: cypher.testrelm.test. IN AAAA
ipa         : DEBUG    The DNS response does not contain an answer to the question: cypher.testrelm.test. IN A
ipa         : DEBUG    The DNS response does not contain an answer to the question: cypher.testrelm.test. IN AAAA
ipa         : DEBUG    The DNS response does not contain an answer to the question: cypher.testrelm.test. IN A
ipa         : DEBUG    The DNS response does not contain an answer to the question: cypher.testrelm.test. IN AAAA
ipa         : DEBUG    The DNS response does not contain an answer to the question: cypher.testrelm.test. IN A
ipa         : DEBUG    The DNS response does not contain an answer to the question: cypher.testrelm.test. IN AAAA
ipa         : DEBUG    The DNS response does not contain an answer to the question: cypher.testrelm.test. IN A
ipa         : DEBUG    The DNS response does not contain an answer to the question: cypher.testrelm.test. IN AAAA
ipa         : DEBUG    The DNS response does not contain an answer to the question: cypher.testrelm.test. IN A
ipa         : DEBUG    The DNS response does not contain an answer to the question: cypher.testrelm.test. IN AAAA
ipa         : DEBUG    The DNS response does not contain an answer to the question: cypher.testrelm.test. IN A
ipa         : DEBUG    The DNS response does not contain an answer to the question: cypher.testrelm.test. IN AAAA
ipa         : DEBUG    The DNS response does not contain an answer to the question: cypher.testrelm.test. IN A
ipa         : DEBUG    The DNS response does not contain an answer to the question: cypher.testrelm.test. IN AAAA
ipa         : DEBUG    The DNS response does not contain an answer to the question: cypher.testrelm.test. IN A
ipa         : DEBUG    The DNS response does not contain an answer to the question: cypher.testrelm.test. IN AAAA
ipa         : DEBUG    The DNS response does not contain an answer to the question: cypher.testrelm.test. IN A
ipa         : DEBUG    The DNS response does not contain an answer to the question: cypher.testrelm.test. IN AAAA
ipa         : DEBUG    The DNS response does not contain an answer to the question: cypher.testrelm.test. IN A
ipa         : DEBUG    The DNS response does not contain an answer to the question: cypher.testrelm.test. IN AAAA
ipa         : DEBUG    The DNS response does not contain an answer to the question: cypher.testrelm.test. IN A
ipa         : DEBUG    The DNS response does not contain an answer to the question: cypher.testrelm.test. IN AAAA
ipa         : ERROR    unable to resolve host name cypher.testrelm.test. to IP address, ipa-ca DNS record will be incomplete

ipa.ipaserver.plugins.dns.dnsrecord_mod: DEBUG    raw: dnsrecord_mod(<DNS name testrelm.test.>, <DNS name _kerberos.testrelm.test.>, txtrecord=[u'"TESTRELM.TEST"'], version=u'2.228')
ipa.ipaserver.plugins.dns.dnsrecord_mod: DEBUG    dnsrecord_mod(<DNS name testrelm.test.>, <DNS name _kerberos.testrelm.test.>, txtrecord=(u'"TESTRELM.TEST"',), rights=False, structured=False, all=False, raw=False, version=u'2.228')
ipa.ipaserver.plugins.dns.dnsrecord_mod: DEBUG    raw: dnsrecord_mod(<DNS name testrelm.test.>, <DNS name _kerberos._udp.testrelm.test.>, srvrecord=[u'0 100 88 cypher.testrelm.test.'], setattr=[u'idnsTemplateAttribute;cnamerecord=_kerberos._udp.\\{substitutionvariable_ipalocation\\}._locations'], addattr=[u'objectclass=idnsTemplateObject'], version=u'2.228')
ipa.ipaserver.plugins.dns.dnsrecord_mod: DEBUG    dnsrecord_mod(<DNS name testrelm.test.>, <DNS name _kerberos._udp.testrelm.test.>, srvrecord=(u'0 100 88 cypher.testrelm.test.',), setattr=(u'idnsTemplateAttribute;cnamerecord=_kerberos._udp.\\{substitutionvariable_ipalocation\\}._locations',), addattr=(u'objectclass=idnsTemplateObject',), rights=False, structured=False, all=False, raw=False, version=u'2.228')
ipa.ipaserver.plugins.dns.dnsrecord_mod: DEBUG    raw: dnsrecord_mod(<DNS name testrelm.test.>, <DNS name _kpasswd._tcp.testrelm.test.>, srvrecord=[u'0 100 464 cypher.testrelm.test.'], setattr=[u'idnsTemplateAttribute;cnamerecord=_kpasswd._tcp.\\{substitutionvariable_ipalocation\\}._locations'], addattr=[u'objectclass=idnsTemplateObject'], version=u'2.228')
ipa.ipaserver.plugins.dns.dnsrecord_mod: DEBUG    dnsrecord_mod(<DNS name testrelm.test.>, <DNS name _kpasswd._tcp.testrelm.test.>, srvrecord=(u'0 100 464 cypher.testrelm.test.',), setattr=(u'idnsTemplateAttribute;cnamerecord=_kpasswd._tcp.\\{substitutionvariable_ipalocation\\}._locations',), addattr=(u'objectclass=idnsTemplateObject',), rights=False, structured=False, all=False, raw=False, version=u'2.228')
ipa.ipaserver.plugins.dns.dnsrecord_mod: DEBUG    raw: dnsrecord_mod(<DNS name testrelm.test.>, <DNS name _ntp._udp.testrelm.test.>, srvrecord=[u'0 100 123 cypher.testrelm.test.'], setattr=[u'idnsTemplateAttribute;cnamerecord=_ntp._udp.\\{substitutionvariable_ipalocation\\}._locations'], addattr=[u'objectclass=idnsTemplateObject'], version=u'2.228')
ipa.ipaserver.plugins.dns.dnsrecord_mod: DEBUG    dnsrecord_mod(<DNS name testrelm.test.>, <DNS name _ntp._udp.testrelm.test.>, srvrecord=(u'0 100 123 cypher.testrelm.test.',), setattr=(u'idnsTemplateAttribute;cnamerecord=_ntp._udp.\\{substitutionvariable_ipalocation\\}._locations',), addattr=(u'objectclass=idnsTemplateObject',), rights=False, structured=False, all=False, raw=False, version=u'2.228')
ipa.ipaserver.plugins.dns.dnsrecord_mod: DEBUG    raw: dnsrecord_mod(<DNS name testrelm.test.>, <DNS name _kerberos._udp.dc._msdcs.testrelm.test.>, srvrecord=[u'0 100 88 cypher.testrelm.test.'], setattr=[u'idnsTemplateAttribute;cnamerecord=_kerberos._udp.dc._msdcs.\\{substitutionvariable_ipalocation\\}._locations'], addattr=[u'objectclass=idnsTemplateObject'], version=u'2.228')
ipa.ipaserver.plugins.dns.dnsrecord_mod: DEBUG    dnsrecord_mod(<DNS name testrelm.test.>, <DNS name _kerberos._udp.dc._msdcs.testrelm.test.>, srvrecord=(u'0 100 88 cypher.testrelm.test.',), setattr=(u'idnsTemplateAttribute;cnamerecord=_kerberos._udp.dc._msdcs.\\{substitutionvariable_ipalocation\\}._locations',), addattr=(u'objectclass=idnsTemplateObject',), rights=False, structured=False, all=False, raw=False, version=u'2.228')
ipa.ipaserver.plugins.dns.dnsrecord_mod: DEBUG    raw: dnsrecord_mod(<DNS name testrelm.test.>, <DNS name _kerberos._tcp.testrelm.test.>, srvrecord=[u'0 100 88 cypher.testrelm.test.'], setattr=[u'idnsTemplateAttribute;cnamerecord=_kerberos._tcp.\\{substitutionvariable_ipalocation\\}._locations'], addattr=[u'objectclass=idnsTemplateObject'], version=u'2.228')
ipa.ipaserver.plugins.dns.dnsrecord_mod: DEBUG    dnsrecord_mod(<DNS name testrelm.test.>, <DNS name _kerberos._tcp.testrelm.test.>, srvrecord=(u'0 100 88 cypher.testrelm.test.',), setattr=(u'idnsTemplateAttribute;cnamerecord=_kerberos._tcp.\\{substitutionvariable_ipalocation\\}._locations',), addattr=(u'objectclass=idnsTemplateObject',), rights=False, structured=False, all=False, raw=False, version=u'2.228')
ipa.ipaserver.plugins.dns.dnsrecord_mod: DEBUG    raw: dnsrecord_mod(<DNS name testrelm.test.>, <DNS name _kerberos._tcp.dc._msdcs.testrelm.test.>, srvrecord=[u'0 100 88 cypher.testrelm.test.'], setattr=[u'idnsTemplateAttribute;cnamerecord=_kerberos._tcp.dc._msdcs.\\{substitutionvariable_ipalocation\\}._locations'], addattr=[u'objectclass=idnsTemplateObject'], version=u'2.228')
ipa.ipaserver.plugins.dns.dnsrecord_mod: DEBUG    dnsrecord_mod(<DNS name testrelm.test.>, <DNS name _kerberos._tcp.dc._msdcs.testrelm.test.>, srvrecord=(u'0 100 88 cypher.testrelm.test.',), setattr=(u'idnsTemplateAttribute;cnamerecord=_kerberos._tcp.dc._msdcs.\\{substitutionvariable_ipalocation\\}._locations',), addattr=(u'objectclass=idnsTemplateObject',), rights=False, structured=False, all=False, raw=False, version=u'2.228')
ipa.ipaserver.plugins.dns.dnsrecord_mod: DEBUG    raw: dnsrecord_mod(<DNS name testrelm.test.>, <DNS name _kerberos._udp.Default-First-Site-Name._sites.dc._msdcs.testrelm.test.>, srvrecord=[u'0 100 88 cypher.testrelm.test.'], setattr=[u'idnsTemplateAttribute;cnamerecord=_kerberos._udp.Default-First-Site-Name._sites.dc._msdcs.\\{substitutionvariable_ipalocation\\}._locations'], addattr=[u'objectclass=idnsTemplateObject'], version=u'2.228')
ipa.ipaserver.plugins.dns.dnsrecord_mod: DEBUG    dnsrecord_mod(<DNS name testrelm.test.>, <DNS name _kerberos._udp.Default-First-Site-Name._sites.dc._msdcs.testrelm.test.>, srvrecord=(u'0 100 88 cypher.testrelm.test.',), setattr=(u'idnsTemplateAttribute;cnamerecord=_kerberos._udp.Default-First-Site-Name._sites.dc._msdcs.\\{substitutionvariable_ipalocation\\}._locations',), addattr=(u'objectclass=idnsTemplateObject',), rights=False, structured=False, all=False, raw=False, version=u'2.228')
ipa.ipaserver.plugins.dns.dnsrecord_mod: DEBUG    raw: dnsrecord_mod(<DNS name testrelm.test.>, <DNS name _kerberos._tcp.Default-First-Site-Name._sites.dc._msdcs.testrelm.test.>, srvrecord=[u'0 100 88 cypher.testrelm.test.'], setattr=[u'idnsTemplateAttribute;cnamerecord=_kerberos._tcp.Default-First-Site-Name._sites.dc._msdcs.\\{substitutionvariable_ipalocation\\}._locations'], addattr=[u'objectclass=idnsTemplateObject'], version=u'2.228')
ipa.ipaserver.plugins.dns.dnsrecord_mod: DEBUG    dnsrecord_mod(<DNS name testrelm.test.>, <DNS name _kerberos._tcp.Default-First-Site-Name._sites.dc._msdcs.testrelm.test.>, srvrecord=(u'0 100 88 cypher.testrelm.test.',), setattr=(u'idnsTemplateAttribute;cnamerecord=_kerberos._tcp.Default-First-Site-Name._sites.dc._msdcs.\\{substitutionvariable_ipalocation\\}._locations',), addattr=(u'objectclass=idnsTemplateObject',), rights=False, structured=False, all=False, raw=False, version=u'2.228')
ipa.ipaserver.plugins.dns.dnsrecord_mod: DEBUG    raw: dnsrecord_mod(<DNS name testrelm.test.>, <DNS name _kerberos-master._udp.testrelm.test.>, srvrecord=[u'0 100 88 cypher.testrelm.test.'], setattr=[u'idnsTemplateAttribute;cnamerecord=_kerberos-master._udp.\\{substitutionvariable_ipalocation\\}._locations'], addattr=[u'objectclass=idnsTemplateObject'], version=u'2.228')
ipa.ipaserver.plugins.dns.dnsrecord_mod: DEBUG    dnsrecord_mod(<DNS name testrelm.test.>, <DNS name _kerberos-master._udp.testrelm.test.>, srvrecord=(u'0 100 88 cypher.testrelm.test.',), setattr=(u'idnsTemplateAttribute;cnamerecord=_kerberos-master._udp.\\{substitutionvariable_ipalocation\\}._locations',), addattr=(u'objectclass=idnsTemplateObject',), rights=False, structured=False, all=False, raw=False, version=u'2.228')
ipa.ipaserver.plugins.dns.dnsrecord_mod: DEBUG    raw: dnsrecord_mod(<DNS name testrelm.test.>, <DNS name _ldap._tcp.Default-First-Site-Name._sites.dc._msdcs.testrelm.test.>, srvrecord=[u'0 100 389 cypher.testrelm.test.'], setattr=[u'idnsTemplateAttribute;cnamerecord=_ldap._tcp.Default-First-Site-Name._sites.dc._msdcs.\\{substitutionvariable_ipalocation\\}._locations'], addattr=[u'objectclass=idnsTemplateObject'], version=u'2.228')
ipa.ipaserver.plugins.dns.dnsrecord_mod: DEBUG    dnsrecord_mod(<DNS name testrelm.test.>, <DNS name _ldap._tcp.Default-First-Site-Name._sites.dc._msdcs.testrelm.test.>, srvrecord=(u'0 100 389 cypher.testrelm.test.',), setattr=(u'idnsTemplateAttribute;cnamerecord=_ldap._tcp.Default-First-Site-Name._sites.dc._msdcs.\\{substitutionvariable_ipalocation\\}._locations',), addattr=(u'objectclass=idnsTemplateObject',), rights=False, structured=False, all=False, raw=False, version=u'2.228')
ipa.ipaserver.plugins.dns.dnsrecord_mod: DEBUG    raw: dnsrecord_mod(<DNS name testrelm.test.>, <DNS name _ldap._tcp.dc._msdcs.testrelm.test.>, srvrecord=[u'0 100 389 cypher.testrelm.test.'], setattr=[u'idnsTemplateAttribute;cnamerecord=_ldap._tcp.dc._msdcs.\\{substitutionvariable_ipalocation\\}._locations'], addattr=[u'objectclass=idnsTemplateObject'], version=u'2.228')
ipa.ipaserver.plugins.dns.dnsrecord_mod: DEBUG    dnsrecord_mod(<DNS name testrelm.test.>, <DNS name _ldap._tcp.dc._msdcs.testrelm.test.>, srvrecord=(u'0 100 389 cypher.testrelm.test.',), setattr=(u'idnsTemplateAttribute;cnamerecord=_ldap._tcp.dc._msdcs.\\{substitutionvariable_ipalocation\\}._locations',), addattr=(u'objectclass=idnsTemplateObject',), rights=False, structured=False, all=False, raw=False, version=u'2.228')
ipa.ipaserver.plugins.dns.dnsrecord_mod: DEBUG    raw: dnsrecord_mod(<DNS name testrelm.test.>, <DNS name _kerberos-master._tcp.testrelm.test.>, srvrecord=[u'0 100 88 cypher.testrelm.test.'], setattr=[u'idnsTemplateAttribute;cnamerecord=_kerberos-master._tcp.\\{substitutionvariable_ipalocation\\}._locations'], addattr=[u'objectclass=idnsTemplateObject'], version=u'2.228')
ipa.ipaserver.plugins.dns.dnsrecord_mod: DEBUG    dnsrecord_mod(<DNS name testrelm.test.>, <DNS name _kerberos-master._tcp.testrelm.test.>, srvrecord=(u'0 100 88 cypher.testrelm.test.',), setattr=(u'idnsTemplateAttribute;cnamerecord=_kerberos-master._tcp.\\{substitutionvariable_ipalocation\\}._locations',), addattr=(u'objectclass=idnsTemplateObject',), rights=False, structured=False, all=False, raw=False, version=u'2.228')
ipa.ipaserver.plugins.dns.dnsrecord_mod: DEBUG    raw: dnsrecord_mod(<DNS name testrelm.test.>, <DNS name _ldap._tcp.testrelm.test.>, srvrecord=[u'0 100 389 cypher.testrelm.test.'], setattr=[u'idnsTemplateAttribute;cnamerecord=_ldap._tcp.\\{substitutionvariable_ipalocation\\}._locations'], addattr=[u'objectclass=idnsTemplateObject'], version=u'2.228')
ipa.ipaserver.plugins.dns.dnsrecord_mod: DEBUG    dnsrecord_mod(<DNS name testrelm.test.>, <DNS name _ldap._tcp.testrelm.test.>, srvrecord=(u'0 100 389 cypher.testrelm.test.',), setattr=(u'idnsTemplateAttribute;cnamerecord=_ldap._tcp.\\{substitutionvariable_ipalocation\\}._locations',), addattr=(u'objectclass=idnsTemplateObject',), rights=False, structured=False, all=False, raw=False, version=u'2.228')
ipa.ipaserver.plugins.dns.dnsrecord_mod: DEBUG    raw: dnsrecord_mod(<DNS name testrelm.test.>, <DNS name _kpasswd._udp.testrelm.test.>, srvrecord=[u'0 100 464 cypher.testrelm.test.'], setattr=[u'idnsTemplateAttribute;cnamerecord=_kpasswd._udp.\\{substitutionvariable_ipalocation\\}._locations'], addattr=[u'objectclass=idnsTemplateObject'], version=u'2.228')
ipa.ipaserver.plugins.dns.dnsrecord_mod: DEBUG    dnsrecord_mod(<DNS name testrelm.test.>, <DNS name _kpasswd._udp.testrelm.test.>, srvrecord=(u'0 100 464 cypher.testrelm.test.',), setattr=(u'idnsTemplateAttribute;cnamerecord=_kpasswd._udp.\\{substitutionvariable_ipalocation\\}._locations',), addattr=(u'objectclass=idnsTemplateObject',), rights=False, structured=False, all=False, raw=False, version=u'2.228')
ipa.ipaserver.plugins.server.server_find: DEBUG    raw: server_find(None, version=u'2.228', pkey_only=True)
ipa.ipaserver.plugins.server.server_find: DEBUG    server_find(None, all=False, raw=False, version=u'2.228', no_members=True, pkey_only=True)
ipa.ipaserver.plugins.topology.topologysuffix_find: DEBUG    raw: topologysuffix_find(None, all=True, raw=True, version=u'2.228')
ipa.ipaserver.plugins.topology.topologysuffix_find: DEBUG    topologysuffix_find(None, all=True, raw=True, version=u'2.228', pkey_only=False)
ipa.ipaserver.plugins.location.location_find: DEBUG    raw: location_find(None, version=u'2.228')
ipa.ipaserver.plugins.location.location_find: DEBUG    location_find(None, all=False, raw=False, version=u'2.228', pkey_only=False)
ipa         : DEBUG    Removing all NS records pointing to cypher.testrelm.test.:
ipa         : DEBUG    zone record testrelm.test.
ipa.ipaserver.plugins.dns.dnsrecord_del: DEBUG    raw: dnsrecord_del(u'testrelm.test.', u'@', nsrecord=u'cypher.testrelm.test.', version=u'2.228')
ipa.ipaserver.plugins.dns.dnsrecord_del: DEBUG    dnsrecord_del(<DNS name testrelm.test.>, <DNS name @>, nsrecord=(u'cypher.testrelm.test.',), del_all=False, structured=False, raw=False, version=u'2.228')
ipa         : DEBUG    zone record 34.19.10.in-addr.arpa.
ipa.ipaserver.plugins.dns.dnsrecord_del: DEBUG    raw: dnsrecord_del(u'34.19.10.in-addr.arpa.', u'@', nsrecord=u'cypher.testrelm.test.', version=u'2.228')
ipa.ipaserver.plugins.dns.dnsrecord_del: DEBUG    dnsrecord_del(<DNS name 34.19.10.in-addr.arpa.>, <DNS name @>, nsrecord=(u'cypher.testrelm.test.',), del_all=False, structured=False, raw=False, version=u'2.228')
ipa         : DEBUG    Loading StateFile from '/var/lib/ipa/sysrestore/sysrestore.state'
ipa         : DEBUG    Loading Index file from '/var/lib/ipa/sysrestore/sysrestore.index'
ipa         : WARNING  Forcing removal of cypher.testrelm.test
-----------------------------------------
Deleted IPA server "cypher.testrelm.test"
-----------------------------------------

Expected results: If we can limit the number of times the DNS response for A and AAAA records is being looked upon the uninstallation can be bit more faster.

Additional info: Logging this as a bug to see if this part of the uninstallation
can be improved.

Comment 4 Petr Vobornik 2017-08-28 16:55:18 UTC
Upstream ticket:
https://pagure.io/freeipa/issue/6176

Comment 5 Standa Laznicka 2017-08-30 11:04:20 UTC
Fixed upstream
master:
https://pagure.io/freeipa/c/dffddbd2c0dae7d646bdb2be23ac5ebe46f19d7a

Comment 6 Tomas Krizek 2017-08-30 13:56:49 UTC
Fixed upstream
ipa-4-5:
https://pagure.io/freeipa/c/2b3b94f3c15aef57830bd81b9580d31d2e837612

Comment 9 Sudhir Menon 2018-08-07 12:42:55 UTC
Marking the bug as VERIFIED, since the DNS response for the ipa-server A and AAAA is actually less number of times when compared to the earlier behaviour.

Verified on Red Hat Enterprise Linux Server release 7.6 Beta (Maipo)  using 

ipa-server-4.6.4-3.el7.x86_64
sssd-1.16.2-11.el7.x86_64
389-ds-base-1.3.8.4-9.el7.x86_64
krb5-server-1.15.1-34.el7.x86_64
pki-server-10.5.9-4.el7.noarch
selinux-policy-3.13.1-211.el7.noarch


2018-08-07T10:08:16Z DEBUG dnszone_show(<DNS name rhel76ipa.test.>, rights=False, all=False, raw=False, version=u'2.229')
2018-08-07T10:08:17Z DEBUG The DNS response does not contain an answer to the question: master.rhel76ipa.test. IN A
2018-08-07T10:08:17Z DEBUG The DNS response does not contain an answer to the question: master.rhel76ipa.test. IN AAAA
2018-08-07T10:08:22Z DEBUG The DNS response does not contain an answer to the question: master.rhel76ipa.test. IN A
2018-08-07T10:08:22Z DEBUG The DNS response does not contain an answer to the question: master.rhel76ipa.test. IN AAAA
2018-08-07T10:08:27Z DEBUG The DNS response does not contain an answer to the question: master.rhel76ipa.test. IN A
2018-08-07T10:08:27Z DEBUG The DNS response does not contain an answer to the question: master.rhel76ipa.test. IN AAAA
2018-08-07T10:08:32Z DEBUG The DNS response does not contain an answer to the question: master.rhel76ipa.test. IN A
2018-08-07T10:08:32Z DEBUG The DNS response does not contain an answer to the question: master.rhel76ipa.test. IN AAAA
2018-08-07T10:08:37Z DEBUG The DNS response does not contain an answer to the question: master.rhel76ipa.test. IN A
2018-08-07T10:08:37Z DEBUG The DNS response does not contain an answer to the question: master.rhel76ipa.test. IN AAAA
2018-08-07T10:08:42Z DEBUG The DNS response does not contain an answer to the question: master.rhel76ipa.test. IN A
2018-08-07T10:08:42Z DEBUG The DNS response does not contain an answer to the question: master.rhel76ipa.test. IN AAAA
2018-08-07T10:08:47Z ERROR unable to resolve host name master.rhel76ipa.test. to IP address, ipa-ca DNS record will be incomplete

Comment 11 errata-xmlrpc 2018-10-30 10:56:00 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:3187


Note You need to log in before you can comment on or make changes to this bug.