Univention Bugzilla – Bug 37399
univention-management-console-server is killed after a module process dies
Last modified: 2015-03-25 16:42:42 CET
It seems that "univention-management-console-server" is killed after a module process dies, which is not the desired behavior. from management-console-server.log: 18.12.14 10:25:08.114 MAIN ( PROCESS ) : running: ['/usr/sbin/univention-management-console-module', '-m', 'schoolcsvimport', '-s', '/var/run/univention-management-console/22548-1418916308110.socket', '-d', '2', '-l', 'de_DE.UTF-8'] 18.12.14 10:25:08.365 SSL ( WARN ) : SSL error in _receive: (-1, 'Unexpected EOF'). Probably the socket was closed by the client. 18.12.14 10:25:08.365 MAIN ( WARN ) : Socket died (module=schoolwizards) 18.12.14 10:25:08.365 MAIN ( WARN ) : Module process schoolwizards died (pid: 29640, exit status: -1, signal: -1) 18.12.14 10:25:08.366 MAIN ( WARN ) : Cleaning up requests 18.12.14 10:25:08.366 MAIN ( WARN ) : Remove inactivity timer 18.12.14 10:25:08.372 MAIN ( ERROR ) : Traceback (most recent call last): File "/usr/sbin/univention-management-console-server", line 210, in <module> umc_daemon.do_action() File "/usr/lib/pymodules/python2.6/daemon/runner.py", line 186, in do_action func(self) File "/usr/sbin/univention-management-console-server", line 142, in _restart self._start() File "/usr/lib/pymodules/python2.6/daemon/runner.py", line 131, in _start self.app.run() File "/usr/sbin/univention-management-console-server", line 192, in run notifier.loop() File "/usr/lib/pymodules/python2.6/notifier/nf_generic.py", line 284, in loop step() File "/usr/lib/pymodules/python2.6/notifier/nf_generic.py", line 271, in step not __sockets[ cond ][ fd ]( sock_obj ): File "/usr/lib/pymodules/python2.6/univention/management/console/protocol/server.py", line 146, in _receive self.__states[ socket ].processor.shutdown() File "/usr/lib/pymodules/python2.6/univention/management/console/protocol/session.py", line 249, in shutdown for module_name in self.__processes: RuntimeError: dictionary changed size during iteration
Created attachment 6558 [details] patch
This problem is blocking the jenkins tests as the UMC server dies unexpectedly.
The attached patch has been applied with a small change. univention-management-console 7.1.63-13.854.201503131531 YAML: 2015-03-13-univention-management-console.yaml r58963 | Bug #37399: prevent fatal traceback in UMC session shutdown r58964 | Bug #37399: added YAML r58965 | Bug #37399: updated YAML
It is a followup of Bug #35231.
OK: reproduced the problem, no followup errors OK: Code-Review OK: YAML
<http://errata.univention.de/ucs/4.0/125.html>