summaryrefslogtreecommitdiffstats
path: root/ipaserver/install
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2016-01-21 18:23:26 +0100
committerMartin Basti <mbasti@redhat.com>2016-01-25 14:17:48 +0100
commitb0894a84932c3b02c495f29b7c110dd072da745f (patch)
tree6b1f8f95270dec8d7c635ea251912782485c66a3 /ipaserver/install
parentcdf08a0a869f83a6111d9560b69c582d2c04f89c (diff)
downloadfreeipa-b0894a84932c3b02c495f29b7c110dd072da745f.tar.gz
freeipa-b0894a84932c3b02c495f29b7c110dd072da745f.tar.xz
freeipa-b0894a84932c3b02c495f29b7c110dd072da745f.zip
stop installer when setup-ds.pl fail
DS instance install should fail immediately after setup-ds.pl fail. tickets: #2539, #3720, #5607 https://fedorahosted.org/freeipa/ticket/2539 Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
Diffstat (limited to 'ipaserver/install')
-rw-r--r--ipaserver/install/dsinstance.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipaserver/install/dsinstance.py b/ipaserver/install/dsinstance.py
index 3d5734efe..2905c31c6 100644
--- a/ipaserver/install/dsinstance.py
+++ b/ipaserver/install/dsinstance.py
@@ -543,7 +543,7 @@ class DsInstance(service.Service):
ipautil.run(args)
root_logger.debug("completed creating ds instance")
except ipautil.CalledProcessError as e:
- root_logger.critical("failed to create ds instance %s" % e)
+ raise RuntimeError("failed to create ds instance %s" % e)
# check for open port 389 from now on
self.open_ports.append(389)