Configuration of IPA client fails with the following error:
2018-05-02T15:14:34Z DEBUG The ipa-client-install command failed, exception: FileNotFoundError: [Errno 2] No such file or directory: '/usr/share/ipa/freeipa.template' 2018-05-02T15:14:34Z ERROR [Errno 2] No such file or directory: '/usr/share/ipa/freeipa.template' 2018-05-02T15:14:34Z ERROR The ipa-client-install command failed. See /var/log/ipaclient-install.log for more information
The file /usr/share/ipa/freeipa.template is required for client installation but is provided by freeipa-server-common package and may be missing on a system where only the client packages are installed. This is a regression introduced with commit 792adebfabb456d154164387fb7e60acb30f4325 on the master branch.
ipa-client-install fails with the following message:
File "/usr/lib/python3.6/site-packages/ipapython/install/common.py", line 65, in _install for unused in self._installer(self.parent): File "/usr/lib/python3.6/site-packages/ipaclient/install/client.py", line 3677, in main install(self) File "/usr/lib/python3.6/site-packages/ipaclient/install/client.py", line 2442, in install _install(options) File "/usr/lib/python3.6/site-packages/ipaclient/install/client.py", line 2522, in _install force=options.force) File "/usr/lib/python3.6/site-packages/ipaclient/install/client.py", line 647, in configure_krb5_conf shutil.copy(template, paths.KRB5_FREEIPA) File "/usr/lib64/python3.6/shutil.py", line 241, in copy copyfile(src, dst, follow_symlinks=follow_symlinks) File "/usr/lib64/python3.6/shutil.py", line 120, in copyfile with open(src, 'rb') as fsrc: 2018-05-02T15:14:34Z DEBUG The ipa-client-install command failed, exception: FileNotFoundError: [Errno 2] No such file or directory: '/usr/share/ipa/freeipa.template' 2018-05-02T15:14:34Z ERROR [Errno 2] No such file or directory: '/usr/share/ipa/freeipa.template' 2018-05-02T15:14:34Z ERROR The ipa-client-install command failed. See /var/log/ipaclient-install.log for more information
ipa-client-install should successfully exit.
See https://pagure.io/freeipa/issue/7525 for tracking how this got past CI, and https://github.com/freeipa/freeipa/pull/1898 for a fix.
Metadata Update from @frenaud: - Issue set to the milestone: FreeIPA 4.7
Setting milestone to 4.7 as this issue was present only on the master branch (commit 792adeb on the master branch).
master: