mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-25 08:21:05 -06:00
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:
parent
a14ce85357
commit
43285b1fc3
@ -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')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user