freeipa/ipaserver
Florence Blanc-Renaud dbb98765d7 Check the result of cert request in replica installer
When running ipa-replica-install in domain-level 1, the installer
requests the LDAP and HTTP certificates using certmonger but does
not check the return code. The installer goes on and fails when
restarting dirsrv.

Fix: when certmonger was not able to request the certificate, raise an
exception and exit from the installer:

  [28/45]: retrieving DS Certificate
  [error] RuntimeError: Certificate issuance failed (CA_UNREACHABLE)
Your system may be partly configured.
Run /usr/sbin/ipa-server-install --uninstall to clean up.

ipa.ipapython.install.cli.install_tool(CompatServerReplicaInstall): ERROR    Certificate issuance failed (CA_UNREACHABLE)
ipa.ipapython.install.cli.install_tool(CompatServerReplicaInstall): ERROR    The ipa-replica-install command failed. See /var/log/ipareplica-install.log for more information

https://fedorahosted.org/freeipa/ticket/6514

Reviewed-By: Tomas Krizek <tkrizek@redhat.com>
2016-11-30 16:33:54 +01:00
..
advise ipautil: remove SHARE_DIR and PLUGIN_SHARE_DIR 2016-11-29 14:50:51 +01:00
dnssec ipapython: move dnssec, p11helper and secrets to ipaserver 2016-11-29 14:50:51 +01:00
install Check the result of cert request in replica installer 2016-11-30 16:33:54 +01:00
plugins constants: remove CACERT 2016-11-29 14:50:51 +01:00
secrets ipapython: move dnssec, p11helper and secrets to ipaserver 2016-11-29 14:50:51 +01:00
__init__.py Change FreeIPA license to GPLv3+ 2010-12-20 17:19:53 -05:00
dcerpc.py ipautil: remove SHARE_DIR and PLUGIN_SHARE_DIR 2016-11-29 14:50:51 +01:00
dns_data_management.py Fix compatibility with python-dns 1.15.0 2016-10-11 15:45:41 +02:00
Makefile.am Build: Makefiles for Python packages 2016-11-09 13:08:32 +01:00
p11helper.py ipapython: move dnssec, p11helper and secrets to ipaserver 2016-11-29 14:50:51 +01:00
rpcserver.py ipautil: move kinit functions to ipalib.install 2016-11-29 14:50:51 +01:00
servroles.py Introduce "NTP server" role 2016-06-15 13:51:48 +02:00
session.py pylint: enable the import-error check 2016-10-24 14:11:08 +02:00
setup.cfg Port all setup.py to setuptools 2016-10-20 18:43:37 +02:00
setup.py Adjustments for setup requirements 2016-11-30 13:32:30 +01:00
topology.py Fix topologysuffix-verify failing connections 2016-06-24 13:32:02 +02:00