Wait for memberof task and DS to start before proceeding in installation.

This was causing a replica DS instance to crash if the task was not
completed when we attempted a shutdown to do a restart.

In replication.py we were restarting the DS instance without waiting
for the ports to become available.

It is unlikely that the dn of the memberof task will change but just in
case I noted it in the two places it is referenced.

ticket 1188
This commit is contained in:
Rob Crittenden
2011-04-21 16:43:10 -04:00
committed by Martin Kosek
parent d2be41dd1b
commit 46a3411420
4 changed files with 34 additions and 0 deletions

View File

@@ -1,3 +1,5 @@
# Note, if you change this dn also update the dn in
# ipaserver/install/dsinstance.py
dn: cn=IPA install $TIME, cn=memberof task, cn=tasks, cn=config
changetype: add
objectClass: top