This little patch fixes an issue introduced by commit 6a4b428120c2e351ad0f1b4573f50b106844b1fd:

If uninstalling IPA server with KRA enabled a wrong Dogtag version was being passed to KRA uninstaller due to missing config, resulting in uninstallation crash and inability to install new server instance.

Martin^3 Babinsky
From acf2ca89dc117ed4a6f963ec91ce87b37b10ea10 Mon Sep 17 00:00:00 2001
From: Martin Babinsky <>
Date: Tue, 26 May 2015 11:21:45 +0200
Subject: [PATCH] KRA: get the right dogtag version during server uninstall

Ensure that the correct version of dogtag is passed from API object to the KRA
uninstaller during IPA server uninstall.
 ipaserver/install/ | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ipaserver/install/ b/ipaserver/install/
index 966d171dc558a1c301c6522d1cd20bdf26879147..2ff8df5a1f1a7f7cfd32b06cf5e02ff86abdd322 100644
--- a/ipaserver/install/
+++ b/ipaserver/install/
@@ -67,7 +67,7 @@ def install(replica_config, options, dm_password):
 def uninstall():
-    dogtag_constants = dogtag.configured_constants()
+    dogtag_constants = dogtag.configured_constants(api=api)
     kra_instance = krainstance.KRAInstance(
         api.env.realm, dogtag_constants=dogtag_constants)

Manage your subscription for the Freeipa-devel mailing list:
Contribute to FreeIPA:

Reply via email to