Bug 53484 - appcenter: FileNotFoundError: [Errno 2] No such file or directory '/etc/machine.secret'
appcenter: FileNotFoundError: [Errno 2] No such file or directory '/etc/machi...
Status: NEW
Product: UCS
Classification: Unclassified
Component: 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: 2021-06-21 11:01 CEST by Christian Castens
Modified: 2021-06-21 11:01 CEST (History)
1 user (show)

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: 2021061721000361
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 Christian Castens univentionstaff 2021-06-21 11:01:01 CEST
Version: 5.0-0 errata14

Error:
Interner Server-Fehler in "appcenter/resolve".
Request: appcenter/resolve

Traceback (most recent call last):
  File "%PY3%/univention/management/console/base.py", line 344, 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 247, in execute
    function.__func__(self, request, *args, **kwargs)
  File "%PY3%/univention/management/console/modules/decorators.py", line 181, in _response
    return function(self, request)
  File "%PY3%/univention/management/console/modules/decorators.py", line 321, in _response
    result = _multi_response(self, request)
  File "%PY3%/univention/management/console/modules/decorators.py", line 181, in _response
    return function(self, request)
  File "%PY3%/univention/management/console/modules/decorators.py", line 443, in _response
    return list(function(self, iterator, *nones))
  File "%PY3%/univention/management/console/modules/decorators.py", line 289, in _fake_func
    yield function(self, *args)
  File "%PY3%/univention/management/console/modules/appcenter/__init__.py", line 247, in resolve
    ret['apps'] = resolve_dependencies(apps, action)
  File "%PY3%/univention/appcenter/utils.py", line 535, in resolve_dependencies
    lo, pos = get_machine_connection()
  File "%PY3%/univention/appcenter/udm.py", line 141, in get_machine_connection
    return getMachineConnection()
  File "%PY3%/univention/admin/uldap.py", line 177, in getMachineConnection
    lo = univention.uldap.getMachineConnection(start_tls, decode_ignorelist=decode_ignorelist, ldap_master=ldap_master)
  File "%PY3%/univention/uldap.py", line 168, in getMachineConnection
    bindpw = open(secret_file).read().rstrip('\n')
FileNotFoundError: [Errno 2] Datei oder Verzeichnis nicht gefunden: '/etc/machine.secret'

Role: domaincontroller_master