Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 7): Bug 1363719
Description of problem: Following command doesn't complain about missing -r option [root@ipamaster1 ~]# ipa-server-install --setup-dns --forwarder=192.168.121.1 --hostname=ipamaster1.testrelm.test -r -n testrelm.test -p Secret123 -a Secret123 -U [root@ipamaster1 ~]# kinit admin Password for admin@-N: [root@ipamaster1 ~]# klist Ticket cache: KEYRING:persistent:0:krb_ccache_hQ7wysN Default principal: admin@-N Valid starting Expires Service principal 11/02/2015 02:55:01 11/03/2015 02:54:58 krbtgt/-N@-N Version-Release number of selected component (if applicable): ipa-server-4.4.0-4.el7.x86_64 How reproducible: 100% Steps to Reproduce: 1. ipa-server-install --setup-dns --forwarder=192.168.121.1 --hostname=ipamaster1.testrelm.test -r -n testrelm.test -p Secret123 -a Secret123 -U Actual results: Installer ignores or misinterpret -r option Expected results: Installer should complain or warn user about missing option to -r
Metadata Update from @pvoborni: - Issue assigned to someone - Issue set to the milestone: FreeIPA 4.5 backlog
I believe Issue does not exist anymore with ipa-server-4.5.0-22.el7_4.x86_64
# ipa-server-install --setup-dns --forwarder=<provided-ip> --hostname=rhel7u4-6.gsslab.pnq2.redhat.com -r -n gsslab.pnq2.redhat.com -p amit1234 -a amit1234 -U Usage: ipa-server-install [options]
# ipa-server-install --setup-dns --forwarder=<provided-ip> --hostname=rhel7u4-6.gsslab.pnq2.redhat.com -r -n gsslab.pnq2.redhat.com -p amit1234 -a amit1234 -U
ipa-server-install: error: Too many arguments provided ipa.ipapython.install.cli.install_tool(CompatServerMasterInstall): ERROR The ipa-server-install command failed. See /var/log/ipaserver-install.log for more information
But it succeeds with: # ipa-server-install --setup-dns --forwarder=<ip-address> --hostname=rhel7u4-6.gsslab.pnq2.redhat.com -r GSSLAB.PNQ2.REDHAT.COM -n gsslab.pnq2.redhat.com -p amit1234 -a amit1234 -U
# ipa-server-install --setup-dns --forwarder=<ip-address> --hostname=rhel7u4-6.gsslab.pnq2.redhat.com -r GSSLAB.PNQ2.REDHAT.COM -n gsslab.pnq2.redhat.com -p amit1234 -a amit1234 -U
Yes, you are right, the issue somehow disappeared in recent versions. Closing as worksforme.
Metadata Update from @frenaud: - Issue close_status updated to: worksforme - Issue status updated to: Closed (was: Open)