<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix"><font size="-1"><font size="-1">Hi, <br>
          <br>
          which version of IPA do you use?</font><br>
        <br>
        It looks like a bug.<br>
        <br>
        On 08/07/14 13:36, Stephen Benjamin wrote:</font><br>
      <br>
    </div>
    <blockquote cite="mid:20140708113653.GB24663@origin.bitbin.de"
      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>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
    </blockquote>
    <br>
  </body>
</html>