Bug 1301582 - [RFE] ipa-client-install: need an option to completely remove client from idm server.
Summary: [RFE] ipa-client-install: need an option to completely remove client from idm...
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: ipa
Version: 7.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Florence Blanc-Renaud
QA Contact: Namita Soman
URL:
Whiteboard:
Depends On:
Blocks: 1547051
TreeView+ depends on / blocked
 
Reported: 2016-01-25 12:43 UTC by German Parente
Modified: 2022-08-08 16:04 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-12-09 20:10:38 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1301586 0 unspecified CLOSED ipa host-del --updatedns should remove related dns entries. 2021-02-22 00:41:40 UTC
Red Hat Issue Tracker FREEIPA-8625 0 None None None 2022-08-08 16:04:19 UTC

Internal Links: 1301586

Description German Parente 2016-01-25 12:43:42 UTC
Description of problem:

We can see in documentation:

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Linux_Domain_Identity_Authentication_and_Policy_Guide/trouble.html#uninstalling-clients

" The only way to uninstall a client completely is to use ipa-client-install --uninstall. "

It could be interesting, at uninstall, to have an option to do the exact symetric operation than ipa-client-install.

Today, the ipa-client-install command creates entries on server.

And the --uninstall is not deleting them. We need to do 

ipa-client-install --uninstall
ipa host-del <client machine>

to invert the client install. An option "--clean-all" or "--server-clean" could delete also host entry + dns entry if possible ?



Version-Release number of selected component (if applicable):

ipa-client-4.2.0-15.el7_2.3.x86_64
ipa-server-4.2.0-15.el7_2.3.x86_64

Comment 2 Petr Vobornik 2016-02-15 19:42:01 UTC
Upstream ticket:
https://fedorahosted.org/freeipa/ticket/5676

Comment 4 Petr Vobornik 2016-03-30 13:52:54 UTC
Summary of internal discussion
"""
So can we summarize and agree that:
a) It is a good idea to have an option to clean DNS record on the host-del
b) Since there are already expectations about system behavior this
option would not be enabled by default.
"""

It is more related to bug 1301586, but here the context is that cleanup should not be a default behavior.

Comment 12 Petr Čech 2019-12-09 20:10:38 UTC
Once the upstream community implements this feature it will be pulled into a corresponding Red Hat Enterprise Linux release following the corresponding schedules.
From now on this issue will be tracked in the community issue tracker only.
Closing this BZ.


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