Bug 57328 - appcenter/query: RuntimeError: dictionary changed size during iteration
appcenter/query: RuntimeError: dictionary changed size during iteration
Status: NEW
Product: UCS
Classification: Unclassified
Component: UMC - App-Center
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: App Center maintainers
App Center maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2024-05-24 10:17 CEST by Mika Westphal
Modified: 2024-05-24 10:18 CEST (History)
0 users

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2024020821000148
Bug group (optional): Error handling, External feedback
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mika Westphal univentionstaff 2024-05-24 10:17:45 CEST
Version: 5.0-6 errata951

Remark: I tried to open "manage installations" for "Let's Encrypt" in the "App Center"

Error:
Internal server error during "appcenter/query".
Request: appcenter/query

Traceback (most recent call last):
  File "%PY3%/univention/management/console/base.py", line 387, in __error_handling
    six.reraise(etype, exc, etraceback)
  File "%PY3%/six.py", line 693, in reraise
    raise value
  File "%PY3%/univention/management/console/base.py", line 285, in execute
    function.__func__(self, request, *args, **kwargs)
  File "%PY3%/univention/management/console/modules/decorators.py", line 478, in _response
    result = _multi_response(self, request)
  File "%PY3%/univention/management/console/modules/decorators.py", line 189, in _response
    return function(self, request)
  File "%PY3%/univention/management/console/modules/decorators.py", line 602, in _response
    return list(function(self, iterator, *nones))
  File "%PY3%/univention/management/console/modules/decorators.py", line 444, in _fake_func
    yield function(self, *args)
  File "%PY3%/univention/management/console/modules/appcenter/__init__.py", line 398, in query
    info = domain.to_dict(apps)
  File "%PY3%/univention/appcenter/actions/domain.py", line 101, in to_dict
    hosts = self.get_appcenter_hosts(lo, pos)
  File "%PY3%/univention/appcenter/actions/domain.py", line 83, in get_appcenter_hosts
    objs = search_objects('computers/%s' % role, lo, pos)
  File "%PY3%/univention/appcenter/udm.py", line 120, in search_objects
    module = _get_module(_module, _lo, _pos)
  File "%PY3%/univention/appcenter/udm.py", line 69, in _get_module
    udm_modules.init(lo, pos, mod)
  File "%PY3%/univention/admin/modules.py", line 235, in init
    update_extended_attributes(lo, module, position)
  File "%PY3%/univention/admin/modules.py", line 638, in update_extended_attributes
    for pname, prop in module.property_descriptions.items():
RuntimeError: dictionary changed size during iteration

Role: domaincontroller_backup