#6510 Wrong error message during failed domainlevel 0 installations without a replica file
Closed: Fixed Opened by ofayans.

When I try to promote a client to replica without providing replica file under domain level 0, I receive the following error message:

You used wrong mechanism to install a replica in domain level 1

The correct one should be

You must provide a file generated by ipa-replica-prepare to create a replica when the domain is at level 0

How to reproduce

  1. Setup a master with domain level 0
  2. Setup a client
  3. Try to promote the client to replica:

    ipa-replica-install -U -w


master:

  • 2dcbc9416f1de708336a9afe92a138da9360ec5b replicainstall: give correct error message on DL mismatch

Metadata Update from @ofayans:
- Issue set to the milestone: FreeIPA 4.5

Metadata