#5945 Combined replica install with --setup-dns fails with ValueError
Closed: Fixed Opened 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:

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

ipa-4-3:

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

ipa-4-2:

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

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

Metadata