summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Basti <mbasti@redhat.com>2015-11-30 18:18:38 +0100
committerMartin Basti <mbasti@redhat.com>2015-12-02 17:21:32 +0100
commitbbbe411f357b7fbad533b5211a90bb0558b1abbe (patch)
tree7748cb5b1cbd7e61330515b44afd515cef07693b
parentefeb7d54ba7e3145a7a0b50c4b275d208cb656e6 (diff)
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 Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
-rw-r--r--ipaserver/install/kra.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/ipaserver/install/kra.py b/ipaserver/install/kra.py
index 3f8227688..87aab97c4 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