On 13.04.2016 17:05, Petr Spacek wrote:
On 13.4.2016 16:01, Petr Spacek wrote:
On 1.4.2016 18:30, Martin Basti wrote:
https://fedorahosted.org/freeipa/ticket/5675

Patches attached.
NACK, it breaks if the client does not have any corresponding DNS record.

[root@vm-033 git]# ipa host-add host.test. --force
----------------------
Added host "host.test"
----------------------
   Host name: host.test
   Principal name: host/host.t...@dom-033.abc.idm.lab.eng.brq.redhat.com
   Password: False
   Keytab: False
   Managed by: host.test

[root@vm-033 git]# ipa host-del host.test. --updatedns
ipa: ERROR: host.test: host not found

I think we already had a ticket to prevent this kind of error, no?
ACK as this is solved by separate patch.

pushed to master:
* 40e3a0bf63c766fc281517c9d192907376c2d353 host_del: fix removal of host records * 9a0f92be0dc1dc22827c918b5808b1ccb4e4b409 host_del: replace dns-record find command with show * bea066c33647c16a7b18deb1392838acb831ac88 host_del: remove unneeded dnszone-show command call * 1e70d6b914656d670f9afed26ccd5f93e3aa54d5 host_del: split removing A/AAAA and PTR records to separate functions * e8c8134eee159fa6eb7c8f2156c328798abdda80 host_del: remove only A, AAAA, SSHFP, PTR records * 54e3859595e1f5f2e669b8af20afdac1187d8cd7 host_del: update help for --updatedns option

--
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

Reply via email to