On 30.11.2015 14:16, Martin Babinsky wrote:
On 11/27/2015 05:02 PM, Martin Basti wrote:
https://fedorahosted.org/freeipa/ticket/5460
I tested just master, I will test ipa-4-2 later.
patch attached.
ACK for the master branch.
Thanks, additional patch improves error message when ipa-replica-install
--setup-ca --setup-kra is executed and KRA is not installed anywhere yet.
I'm working on patches for ipa-4-2 branch
Martin
From c57b09cddd548d9bd8f0785e26fa19976807b75e Mon Sep 17 00:00:00 2001
From: Martin Basti <mba...@redhat.com>
Date: Mon, 30 Nov 2015 18:18:38 +0100
Subject: [PATCH] Modify error message to install first instance of KRA
First instance of KRA should be installed by ipa-kra-install.
https://fedorahosted.org/freeipa/ticket/5460
---
ipaserver/install/kra.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/ipaserver/install/kra.py b/ipaserver/install/kra.py
index 3f8227688a2704d239ae75fc896adf59465210c8..87aab97c4f21995be0012c81d7b96a176e203369 100644
--- a/ipaserver/install/kra.py
+++ b/ipaserver/install/kra.py
@@ -36,7 +36,9 @@ def install_check(api, replica_config, options):
if replica_config is not None:
if not api.Command.kra_is_enabled()['result']:
- raise RuntimeError("KRA is not installed on the master system")
+ raise RuntimeError(
+ "KRA is not installed on the master system. Please use "
+ "'ipa-kra-install' command to install the first instance.")
if options.promote:
return
--
2.5.0
--
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code