Univention Bugzilla – Bug 42305
schoolinstaller.py fails sometimes on the first School DC
Last modified: 2016-09-29 17:24:01 CEST
The schoolinstaller.py tool which is used in our Jenkins setups fails sometimes on the first school DC: --------------------------------------------------------------------------------- Running command phase (5/7) on VM [master203] /root/schoolinstaller.py -uAdministrator -p univention -M done Running command phase (5/7) on VM [slave2031] echo -n "univention" >/tmp/univention done /root/schoolinstaller.py -uAdministrator -p univention -o Sch.. fail: return code 1 Running command phase (5/7) on VM [slave2032] echo -n "univention" >/tmp/univention done /root/schoolinstaller.py -uAdministrator -p univention -o Sch.. done --------------------------------------------------------------------------------- The log messages shows: --------------------------------------------------------------------------------- Execute: /root/schoolinstaller.py -uAdministrator -p univention -o School1 -M -e -s 4 ERROR: Failed to run installer! output: {u'success': False, u'error': u'Eine LDAP-Verbindung zu dem Master-System master203.autotest203.local konnte nicht aufgebaut werden.'} *** Failed 1: /root/schoolinstaller.py -uAdministrator -p univention -o School1 -M -e -s 4 --------------------------------------------------------------------------------- Background (after debugging the issue with Florian): The schoolinstaller.py sends a lib/server/restart which restarts the UMC server and Apache. Unfortunately, the schoolinstaller.py tool doesn't wait until it has been finished.
Added a 'sleep 20': r72369