mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-26 00:41:25 -06:00
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>
This commit is contained in:
parent
cdf08a0a86
commit
b0894a8493
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user