Hi Christian,

On Sat, Jun 22, 2019 at 12:13 AM Christian Reiss via FreeIPA-users
<freeipa-users@lists.fedorahosted.org> wrote:
>
> Hey folks,
>
> In my Test-Setup I have the following:
>
> srv1.auth.alpha-labs.net
> srv2.auth.alpha-labs.net
> srv3.auth.alpha-labs.net
>
> srv1 is the freshly installed master.
> srv2 is a client, promoted to replication via ipa-replica-install.
> srv3 failed with ipa-replica-install. Now I can't proceed past:
>
> -- 8< --  -- 8< --  -- 8< --  -- 8< --  -- 8< --  -- 8< --  -- 8< --
> [root@srv3 ~]# ipa-replica-install
> ipaserver.install.installutils: ERROR    Unable to resolve the IP
> address 10.1.2.10 to a host name, check /etc/hosts and DNS name resolution
> Your system may be partly configured.
> Run /usr/sbin/ipa-server-install --uninstall to clean up.
>
> ipapython.admintool: ERROR    A replication agreement for this host
> already exists. It needs to be removed.
> Run this command:
>     %% ipa-replica-manage del srv3.auth.alpha-labs.net --force
> ipapython.admintool: ERROR    The ipa-replica-install command failed.
> See /var/log/ipareplica-install.log for more information
> -- 8< --  -- 8< --  -- 8< --  -- 8< --  -- 8< --  -- 8< --  -- 8< --
>
> I tried (on srv1):
>
>   - ipa-replica-manage del srv3.auth.alpha-labs.net --cleanup --force
>   - ipa-replica-manage disconnect srv3.auth.alpha-labs.net
>   - ipa-replica-manage del srv3.auth.alpha-labs.net --force  -v --no-lookup
>   - ipa-replica-manage clean-dangling-ruv
>   - ipa-replica-manage del --force srv3.auth.alpha-labs.net
>
> As this is just a test setup I can easily drop everything and start
> over, but I really wonder how to fix that once we go live with a real setup.

Please search your ldap tree (using ldapsearch with admin credentials)
for remaining objects containing the to-delete server hostname.
You should find the replication agreements there.
If unsure of what to do next please reply to the list.

François

> Thanks in advance!
> Enjoy your weekend!
> -Chris.
>
> --
>  Christian Reiss - em...@christian-reiss.de         /"\  ASCII Ribbon
>                    supp...@alpha-labs.net           \ /    Campaign
>                                                      X   against HTML
>  WEB alpha-labs.net                                 / \   in eMails
>
>  GPG Retrieval https://gpg.christian-reiss.de
>  GPG ID ABCD43C5, 0x44E29126ABCD43C5
>  GPG fingerprint = 9549 F537 2596 86BA 733C  A4ED 44E2 9126 ABCD 43C5
>
>  "It's better to reign in hell than to serve in heaven.",
>                                           John Milton, Paradise lost.
>
> _______________________________________________
> FreeIPA-users mailing list -- freeipa-users@lists.fedorahosted.org
> To unsubscribe send an email to freeipa-users-le...@lists.fedorahosted.org
> Fedora Code of Conduct: 
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: 
> https://lists.fedorahosted.org/archives/list/freeipa-users@lists.fedorahosted.org
_______________________________________________
FreeIPA-users mailing list -- freeipa-users@lists.fedorahosted.org
To unsubscribe send an email to freeipa-users-le...@lists.fedorahosted.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/freeipa-users@lists.fedorahosted.org

Reply via email to