#6130 ipa-replica-install --domain=<IPA primary domain> option does not work
Closed: Fixed None Opened 7 years ago by pspacek.

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

Description of problem:
ipa-replica-install --domain=<IPA primary domain> option does not work and
always fails.

Version-Release number of selected component (if applicable):
ipa-server-4.4.0-2.1.el7.x86_64

How reproducible:
100 %

Steps to Reproduce:
Run
$ ipa-replica-install --admin-password=<password> --principal=admin
--domain=<IPA primary domain> --unattended --setup-dns --auto-forwarders

Actual results:
Checking DNS domain dom-076.abc.idm.lab.eng.brq.redhat.com, please wait ...
Usage: ipa-replica-install [options] REPLICA_FILE

ipa-replica-install: error: option --domain: DNS zone <IPA primary domain>
already exists in DNS and is handled by server(s): <some IPA servers>
ipa.ipapython.install.cli.install_tool(Replica): ERROR    The
ipa-replica-install command failed. See /var/log/ipareplica-install.log for
more information


Expected results:
Installation should be allowed if all the options are correct.


Additional info:
This is a regression as this used to work in the past.

Workaround for domain level 1 is easy: Install IPA client first and then run
ipa-replica-install without --domain option.

master:

  • 6eb9eb7 replica-install: Fix --domain

Metadata Update from @pspacek:
- Issue assigned to pspacek
- Issue set to the milestone: FreeIPA 4.4.1

7 years ago

Login to comment on this ticket.

Metadata