Currently, when there is unhanded exception without any message, installer ends with error code but without any error message.

Adding line stating that some error occurred and where are logs located should help with debugging.

David Kupka
From 15f98f44bf936434f9cbf8ab81b124cd783d3ebf Mon Sep 17 00:00:00 2001
From: David Kupka <>
Date: Thu, 15 Oct 2015 12:24:34 +0200
Subject: [PATCH] admintool: Add error message with path to log on failure.

 ipapython/ | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/ipapython/ b/ipapython/
index 5aa1c19bb70f9d9049130d1e2a253abb4b86677b..a46c13e052d01caf8a53d5ac6b89dc3873085674 100644
--- a/ipapython/
+++ b/ipapython/
@@ -291,6 +291,8 @@ class AdminTool(object):
             self.command_name, type(exception).__name__, exception)
         if error_message:
+        self.log.error("The %s command failed. See %s for more information",
+                self.command_name, self.log_file_name)
     def log_success(self):'The %s command was successful', self.command_name)

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

Reply via email to