Bug 56052 - UMC multiprocessing causes traceback: KeyError
UMC multiprocessing causes traceback: KeyError
Status: NEW
Product: UCS
Classification: Unclassified
Component: UMC (Generic)
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2023-05-11 09:15 CEST by Oliver Friedrich
Modified: 2023-05-11 09:16 CEST (History)
0 users

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 5: Major Usability: Impairs usability in key scenarios
Who will be affected by this bug?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 5: Blocking further progress on the daily work
User Pain: 0.286
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Large environments
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Friedrich univentionstaff 2023-05-11 09:15:07 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