Steps to reproduce:
ipa-server-install --ip-address 10.0.0.1 # non-resolvable address
Traceback (most recent call last): File "/usr/lib64/python2.7/logging/init.py", line 861, in emit msg = self.format(record) File "/usr/lib64/python2.7/logging/init.py", line 734, in format return fmt.format(record) File "/usr/lib64/python2.7/logging/init.py", line 465, in format record.message = record.getMessage() File "/usr/lib64/python2.7/logging/init.py", line 329, in getMessage msg = msg % self.args TypeError: str returned non-string (type HostForwardLookupError) Logged from file admintool.py, line 291 ipa.ipapython.install.cli.install_tool(Server): ERROR Unable to resolve host name, check /etc/hosts or DNS name resolution ipa.ipapython.install.cli.install_tool(Server): ERROR The ipa-server-install command failed. See /var/log/ipaserver-install.log for more information
Error is caused by this
except BadHostError as e: raise ScriptError(e)
ScriptError implementation is wrong, should use inheritance and call super()
Bug caused by: 5776f1e
master:
ipa-4-4:
The commit introduced a regression in LDAP updater code, reopening.
Metadata Update from @mbasti: - Issue assigned to mbasti - Issue set to the milestone: FreeIPA 4.4.2
Login to comment on this ticket.