#5022 IPA suggests to uninstall a client when the user needs to uninstall a replica
Closed: Fixed None Opened 8 years ago by pvoborni.

Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 7): Bug 1219402

Description of problem:
When I attempt to install a replica on a system where a replica is already
installed, I get a warning that an IPA client is configured and that I have to
uninstall it using "ipa-client-install --uninstall". However, what I really
need to do is to run "ipa-server-install --uninstall":

[root@vm-077 ~]# ipa-replica-install
/var/lib/ipa/replica-info-test.example.com.gpg --setup-dns
--forwarder 10.10.10.10
IPA client is already configured on this system.
Please uninstall it first before configuring the replica, using
'ipa-client-install --uninstall'.
[root@vm-077 ~]# ipa-client-install --uninstall
IPA client is configured as a part of IPA server on this system.
Refer to ipa-server-install for uninstallation.

How reproducible:
Always

Steps to Reproduce:
1. Install a replica
2. Forget that you have already done it and run ipa-replica-install again

Actual results:
IPA advises to uninstall the client using "ipa-client-install --uninstall".

Expected results:
IPA should tell the user to uninstall the replica.
(Alternatively, it could advise to run "ipa-replica-manage del" first on the
initial master and then uninstall the replica.)

master:

  • 12e7f71 ipa-replica-install prints incorrect error message when replica is already installed

Metadata Update from @pvoborni:
- Issue assigned to rga
- Issue set to the milestone: FreeIPA 4.3

7 years ago

Login to comment on this ticket.

Metadata