#5945 Combined replica install with --setup-dns fails with ValueError
Closed: Fixed None Opened 7 years ago by dkupka.

When installing replica with DNS and without any forwarder option in one step ValueError from within installer internals is raised. This does not happen when replica is installed in two steps (ipa-client-install && ipa-replica-install).

Steps to reproduce:

$ sudo ipa-replica-install --domain delegatedsubdomain.`hostname -d` --server master.`hostname -d` -w Secret123 --setup-dns

Expected:

ipa-replica-install: error: You must specify at least one of --forwarder, --auto-forwarders, or --no-forwarders options

Got:

ipa.ipapython.install.cli.install_tool(Replica): ERROR    substring not found

i see a patch on the list: "[PATCH 0103-4] installer: Fix single command replica install with --setup-dns"

master:

  • 54318d1 installer: positional_arguments must be tuple or list of strings
  • 9f48c39 installer: index() raises ValueError

ipa-4-3:

  • 160379b installer: positional_arguments must be tuple or list of strings
  • 2909be8 installer: index() raises ValueError

ipa-4-2:

  • 48aa3be installer: positional_arguments must be tuple or list of strings
  • 46802c8 installer: index() raises ValueError

Metadata Update from @dkupka:
- Issue assigned to dkupka
- Issue set to the milestone: FreeIPA 4.2.5

7 years ago

Login to comment on this ticket.

Metadata