From 3f3f49ea93f8ca0c2cdd569a78c952492e7b520a Mon Sep 17 00:00:00 2001 From: Martin Basti Date: Tue, 18 Nov 2014 18:30:59 +0100 Subject: [PATCH] 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 --- install/tools/ipa-upgradeconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/install/tools/ipa-upgradeconfig b/install/tools/ipa-upgradeconfig index b0b574476ffc5ce6f075cf46177cc059483551ab..ffb51a97726d2212284f2bb2b939cefd674e24c4 100644 --- a/install/tools/ipa-upgradeconfig +++ b/install/tools/ipa-upgradeconfig @@ -1471,6 +1471,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') -- 2.1.0