[Freeipa-users] unable to add or remove replica after prepare and failed replication

Jake freeipa at jacobdevans.com
Fri Jan 6 21:13:29 UTC 2017


Worked.

Thank You!

----- Original Message -----
From: "Rob Crittenden" <rcritten at redhat.com>
To: "Jake" <freeipa at jacobdevans.com>, "freeipa-users" <freeipa-users at redhat.com>
Sent: Friday, January 6, 2017 3:24:35 PM
Subject: Re: [Freeipa-users] unable to add or remove replica after prepare and failed replication

Jake wrote:
> Hey All,
> 
> I need to reinstall the replica ipa03.ipa.example.com after
> ipa-server-install --uninstall, however.
> 
> 
> ipa-replica-install replica-info-ipa03.example.com.gpg
> Directory Manager (existing master) password:
> 
> The host ipa03.example.com already exists on the master server.
> You should remove it before proceeding:
>     % ipa host-del ipa03.example.com
> ipa.ipapython.install.cli.install_tool(Replica): ERROR    The
> ipa-replica-install command failed. See /var/log/ipareplica-install.log
> for more information
> 
> So on the master I ran:
> 
> ipa-replica-manage del ipa03.ipa.example.com
> ' ipa01.ipa.example.com' has no replication agreement for '
> ipa03.ipa.example.com'
> 
> ipa host-del ipa03.ipa.example.com
> ipa: ERROR: invalid 'hostname': An IPA master host cannot be deleted or
> disabled

Try ipa-replica-manage del ipa03.ipa.example.com --force --cleanup

You may still need to delete the host entry but the first command should
mark it as not a master.

rob




More information about the Freeipa-users mailing list