Red Hat Bugzilla – Bug 1142789
host-del command does not accept --continue
Last modified: 2015-03-05 05:13:54 EST
This bug is created as a clone of upstream ticket: https://fedorahosted.org/freeipa/ticket/4473 The options of host-del command are not consistent with the usual pattern: {{{ [tbabej@vm-051 freeipa]$ ipa host-del `hostname` --continue Usage: ipa [global-options] host-del HOSTNAME... [options] ipa: error: no such option: --continue }}} Most of the *-del commands accept this option which make the deletion of other specified objects continue if deletion of one of them failed.
Fixed upstream: ipa-4-1: adc4abcbe3bd497b8602fce0ef9b4340ed15f0a7 ipalib: host_del: Extend LDAPDelete's takes_options instead of overriding master: 1f8f762b84e7448cb279b6db5158f93b5f517827 ipalib: host_del: Extend LDAPDelete's takes_options instead of overriding
Verified on ipa-server-4.1.0-13.el7.x86_64: [root@hp-dl380pgen8-01 ~]# ipa host-add example.test --force ------------------------- Added host "example.test" ------------------------- Host name: example.test Principal name: host/example.test@TESTRELM.TEST Password: False Keytab: False Managed by: example.test [root@hp-dl380pgen8-01 ~]# ipa host-del example.test --continue --------------------------- Deleted host "example.test" ---------------------------
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://rhn.redhat.com/errata/RHSA-2015-0442.html