Bug 53697 - appcenter/progress: univention.admin.uexceptions.permissionDenied
appcenter/progress: univention.admin.uexceptions.permissionDenied
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-08-20 16:04 CEST by Christian Castens
Modified: 2023-07-06 18:22 CEST (History)
2 users (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: 2022082721000061, 2022060321000377, 2021080821000268, 2021101821000502, 2022010421000124, 2022050421000715, 2023031421000467, 2023032021000464
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-08-20 16:04:40 CEST
Version: 5.0-0 errata65

Remark: Neuer Member Server, frisch installiert in UCS Domain mit Primary und Backup Directory Node (Home Lab).
Installation der App schlägt jedes Mal mit diesem Fehler fehl. Anmeldedaten des Administrators sind aber definitv korrekt.

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

Traceback (most recent call last):
  File "%PY3%/univention/admin/uldap.py", line 669, in search
    return self.lo.search(filter, base, scope, attr, unique, required, timeout, sizelimit, serverctrls=serverctrls, response=response)
  File "%PY3%/univention/uldap.py", line 208, in _decorated
    return func(self, *args, **kwargs)
  File "%PY3%/univention/uldap.py", line 516, in search
    res = self.lo.search_ext_s(base, ldap_scope, filter, attr, serverctrls=serverctrls, clientctrls=None, timeout=timeout, sizelimit=sizelimit)
  File "%PY3%/ldap/ldapobject.py", line 1259, in search_ext_s
    return self._apply_method_s(SimpleLDAPObject.search_ext_s,*args,**kwargs)
  File "%PY3%/ldap/ldapobject.py", line 1197, in _apply_method_s
    return func(self,*args,**kwargs)
  File "%PY3%/ldap/ldapobject.py", line 846, in search_ext_s
    return self.result(msgid,all=1,timeout=timeout)[1]
  File "%PY3%/ldap/ldapobject.py", line 738, in result
    resp_type, resp_data, resp_msgid = self.result2(msgid,all,timeout)
  File "%PY3%/ldap/ldapobject.py", line 742, in result2
    resp_type, resp_data, resp_msgid, resp_ctrls = self.result3(msgid,all,timeout)
  File "%PY3%/ldap/ldapobject.py", line 749, in result3
    resp_ctrl_classes=resp_ctrl_classes
  File "%PY3%/ldap/ldapobject.py", line 756, in result4
    ldap_result = self._ldap_call(self._l.result4,msgid,all,timeout,add_ctrls,add_intermediates,add_extop)
  File "%PY3%/ldap/ldapobject.py", line 329, in _ldap_call
    reraise(exc_type, exc_value, exc_traceback)
  File "%PY3%/ldap/compat.py", line 44, in reraise
    raise exc_value
  File "%PY3%/ldap/ldapobject.py", line 313, in _ldap_call
    result = func(*args,**kwargs)
ldap.NO_SUCH_OBJECT: {'desc': 'No such object', 'matched': 'cn=samba-memberserver,cn=apps,cn=univention,dc=kind,dc=intern'}

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "%PY3%/univention/admin/objects.py", line 99, in get
    obj = univention.admin.modules.lookup(module.module, co, lo, base=dn, superordinate=superordinate, scope='base', unique=True, required=True)[0]
  File "%PY3%/univention/admin/modules.py", line 953, in lookup
    tmpres = module.lookup(co, lo, filter, base=base, superordinate=superordinate, scope=scope, unique=unique, required=required, timeout=timeout, sizelimit=sizelimit)
  File "%PY3%/univention/admin/handlers/__init__.py", line 1779, in lookup
    for dn, attrs in lo.search(filter_str, base, scope, attr, unique, required, timeout, sizelimit, serverctrls=serverctrls, response=response):
  File "%PY3%/univention/admin/uldap.py", line 671, in search
    raise univention.admin.uexceptions.noObject(_err2str(msg))
univention.admin.uexceptions.noObject: No such object

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "%PY3%/univention/appcenter/udm.py", line 189, in _reload
    self._udm_obj = init_object('appcenter/app', self._lo, self._pos, self.dn)
  File "%PY3%/univention/appcenter/udm.py", line 73, in init_object
    obj = udm_objects.get(module, None, lo, pos, dn)
  File "%PY3%/univention/admin/objects.py", line 104, in get
    raise univention.admin.uexceptions.noObject(dn)
univention.admin.uexceptions.noObject: univentionAppID=samba-memberserver_4.7,cn=samba-memberserver,cn=apps,cn=univention,dc=kind,dc=intern

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "%PY3%/univention/admin/uldap.py", line 669, in search
    return self.lo.search(filter, base, scope, attr, unique, required, timeout, sizelimit, serverctrls=serverctrls, response=response)
  File "%PY3%/univention/uldap.py", line 208, in _decorated
    return func(self, *args, **kwargs)
  File "%PY3%/univention/uldap.py", line 516, in search
    res = self.lo.search_ext_s(base, ldap_scope, filter, attr, serverctrls=serverctrls, clientctrls=None, timeout=timeout, sizelimit=sizelimit)
  File "%PY3%/ldap/ldapobject.py", line 1259, in search_ext_s
    return self._apply_method_s(SimpleLDAPObject.search_ext_s,*args,**kwargs)
  File "%PY3%/ldap/ldapobject.py", line 1197, in _apply_method_s
    return func(self,*args,**kwargs)
  File "%PY3%/ldap/ldapobject.py", line 846, in search_ext_s
    return self.result(msgid,all=1,timeout=timeout)[1]
  File "%PY3%/ldap/ldapobject.py", line 738, in result
    resp_type, resp_data, resp_msgid = self.result2(msgid,all,timeout)
  File "%PY3%/ldap/ldapobject.py", line 742, in result2
    resp_type, resp_data, resp_msgid, resp_ctrls = self.result3(msgid,all,timeout)
  File "%PY3%/ldap/ldapobject.py", line 749, in result3
    resp_ctrl_classes=resp_ctrl_classes
  File "%PY3%/ldap/ldapobject.py", line 756, in result4
    ldap_result = self._ldap_call(self._l.result4,msgid,all,timeout,add_ctrls,add_intermediates,add_extop)
  File "%PY3%/ldap/ldapobject.py", line 329, in _ldap_call
    reraise(exc_type, exc_value, exc_traceback)
  File "%PY3%/ldap/compat.py", line 44, in reraise
    raise exc_value
  File "%PY3%/ldap/ldapobject.py", line 313, in _ldap_call
    result = func(*args,**kwargs)
ldap.NO_SUCH_OBJECT: {'desc': 'No such object', 'matched': 'cn=samba-memberserver,cn=apps,cn=univention,dc=kind,dc=intern'}

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "%PY3%/univention/admin/objects.py", line 99, in get
    obj = univention.admin.modules.lookup(module.module, co, lo, base=dn, superordinate=superordinate, scope='base', unique=True, required=True)[0]
  File "%PY3%/univention/admin/modules.py", line 953, in lookup
    tmpres = module.lookup(co, lo, filter, base=base, superordinate=superordinate, scope=scope, unique=unique, required=required, timeout=timeout, sizelimit=sizelimit)
  File "%PY3%/univention/admin/handlers/__init__.py", line 1779, in lookup
    for dn, attrs in lo.search(filter_str, base, scope, attr, unique, required, timeout, sizelimit, serverctrls=serverctrls, response=response):
  File "%PY3%/univention/admin/uldap.py", line 671, in search
    raise univention.admin.uexceptions.noObject(_err2str(msg))
univention.admin.uexceptions.noObject: No such object

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "%PY3%/univention/appcenter/udm.py", line 97, in create_object_if_not_exists
    init_object(_module, _lo, _pos, dn)
  File "%PY3%/univention/appcenter/udm.py", line 73, in init_object
    obj = udm_objects.get(module, None, lo, pos, dn)
  File "%PY3%/univention/admin/objects.py", line 104, in get
    raise univention.admin.uexceptions.noObject(dn)
univention.admin.uexceptions.noObject: univentionAppID=samba-memberserver_4.7,cn=samba-memberserver,cn=apps,cn=univention,dc=kind,dc=intern

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "%PY3%/univention/admin/uldap.py", line 767, in add
    return self.lo.add(dn, al, serverctrls=serverctrls, response=response)
  File "%PY3%/univention/uldap.py", line 208, in _decorated
    return func(self, *args, **kwargs)
  File "%PY3%/univention/uldap.py", line 692, in add
    rtype, rdata, rmsgid, resp_ctrls = self.lo.add_ext_s(dn, nal, serverctrls=serverctrls)
  File "%PY3%/ldap/ldapobject.py", line 1238, in add_ext_s
    return self._apply_method_s(SimpleLDAPObject.add_ext_s,*args,**kwargs)
  File "%PY3%/ldap/ldapobject.py", line 1197, in _apply_method_s
    return func(self,*args,**kwargs)
  File "%PY3%/ldap/ldapobject.py", line 414, in add_ext_s
    resp_type, resp_data, resp_msgid, resp_ctrls = self.result3(msgid,all=1,timeout=self.timeout)
  File "%PY3%/ldap/ldapobject.py", line 749, in result3
    resp_ctrl_classes=resp_ctrl_classes
  File "%PY3%/ldap/ldapobject.py", line 756, in result4
    ldap_result = self._ldap_call(self._l.result4,msgid,all,timeout,add_ctrls,add_intermediates,add_extop)
  File "%PY3%/ldap/ldapobject.py", line 329, in _ldap_call
    reraise(exc_type, exc_value, exc_traceback)
  File "%PY3%/ldap/compat.py", line 44, in reraise
    raise exc_value
  File "%PY3%/ldap/ldapobject.py", line 313, in _ldap_call
    result = func(*args,**kwargs)
ldap.INSUFFICIENT_ACCESS: {'desc': 'Insufficient access', 'info': 'no write access to parent'}

During handling of the above exception, another exception occurred:

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 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/mixins.py", line 158, in progress
    ret = progress_obj.poll()
  File "%PY3%/univention/management/console/modules/mixins.py", line 102, in poll
    six.reraise(*self.exc_info)
  File "%PY3%/six.py", line 693, in reraise
    raise value
  File "%PY3%/univention/management/console/modules/decorators.py", line 312, in _thread
    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 292, in run
    host_result[app.id] = self._run_local(app, action, _settings, auto_installed, progress)
  File "%PY3%/univention/management/console/modules/appcenter/__init__.py", line 339, in _run_local
    success = action.call(app=[app], username=self.username, password=self.password, **kwargs)
  File "%PY3%/univention/appcenter/actions/__init__.py", line 175, in call
    return obj.call_with_namespace(namespace)
  File "%PY3%/univention/appcenter/actions/__init__.py", line 181, in call_with_namespace
    result = self.main(namespace)
  File "%PY3%/univention/appcenter/actions/install.py", line 87, in main
    return self.do_it(args)
  File "%PY3%/univention/appcenter/actions/install_base.py", line 167, in do_it
    success = self.do_it_once(app, args)
  File "%PY3%/univention/appcenter/actions/install.py", line 203, in do_it_once
    return super(Install, self).do_it_once(app, args)
  File "%PY3%/univention/appcenter/actions/install_base.py", line 212, in do_it_once
    self._do_it(app, args)
  File "%PY3%/univention/appcenter/actions/docker_install.py", line 71, in _do_it
    ret = super(Install, self)._do_it(app, args)
  File "%PY3%/univention/appcenter/actions/install.py", line 110, in _do_it
    self._register_app(app, args)
  File "%PY3%/univention/appcenter/actions/register.py", line 438, in _register_app
    ldap_object = get_app_ldap_object(app, lo, pos, or_create=True)
  File "%PY3%/univention/appcenter/udm.py", line 271, in get_app_ldap_object
    return ApplicationLDAPObject(app, lo, pos, or_create)
  File "%PY3%/univention/appcenter/udm.py", line 177, in __init__
    self._reload(app, create_if_not_exists)
  File "%PY3%/univention/appcenter/udm.py", line 193, in _reload
    self._create_obj(app)
  File "%PY3%/univention/appcenter/udm.py", line 222, in _create_obj
    obj = create_object_if_not_exists('appcenter/app', self._lo, self._pos, **attrs)
  File "%PY3%/univention/appcenter/udm.py", line 99, in create_object_if_not_exists
    obj.create()
  File "%PY3%/univention/admin/handlers/__init__.py", line 543, in create
    dn = self._create(response=response, serverctrls=serverctrls)
  File "%PY3%/univention/admin/handlers/__init__.py", line 1286, in _create
    six.reraise(exc[0], exc[1], exc[2])
  File "%PY3%/six.py", line 693, in reraise
    raise value
  File "%PY3%/univention/admin/handlers/__init__.py", line 1268, in _create
    self.lo.add(self.dn, al, serverctrls=serverctrls, response=response)
  File "%PY3%/univention/admin/uldap.py", line 773, in add
    raise univention.admin.uexceptions.permissionDenied()
univention.admin.uexceptions.permissionDenied

Role: memberserver
Comment 1 Maximilian Janßen univentionstaff 2021-11-18 12:38:09 CET
Verry similar traceback - probably the same reason:


Version: 5.0-0 errata127

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

Traceback (most recent call last):
  File "%PY3%/univention/admin/uldap.py", line 669, in search
    return self.lo.search(filter, base, scope, attr, unique, required, timeout, sizelimit, serverctrls=serverctrls, response=response)
  File "%PY3%/univention/uldap.py", line 208, in _decorated
    return func(self, *args, **kwargs)
  File "%PY3%/univention/uldap.py", line 516, in search
    res = self.lo.search_ext_s(base, ldap_scope, filter, attr, serverctrls=serverctrls, clientctrls=None, timeout=timeout, sizelimit=sizelimit)
  File "%PY3%/ldap/ldapobject.py", line 1259, in search_ext_s
    return self._apply_method_s(SimpleLDAPObject.search_ext_s,*args,**kwargs)
  File "%PY3%/ldap/ldapobject.py", line 1197, in _apply_method_s
    return func(self,*args,**kwargs)
  File "%PY3%/ldap/ldapobject.py", line 846, in search_ext_s
    return self.result(msgid,all=1,timeout=timeout)[1]
  File "%PY3%/ldap/ldapobject.py", line 738, in result
    resp_type, resp_data, resp_msgid = self.result2(msgid,all,timeout)
  File "%PY3%/ldap/ldapobject.py", line 742, in result2
    resp_type, resp_data, resp_msgid, resp_ctrls = self.result3(msgid,all,timeout)
  File "%PY3%/ldap/ldapobject.py", line 749, in result3
    resp_ctrl_classes=resp_ctrl_classes
  File "%PY3%/ldap/ldapobject.py", line 756, in result4
    ldap_result = self._ldap_call(self._l.result4,msgid,all,timeout,add_ctrls,add_intermediates,add_extop)
  File "%PY3%/ldap/ldapobject.py", line 329, in _ldap_call
    reraise(exc_type, exc_value, exc_traceback)
  File "%PY3%/ldap/compat.py", line 44, in reraise
    raise exc_value
  File "%PY3%/ldap/ldapobject.py", line 313, in _ldap_call
    result = func(*args,**kwargs)
ldap.NO_SUCH_OBJECT: {'desc': 'No such object', 'matched': 'cn=apps,cn=univention,dc=atg,dc=intranet'}

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "%PY3%/univention/admin/objects.py", line 99, in get
    obj = univention.admin.modules.lookup(module.module, co, lo, base=dn, superordinate=superordinate, scope='base', unique=True, required=True)[0]
  File "%PY3%/univention/admin/modules.py", line 951, in lookup
    tmpres = module.lookup(co, lo, filter, base=base, superordinate=superordinate, scope=scope, unique=unique, required=required, timeout=timeout, sizelimit=sizelimit)
  File "%PY3%/univention/admin/handlers/__init__.py", line 1779, in lookup
    for dn, attrs in lo.search(filter_str, base, scope, attr, unique, required, timeout, sizelimit, serverctrls=serverctrls, response=response):
  File "%PY3%/univention/admin/uldap.py", line 671, in search
    raise univention.admin.uexceptions.noObject(_err2str(msg))
univention.admin.uexceptions.noObject: No such object

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "%PY3%/univention/appcenter/udm.py", line 189, in _reload
    self._udm_obj = init_object('appcenter/app', self._lo, self._pos, self.dn)
  File "%PY3%/univention/appcenter/udm.py", line 73, in init_object
    obj = udm_objects.get(module, None, lo, pos, dn)
  File "%PY3%/univention/admin/objects.py", line 104, in get
    raise univention.admin.uexceptions.noObject(dn)
univention.admin.uexceptions.noObject: univentionAppID=samba-memberserver_4.7,cn=samba-memberserver,cn=apps,cn=univention,dc=atg,dc=intranet

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "%PY3%/univention/admin/uldap.py", line 669, in search
    return self.lo.search(filter, base, scope, attr, unique, required, timeout, sizelimit, serverctrls=serverctrls, response=response)
  File "%PY3%/univention/uldap.py", line 208, in _decorated
    return func(self, *args, **kwargs)
  File "%PY3%/univention/uldap.py", line 516, in search
    res = self.lo.search_ext_s(base, ldap_scope, filter, attr, serverctrls=serverctrls, clientctrls=None, timeout=timeout, sizelimit=sizelimit)
  File "%PY3%/ldap/ldapobject.py", line 1259, in search_ext_s
    return self._apply_method_s(SimpleLDAPObject.search_ext_s,*args,**kwargs)
  File "%PY3%/ldap/ldapobject.py", line 1197, in _apply_method_s
    return func(self,*args,**kwargs)
  File "%PY3%/ldap/ldapobject.py", line 846, in search_ext_s
    return self.result(msgid,all=1,timeout=timeout)[1]
  File "%PY3%/ldap/ldapobject.py", line 738, in result
    resp_type, resp_data, resp_msgid = self.result2(msgid,all,timeout)
  File "%PY3%/ldap/ldapobject.py", line 742, in result2
    resp_type, resp_data, resp_msgid, resp_ctrls = self.result3(msgid,all,timeout)
  File "%PY3%/ldap/ldapobject.py", line 749, in result3
    resp_ctrl_classes=resp_ctrl_classes
  File "%PY3%/ldap/ldapobject.py", line 756, in result4
    ldap_result = self._ldap_call(self._l.result4,msgid,all,timeout,add_ctrls,add_intermediates,add_extop)
  File "%PY3%/ldap/ldapobject.py", line 329, in _ldap_call
    reraise(exc_type, exc_value, exc_traceback)
  File "%PY3%/ldap/compat.py", line 44, in reraise
    raise exc_value
  File "%PY3%/ldap/ldapobject.py", line 313, in _ldap_call
    result = func(*args,**kwargs)
ldap.NO_SUCH_OBJECT: {'desc': 'No such object', 'matched': 'cn=apps,cn=univention,dc=atg,dc=intranet'}

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "%PY3%/univention/admin/objects.py", line 99, in get
    obj = univention.admin.modules.lookup(module.module, co, lo, base=dn, superordinate=superordinate, scope='base', unique=True, required=True)[0]
  File "%PY3%/univention/admin/modules.py", line 951, in lookup
    tmpres = module.lookup(co, lo, filter, base=base, superordinate=superordinate, scope=scope, unique=unique, required=required, timeout=timeout, sizelimit=sizelimit)
  File "%PY3%/univention/admin/handlers/__init__.py", line 1779, in lookup
    for dn, attrs in lo.search(filter_str, base, scope, attr, unique, required, timeout, sizelimit, serverctrls=serverctrls, response=response):
  File "%PY3%/univention/admin/uldap.py", line 671, in search
    raise univention.admin.uexceptions.noObject(_err2str(msg))
univention.admin.uexceptions.noObject: No such object

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "%PY3%/univention/appcenter/udm.py", line 97, in create_object_if_not_exists
    init_object(_module, _lo, _pos, dn)
  File "%PY3%/univention/appcenter/udm.py", line 73, in init_object
    obj = udm_objects.get(module, None, lo, pos, dn)
  File "%PY3%/univention/admin/objects.py", line 104, in get
    raise univention.admin.uexceptions.noObject(dn)
univention.admin.uexceptions.noObject: cn=samba-memberserver,cn=apps,cn=univention,dc=atg,dc=intranet

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "%PY3%/univention/admin/uldap.py", line 767, in add
    return self.lo.add(dn, al, serverctrls=serverctrls, response=response)
  File "%PY3%/univention/uldap.py", line 208, in _decorated
    return func(self, *args, **kwargs)
  File "%PY3%/univention/uldap.py", line 692, in add
    rtype, rdata, rmsgid, resp_ctrls = self.lo.add_ext_s(dn, nal, serverctrls=serverctrls)
  File "%PY3%/ldap/ldapobject.py", line 1238, in add_ext_s
    return self._apply_method_s(SimpleLDAPObject.add_ext_s,*args,**kwargs)
  File "%PY3%/ldap/ldapobject.py", line 1197, in _apply_method_s
    return func(self,*args,**kwargs)
  File "%PY3%/ldap/ldapobject.py", line 414, in add_ext_s
    resp_type, resp_data, resp_msgid, resp_ctrls = self.result3(msgid,all=1,timeout=self.timeout)
  File "%PY3%/ldap/ldapobject.py", line 749, in result3
    resp_ctrl_classes=resp_ctrl_classes
  File "%PY3%/ldap/ldapobject.py", line 756, in result4
    ldap_result = self._ldap_call(self._l.result4,msgid,all,timeout,add_ctrls,add_intermediates,add_extop)
  File "%PY3%/ldap/ldapobject.py", line 329, in _ldap_call
    reraise(exc_type, exc_value, exc_traceback)
  File "%PY3%/ldap/compat.py", line 44, in reraise
    raise exc_value
  File "%PY3%/ldap/ldapobject.py", line 313, in _ldap_call
    result = func(*args,**kwargs)
ldap.INSUFFICIENT_ACCESS: {'desc': 'Insufficient access', 'info': 'no write access to parent'}

During handling of the above exception, another exception occurred:

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 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/mixins.py", line 158, in progress
    ret = progress_obj.poll()
  File "%PY3%/univention/management/console/modules/mixins.py", line 102, in poll
    six.reraise(*self.exc_info)
  File "%PY3%/six.py", line 693, in reraise
    raise value
  File "%PY3%/univention/management/console/modules/decorators.py", line 312, in _thread
    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 292, in run
    host_result[app.id] = self._run_local(app, action, _settings, auto_installed, progress)
  File "%PY3%/univention/management/console/modules/appcenter/__init__.py", line 339, in _run_local
    success = action.call(app=[app], username=self.username, password=self.password, **kwargs)
  File "%PY3%/univention/appcenter/actions/__init__.py", line 175, in call
    return obj.call_with_namespace(namespace)
  File "%PY3%/univention/appcenter/actions/__init__.py", line 181, in call_with_namespace
    result = self.main(namespace)
  File "%PY3%/univention/appcenter/actions/install.py", line 87, in main
    return self.do_it(args)
  File "%PY3%/univention/appcenter/actions/install_base.py", line 169, in do_it
    success = self.do_it_once(app, args)
  File "%PY3%/univention/appcenter/actions/install.py", line 203, in do_it_once
    return super(Install, self).do_it_once(app, args)
  File "%PY3%/univention/appcenter/actions/install_base.py", line 214, in do_it_once
    self._do_it(app, args)
  File "%PY3%/univention/appcenter/actions/docker_install.py", line 71, in _do_it
    ret = super(Install, self)._do_it(app, args)
  File "%PY3%/univention/appcenter/actions/install.py", line 110, in _do_it
    self._register_app(app, args)
  File "%PY3%/univention/appcenter/actions/register.py", line 438, in _register_app
    ldap_object = get_app_ldap_object(app, lo, pos, or_create=True)
  File "%PY3%/univention/appcenter/udm.py", line 271, in get_app_ldap_object
    return ApplicationLDAPObject(app, lo, pos, or_create)
  File "%PY3%/univention/appcenter/udm.py", line 177, in __init__
    self._reload(app, create_if_not_exists)
  File "%PY3%/univention/appcenter/udm.py", line 193, in _reload
    self._create_obj(app)
  File "%PY3%/univention/appcenter/udm.py", line 196, in _create_obj
    create_recursive_container(self._container, self._lo, self._pos)
  File "%PY3%/univention/appcenter/udm.py", line 286, in create_recursive_container
    create_object_if_not_exists(module, lo, pos, name=name)
  File "%PY3%/univention/appcenter/udm.py", line 99, in create_object_if_not_exists
    obj.create()
  File "%PY3%/univention/admin/handlers/__init__.py", line 543, in create
    dn = self._create(response=response, serverctrls=serverctrls)
  File "%PY3%/univention/admin/handlers/__init__.py", line 1286, in _create
    six.reraise(exc[0], exc[1], exc[2])
  File "%PY3%/six.py", line 693, in reraise
    raise value
  File "%PY3%/univention/admin/handlers/__init__.py", line 1268, in _create
    self.lo.add(self.dn, al, serverctrls=serverctrls, response=response)
  File "%PY3%/univention/admin/uldap.py", line 773, in add
    raise univention.admin.uexceptions.permissionDenied()
univention.admin.uexceptions.permissionDenied
Comment 2 Florian Best univentionstaff 2022-05-05 22:04:30 CEST
Reported again, 5.0-1 errata296
Role: domaincontroller_backup
Comment 3 Maximilian Janßen univentionstaff 2022-06-08 18:00:22 CEST
Version: 5.0-1 errata324

Remark: Running as a domain admin

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

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 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/mixins.py", line 158, in progress
    ret = progress_obj.poll()
  File "%PY3%/univention/management/console/modules/mixins.py", line 102, in poll
    six.reraise(*self.exc_info)
  File "%PY3%/six.py", line 693, in reraise
    raise value
  File "%PY3%/univention/management/console/modules/decorators.py", line 312, in _thread
    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 294, in run
    host_result[app.id] = self._run_remote(host, app, action, auto_installed, _settings, progress)[app.id]
  File "%PY3%/univention/management/console/modules/appcenter/__init__.py", line 352, in _run_remote
    return self._run_remote_logic(host, [app], action, auto_installed, settings, progress, dry_run=False)
  File "%PY3%/univention/management/console/modules/appcenter/__init__.py", line 363, in _run_remote_logic
    result = client.umc_command('appcenter/progress', {'progress_id': progress_id}).result
  File "%PY3%/univention/lib/umc.py", line 452, in umc_command
    return self.request('POST', 'command/%s' % (path,), data, headers)
  File "%PY3%/univention/lib/umc.py", line 532, in request
    return self.send(request)
  File "%PY3%/univention/lib/umc.py", line 561, in send
    raise HTTPError(request, response, self.hostname)
univention.lib.umc.HTTPError: 591 on ***.****.** (command/appcenter/progress): {'status': 591, 'message': 'Internal server error during "appcenter/progress".',
'location': 'https://****.****.**/univention/command'}
Internal server error during "appcenter/progress".
Request: appcenter/progress

Traceback (most recent call last):
  File "%PY3%/univention/admin/uldap.py", line 870, in delete
    return self.lo.delete(dn)
  File "%PY3%/univention/uldap.py", line 208, in _decorated
    return func(self, *args, **kwargs)
  File "%PY3%/univention/uldap.py", line 888, in delete
    self.lo.delete_s(dn)
  File "%PY3%/ldap/ldapobject.py", line 558, in delete_s
    return self.delete_ext_s(dn,None,None)
  File "%PY3%/ldap/ldapobject.py", line 1247, in delete_ext_s
    return self._apply_method_s(SimpleLDAPObject.delete_ext_s,*args,**kwargs)
  File "%PY3%/ldap/ldapobject.py", line 1197, in _apply_method_s
    return func(self,*args,**kwargs)
  File "%PY3%/ldap/ldapobject.py", line 551, in delete_ext_s
    resp_type, resp_data, resp_msgid, resp_ctrls = self.result3(msgid,all=1,timeout=self.timeout)
  File "%PY3%/ldap/ldapobject.py", line 749, in result3
    resp_ctrl_classes=resp_ctrl_classes
  File "%PY3%/ldap/ldapobject.py", line 756, in result4
    ldap_result = self._ldap_call(self._l.result4,msgid,all,timeout,add_ctrls,add_intermediates,add_extop)
  File "%PY3%/ldap/ldapobject.py", line 329, in _ldap_call
    reraise(exc_type, exc_value, exc_traceback)
  File "%PY3%/ldap/compat.py", line 44, in reraise
    raise exc_value
  File "%PY3%/ldap/ldapobject.py", line 313, in _ldap_call
    result = func(*args,**kwargs)
ldap.INSUFFICIENT_ACCESS: {'desc': 'Insufficient access', 'info': 'no write access to parent'}

During handling of the above exception, another exception occurred:

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 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/mixins.py", line 158, in progress
    ret = progress_obj.poll()
  File "%PY3%/univention/management/console/modules/mixins.py", line 102, in poll
    six.reraise(*self.exc_info)
  File "%PY3%/six.py", line 693, in reraise
    raise value
  File "%PY3%/univention/management/console/modules/decorators.py", line 312, in _thread
    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 292, in run
    host_result[app.id] = self._run_local(app, action, _settings, auto_installed, progress)
  File "%PY3%/univention/management/console/modules/appcenter/__init__.py", line 339, in _run_local
    success = action.call(app=[app], username=self.username, password=self.password, **kwargs)
  File "%PY3%/univention/appcenter/actions/__init__.py", line 186, in call
    return obj.call_with_namespace(namespace)
  File "%PY3%/univention/appcenter/actions/__init__.py", line 193, in call_with_namespace
    result = self.main(namespace)
  File "%PY3%/univention/appcenter/actions/remove.py", line 56, in main
    return self.do_it(args)
  File "%PY3%/univention/appcenter/actions/install_base.py", line 169, in do_it
    success = self.do_it_once(app, args)
  File "%PY3%/univention/appcenter/actions/install_base.py", line 214, in do_it_once
    self._do_it(app, args)
  File "%PY3%/univention/appcenter/actions/docker_remove.py", line 49, in _do_it
    self._unregister_host(app, args)
  File "%PY3%/univention/appcenter/actions/register.py", line 407, in _unregister_host
    remove_object_if_exists('computers/%s' % app.docker_server_role, lo, pos, hostdn)
  File "%PY3%/univention/appcenter/udm.py", line 86, in remove_object_if_exists
    obj.remove()
  File "%PY3%/univention/admin/handlers/__init__.py", line 871, in remove
    return self._remove(remove_childs)
  File "%PY3%/univention/admin/handlers/__init__.py", line 1559, in _remove
    self.lo.delete(self.dn)
  File "%PY3%/univention/admin/uldap.py", line 876, in delete
    raise univention.admin.uexceptions.permissionDenied()
univention.admin.uexceptions.permissionDenied

Role: domaincontroller_master
Comment 4 Maximilian Janßen univentionstaff 2022-08-29 10:44:33 CEST
Version: 5.0-2 errata393
Remark: Como resolver?
traceback: comment 1
Comment 5 Mika Westphal univentionstaff 2023-03-17 10:29:19 CET
Version: 5.0-3 errata609

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

Traceback (most recent call last):
  File "%PY3%/univention/admin/uldap.py", line 864, in delete
    return self.lo.delete(dn)
  File "%PY3%/univention/uldap.py", line 212, in _decorated
    return func(self, *args, **kwargs)
  File "%PY3%/univention/uldap.py", line 899, in delete
    self.lo.delete_s(dn)
  File "%PY3%/ldap/ldapobject.py", line 558, in delete_s
    return self.delete_ext_s(dn,None,None)
  File "%PY3%/ldap/ldapobject.py", line 1247, in delete_ext_s
    return self._apply_method_s(SimpleLDAPObject.delete_ext_s,*args,**kwargs)
  File "%PY3%/ldap/ldapobject.py", line 1197, in _apply_method_s
    return func(self,*args,**kwargs)
  File "%PY3%/ldap/ldapobject.py", line 551, in delete_ext_s
    resp_type, resp_data, resp_msgid, resp_ctrls = self.result3(msgid,all=1,timeout=self.timeout)
  File "%PY3%/ldap/ldapobject.py", line 749, in result3
    resp_ctrl_classes=resp_ctrl_classes
  File "%PY3%/ldap/ldapobject.py", line 756, in result4
    ldap_result = self._ldap_call(self._l.result4,msgid,all,timeout,add_ctrls,add_intermediates,add_extop)
  File "%PY3%/ldap/ldapobject.py", line 329, in _ldap_call
    reraise(exc_type, exc_value, exc_traceback)
  File "%PY3%/ldap/compat.py", line 44, in reraise
    raise exc_value
  File "%PY3%/ldap/ldapobject.py", line 313, in _ldap_call
    result = func(*args,**kwargs)
ldap.INSUFFICIENT_ACCESS: {'desc': 'Insufficient access', 'info': 'no write access to parent'}

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "%PY3%/univention/management/console/base.py", line 351, 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 254, in execute
    function.__func__(self, request, *args, **kwargs)
  File "%PY3%/univention/management/console/modules/decorators.py", line 327, in _response
    result = _multi_response(self, request)
  File "%PY3%/univention/management/console/modules/decorators.py", line 186, in _response
    return function(self, request)
  File "%PY3%/univention/management/console/modules/decorators.py", line 447, in _response
    return list(function(self, iterator, *nones))
  File "%PY3%/univention/management/console/modules/decorators.py", line 295, in _fake_func
    yield function(self, *args)
  File "%PY3%/univention/management/console/modules/mixins.py", line 160, in progress
    ret = progress_obj.poll()
  File "%PY3%/univention/management/console/modules/mixins.py", line 105, in poll
    six.reraise(*self.exc_info)
  File "%PY3%/six.py", line 693, in reraise
    raise value
  File "%PY3%/univention/management/console/modules/decorators.py", line 318, in _thread
    result = _multi_response(self, request)
  File "%PY3%/univention/management/console/modules/decorators.py", line 186, in _response
    return function(self, request)
  File "%PY3%/univention/management/console/modules/decorators.py", line 447, in _response
    return list(function(self, iterator, *nones))
  File "%PY3%/univention/management/console/modules/decorators.py", line 295, in _fake_func
    yield function(self, *args)
  File "%PY3%/univention/management/console/modules/appcenter/__init__.py", line 303, in run
    host_result[app.id] = self._run_local(app, action, _settings, auto_installed, progress)
  File "%PY3%/univention/management/console/modules/appcenter/__init__.py", line 350, in _run_local
    success = action.call(app=[app], username=self.username, password=self.password, **kwargs)
  File "%PY3%/univention/appcenter/actions/__init__.py", line 187, in call
    return obj.call_with_namespace(namespace)
  File "%PY3%/univention/appcenter/actions/__init__.py", line 194, in call_with_namespace
    result = self.main(namespace)
  File "%PY3%/univention/appcenter/actions/remove.py", line 58, in main
    return self.do_it(args)
  File "%PY3%/univention/appcenter/actions/install_base.py", line 171, in do_it
    success = self.do_it_once(app, args)
  File "%PY3%/univention/appcenter/actions/install_base.py", line 216, in do_it_once
    self._do_it(app, args)
  File "%PY3%/univention/appcenter/actions/docker_remove.py", line 52, in _do_it
    self._unregister_host(app, args)
  File "%PY3%/univention/appcenter/actions/register.py", line 413, in _unregister_host
    remove_object_if_exists('computers/%s' % app.docker_server_role, lo, pos, hostdn)
  File "%PY3%/univention/appcenter/udm.py", line 89, in remove_object_if_exists
    obj.remove()
  File "%PY3%/univention/admin/handlers/__init__.py", line 884, in remove
    return self._remove(remove_childs)
  File "%PY3%/univention/admin/handlers/__init__.py", line 1570, in _remove
    self.lo.delete(self.dn)
  File "%PY3%/univention/admin/uldap.py", line 870, in delete
    raise univention.admin.uexceptions.permissionDenied()
univention.admin.uexceptions.permissionDenied: Zugriff verweigert.

Role: domaincontroller_master