Show warning instead of error if CA did not start
This is just workaround, checking if CA is working raises false positive exception during upgrade Ticket: https://fedorahosted.org/freeipa/ticket/4676 Reviewed-By: Simo Sorce <ssorce@redhat.com>
This commit is contained in:
1 parent
a14ce85357
commit
43285b1fc3
1 file changed
+4
@@ -1411,6 +1411,10 @@ def main():
|
||||
ca.restart(dogtag.configured_constants().PKI_INSTANCE_NAME)
|
||||
except ipautil.CalledProcessError, e:
|
||||
root_logger.error("Failed to restart %s: %s", ca.service_name, e)
|
||||
# FIXME https://fedorahosted.org/freeipa/ticket/4676
|
||||
# workaround
|
||||
except RuntimeError as e:
|
||||
root_logger.warning(str(e))
|
||||
|
||||
set_sssd_domain_option('ipa_server_mode', 'True')
|
||||
|
||||
|
||||
Reference in new issue
Block a user