<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 09/07/14 11:27, Stephen Benjamin
      wrote:<br>
    </div>
    <blockquote
      cite="mid:1559722327.247808.1404898056254.JavaMail.zimbra@redhat.com"
      type="cite">
      <pre wrap="">----- Original Message -----
</pre>
      <blockquote type="cite">
        <pre wrap="">From: "Martin Basti" <a class="moz-txt-link-rfc2396E" href="mailto:mbasti@redhat.com"><mbasti@redhat.com></a>
To: "Stephen Benjamin" <a class="moz-txt-link-rfc2396E" href="mailto:stephen@redhat.com"><stephen@redhat.com></a>, <a class="moz-txt-link-abbreviated" href="mailto:freeipa-users@redhat.com">freeipa-users@redhat.com</a>
Sent: Tuesday, July 8, 2014 3:50:22 PM
Subject: Re: [Freeipa-users] DNS records not removed

Hi,

which version of IPA do you use?
</pre>
      </blockquote>
      <pre wrap="">
The version in RHEL, ipa-server-3.0.0-37.el6.x86_64

 > It looks like a bug.

Seems to be downstream only, works fine in latest in F20.  Filed a
bug <a class="moz-txt-link-freetext" href="https://bugzilla.redhat.com/show_bug.cgi?id=1117723">https://bugzilla.redhat.com/show_bug.cgi?id=1117723</a>


Thanks!</pre>
    </blockquote>
    <font size="-1">It could be related to <a
        href="https://fedorahosted.org/freeipa/ticket/4329">https://fedorahosted.org/freeipa/ticket/4329</a><br>
      Do you have set the 'DNS Administrators' privilege for user?<br>
      <br>
      Martin^2 Basti<br>
    </font>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <blockquote
      cite="mid:1559722327.247808.1404898056254.JavaMail.zimbra@redhat.com"
      type="cite">
      <pre wrap="">

</pre>
      <blockquote type="cite">
        <pre wrap="">On 08/07/14 13:36, Stephen Benjamin wrote:

</pre>
        <blockquote type="cite">
          <pre wrap="">Hi,

When trying to delete a host with updatedns=true, it's not working - it
can't find the records, but they do exist. Any ideas what's wrong?

The records exist...

[root@ipa01 httpd]# ipa dnsrecord-show katello.example.org realm-rhel6
Record name: realm-rhel6
A record: 192.168.100.147

[root@ipa01 httpd]# ipa dnsrecord-show 100.168.192.in-addr.arpa. 147
Record name: 147
PTR record: realm-rhel6.katello.example.org.


But the API says the records are NotFound:

[Tue Jul 08 14:17:59 2014] [error] ipa: DEBUG: raw:
host_del((u'realm-rhel6.katello.example.org',), updatedns=True)
[Tue Jul 08 14:17:59 2014] [error] ipa: DEBUG:
host_del((u'realm-rhel6.katello.example.org',), updatedns=True)
[Tue Jul 08 14:17:59 2014] [error] ipa: DEBUG: raw:
service_find(u'realm-rhel6.katello.example.org')
[Tue Jul 08 14:17:59 2014] [error] ipa: DEBUG:
service_find(u'realm-rhel6.katello.example.org', all=False, raw=False,
no_members=False, pkey_only=False)
[Tue Jul 08 14:17:59 2014] [error] ipa: DEBUG: raw:
dnszone_show(u'katello.example.org')
[Tue Jul 08 14:17:59 2014] [error] ipa: DEBUG:
dnszone_show(u'katello.example.org', rights=False, all=False, raw=False)
[Tue Jul 08 14:17:59 2014] [error] ipa: INFO:
<a class="moz-txt-link-abbreviated" href="mailto:realm-capsule@KATELLO.EXAMPLE.ORG">realm-capsule@KATELLO.EXAMPLE.ORG</a>:
host_del((u'realm-rhel6.katello.example.org',), updatedns=True):
NotFound
[Tue Jul 08 14:17:59 2014] [error] ipa: DEBUG: response: NotFound:
realm-rhel6.katello.example.org: host not found


Thanks!




</pre>
        </blockquote>
        <pre wrap="">

</pre>
      </blockquote>
    </blockquote>
    <br>
  </body>
</html>