Univention Bugzilla – Bug 56052
UMC multiprocessing causes traceback: KeyError
Last modified: 2023-05-11 09:16:22 CEST
On a UCS5 system with umc/server/processes=4 set, my administrative user can't see all UMC modules (like User, Groups) which should be available to him. A look at the logs reveals a: Traceback (most recent call last): File "/usr/lib/python3.7/multiprocessing/managers.py", line 241, in serve_client self.id_to_local_proxy_obj[ident] KeyError: '7f0ada131b40' Workaround: ucr set umc/server/processes=1 && univention-portal update UCS: 5.0-3 errata660 More logs: 11.05.23 08:18:44.059 MAIN ( ERROR ) : 12115: Traceback (most recent call last): File "/usr/sbin/univention-management-console-server", line 162, in <module> umc_daemon.run() File "/usr/sbin/univention-management-console-server", line 114, in run notifier.loop() File "/usr/lib/python3/dist-packages/notifier/nf_generic.py", line 306, in loop step() File "/usr/lib/python3/dist-packages/notifier/nf_generic.py", line 238, in step fds = __poll.poll(timeout) File "/usr/sbin/univention-management-console-server", line 142, in signal_terminate self.server.exit() File "/usr/lib/python3/dist-packages/univention/management/console/protocol/server.py", line 474, in exit self._children.pop(self._child_number, None) File "<string>", line 2, in pop File "/usr/lib/python3.7/multiprocessing/managers.py", line 811, in _callmethod raise convert_to_error(kind, result) multiprocessing.managers.RemoteError: --------------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.7/multiprocessing/managers.py", line 241, in serve_client self.id_to_local_proxy_obj[ident] KeyError: '7f0ada131b40' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/multiprocessing/managers.py", line 243, in serve_client raise ke File "/usr/lib/python3.7/multiprocessing/managers.py", line 237, in serve_client obj, exposed, gettypeid = id_to_obj[ident] KeyError: '7f0ada131b40' --------------------------------------------------------------------------- 11.05.23 08:18:44.060 MAIN ( WARN ) : 12111: Shutting down all open connections