Univention Bugzilla – Bug 53696
appcenter/resolve: ldap.INVALID_CREDENTIALS: {'desc': 'Invalid credentials'}
Last modified: 2023-07-07 17:11:25 CEST
Version: 5.0-0 errata0 Error: Internal server error during "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 173, in getMachineConnection return access(host=ucr['ldap/master'], port=port, base=ucr['ldap/base'], binddn=ucr['ldap/hostdn'], bindpw=bindpw, start_tls=start_tls, decode_ignorelist=decode_ignorelist, reconnect=reconnect) File "%PY3%/univention/uldap.py", line 288, in __init__ self.__open(ca_certfile) File "%PY3%/univention/uldap.py", line 368, in __open self.bind(self.binddn, self.bindpw) File "%PY3%/univention/uldap.py", line 208, in _decorated return func(self, *args, **kwargs) File "%PY3%/univention/uldap.py", line 302, in bind self.lo.simple_bind_s(self.binddn, self.bindpw) File "%PY3%/ldap/ldapobject.py", line 1215, in simple_bind_s res = self._apply_method_s(SimpleLDAPObject.simple_bind_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 444, in simple_bind_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.INVALID_CREDENTIALS: {'desc': 'Invalid credentials'} Role: domaincontroller_master
Reported twice within 5minutes by the same customer (same traceback hash): Version: 5.0-0 errata150 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 ****.local (command/appcenter/progress): {'status': 591, 'message': 'Internal server error during "appcenter/progress".', 'location': 'https://****.local/univention/command'} 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 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/remove.py", line 56, in main return self.do_it(args) File "%PY3%/univention/appcenter/actions/install_base.py", line 128, in do_it apps = resolve_dependencies(args.app, action) File "%PY3%/univention/appcenter/utils.py", line 509, 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 173, in getMachineConnection return access(host=ucr['ldap/master'], port=port, base=ucr['ldap/base'], binddn=ucr['ldap/hostdn'], bindpw=bindpw, start_tls=start_tls, decode_ignorelist=decode_ignorelist, reconnect=reconnect) File "%PY3%/univention/uldap.py", line 288, in __init__ self.__open(ca_certfile) File "%PY3%/univention/uldap.py", line 368, in __open self.bind(self.binddn, self.bindpw) File "%PY3%/univention/uldap.py", line 208, in _decorated return func(self, *args, **kwargs) File "%PY3%/univention/uldap.py", line 302, in bind self.lo.simple_bind_s(self.binddn, self.bindpw) File "%PY3%/ldap/ldapobject.py", line 1215, in simple_bind_s res = self._apply_method_s(SimpleLDAPObject.simple_bind_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 444, in simple_bind_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.INVALID_CREDENTIALS: {'desc': 'Invalid credentials'} Role: domaincontroller_master
Version: 5.0-2 errata471 Error: Internal server error during "appcenter/resolve". Request: appcenter/resolve Traceback (most recent call last): File "%PY3%/univention/management/console/base.py", line 347, 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 250, in execute function.__func__(self, request, *args, **kwargs) File "%PY3%/univention/management/console/modules/decorators.py", line 184, in _response return function(self, request) File "%PY3%/univention/management/console/modules/decorators.py", line 324, in _response result = _multi_response(self, request) File "%PY3%/univention/management/console/modules/decorators.py", line 184, in _response return function(self, request) File "%PY3%/univention/management/console/modules/decorators.py", line 446, in _response return list(function(self, iterator, *nones)) File "%PY3%/univention/management/console/modules/decorators.py", line 292, in _fake_func yield function(self, *args) File "%PY3%/univention/management/console/modules/appcenter/__init__.py", line 251, in resolve ret['apps'] = resolve_dependencies(apps, action) File "%PY3%/univention/appcenter/utils.py", line 557, in resolve_dependencies lo, pos = get_machine_connection() File "%PY3%/univention/appcenter/udm.py", line 144, in get_machine_connection return getMachineConnection() File "%PY3%/univention/admin/uldap.py", line 180, in getMachineConnection lo = univention.uldap.getMachineConnection(start_tls, decode_ignorelist=decode_ignorelist, ldap_master=ldap_master) File "%PY3%/univention/uldap.py", line 173, in getMachineConnection return access(host=ucr['ldap/master'], port=port, base=ucr['ldap/base'], binddn=ucr['ldap/hostdn'], bindpw=bindpw, start_tls=start_tls, decode_ignorelist=decode_ignorelist, reconnect=reconnect) File "%PY3%/univention/uldap.py", line 288, in __init__ self.__open(ca_certfile) File "%PY3%/univention/uldap.py", line 369, in __open self.bind(self.binddn, self.bindpw) File "%PY3%/univention/uldap.py", line 208, in _decorated return func(self, *args, **kwargs) File "%PY3%/univention/uldap.py", line 302, in bind self.lo.simple_bind_s(self.binddn, self.bindpw) File "%PY3%/ldap/ldapobject.py", line 1215, in simple_bind_s res = self._apply_method_s(SimpleLDAPObject.simple_bind_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 444, in simple_bind_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.INVALID_CREDENTIALS: {'desc': 'Invalid credentials'} Role: domaincontroller_backup
Version: 5.0-3 errata709