ipa-server-install terminates with an error. Manually commenting out l. 480 in /usr/lib/python3.6/site-packages/ipaserver/install/dns.py allows it to continue.
The installation fails with this message:
ipapython.admintool: ERROR 'str' object has no attribute 'decode' ipapython.admintool: ERROR The ipa-server-install command failed. See /var/log/ipaserver-install.log for more information
The installation succeeds.
freeipa-server-4.6.90.pre2-3.fc28.x86_64 freeipa-client-4.6.90.pre2-3.fc28.x86_64 package ipa-server is not installed package ipa-client is not installed 389-ds-base-1.4.0.10-2.fc28.x86_64 pki-ca-10.6.1-3.fc28.noarch krb5-server-1.16.1-7.fc28.x86_64
Installation log attached. Sanitised version of the parameters I ran the installer with:
ipa-server-install \ --ds-password='[password]' \ --admin-password='[password]' \ --ip-address=[ip] \ --ip-address=[ip] \ --ip-address=[ip] \ --domain=[domain] \ --realm=[realm] \ --hostname=[host] \ --setup-adtrust \ --setup-kra \ --setup-dns \ --idstart=200000 \ --no-ui-redirect \ --mkhomedir \ --no-ntp \ --allow-zone-overlap \ --auto-reverse \ --zonemgr=dns@[domain] \ --no-forwarders \ --log-file=[path]
<img alt="install.log" src="/freeipa/issue/raw/6858962c14718fbb5c08f0621d0a167e2c7aa8e0eb38f75b646bdd3510800046-install.log" />
The uploaded log file is not accessible.
I'm experiencing the same when trying to install with--zonemgr=me@example.org:
--zonemgr=me@example.org
2018-07-02T14:16:35Z DEBUG Logging to /var/log/ipaserver-install.log 2018-07-02T14:16:35Z INFO Checking DNS domain server.armandoneto.local, please wait ... 2018-07-02T14:16:35Z DEBUG File "/usr/lib/python3.6/site-packages/ipapython/admintool.py", line 178, in execute return_value = self.run() File "/usr/lib/python3.6/site-packages/ipapython/install/cli.py", line 300, in run cfgr = transformed_cls(**kwargs) File "/usr/lib/python3.6/site-packages/ipapython/install/common.py", line 94, in __init__ **kwargs) File "/usr/lib/python3.6/site-packages/ipaserver/install/server/__init__.py", line 595, in __init__ super(ServerMasterInstall, self).__init__(**kwargs) File "/usr/lib/python3.6/site-packages/ipaserver/install/server/__init__.py", line 339, in __init__ super(ServerInstallInterface, self).__init__(**kwargs) File "/usr/lib/python3.6/site-packages/ipaclient/install/client.py", line 3571, in __init__ super(ClientInstallInterface, self).__init__(**kwargs) File "/usr/lib/python3.6/site-packages/ipapython/install/core.py", line 314, in __init__ prop.validate(value) File "/usr/lib/python3.6/site-packages/ipapython/install/core.py", line 145, in validate func(self.outer, value) File "/usr/lib/python3.6/site-packages/ipaserver/install/dns.py", line 480, in zonemgr value = value.decode(encoding) 2018-07-02T14:16:35Z DEBUG The ipa-server-install command failed, exception: AttributeError: 'str' object has no attribute 'decode' 2018-07-02T14:16:35Z ERROR 'str' object has no attribute 'decode' 2018-07-02T14:16:35Z ERROR The ipa-server-install command failed. See /var/log/ipaserver-install.log for more information
Metadata Update from @abiagion: - Issue assigned to abiagion
My log is identical to abiagon's.
Metadata Update from @frenaud: - Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/2099
master:
ipa-4-6:
Metadata Update from @cheimes: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.