Univention Bugzilla – Bug 37855
schoolinstaller.py dies during apache reload
Last modified: 2023-03-25 06:46:00 CET
schoolinstaller.py seems to have problems with failing HTTPS connections during apache reload. Installation der UCS@school-Pakete - service apache2 reload Installation der UCS@school-Pakete - service apache2 reload Installation der UCS@school-Pakete - Reloading web server config: apache2. Traceback (most recent call last): File "/root/schoolinstaller.py", line 124, in <module> status = connection.request('schoolinstaller/progress') File "/usr/lib/pymodules/python2.7/univention/lib/umc_connection.py", line 131, in request con.request('POST', umcp_command, data, headers=self._headers) File "/usr/lib/python2.7/httplib.py", line 962, in request self._send_request(method, url, body, headers) File "/usr/lib/python2.7/httplib.py", line 996, in _send_request self.endheaders(body) File "/usr/lib/python2.7/httplib.py", line 958, in endheaders self._send_output(message_body) File "/usr/lib/python2.7/httplib.py", line 818, in _send_output self.send(msg) File "/usr/lib/python2.7/httplib.py", line 780, in send self.connect() File "/usr/lib/python2.7/httplib.py", line 1165, in connect self.sock = ssl.wrap_socket(sock, self.key_file, self.cert_file) File "/usr/lib/python2.7/ssl.py", line 381, in wrap_socket ciphers=ciphers) File "/usr/lib/python2.7/ssl.py", line 143, in __init__ self.do_handshake() File "/usr/lib/python2.7/ssl.py", line 305, in do_handshake self._sslobj.do_handshake() socket.error: [Errno 104] Connection reset by peer *** Failed 1: /root/schoolinstaller.py -uAdministrator -p univention -o School2 -M -e -s 4 && touch UCSSCHOOL_READY4TESTS
related to bug37484?
I don't think that the problem is related to bug 37484. The schoolinstaller.py has been altered and rechecks the progress state and ignores socket errors until the specified timeout is reached. Fixed in ucs-4.0-1/test/ucs-ec2-tools/examples/jenkins/utils/schoolinstaller.py ucs-4.0-0/test/ucs-ec2-tools/examples/jenkins/utils/schoolinstaller.py
(In reply to Sönke Schwardt-Krummrich from comment #2) > I don't think that the problem is related to bug 37484. > > The schoolinstaller.py has been altered and rechecks the progress state and > ignores socket errors until the specified timeout is reached. > > Fixed in > ucs-4.0-1/test/ucs-ec2-tools/examples/jenkins/utils/schoolinstaller.py > ucs-4.0-0/test/ucs-ec2-tools/examples/jenkins/utils/schoolinstaller.py OK: fixed in utils/schoolinstaller.py. The traceback did not appear in the last 8 Jenkins runs.