Univention Bugzilla – Bug 35280
No such object traceback in udm/layout and udm/properties
Last modified: 2015-01-29 11:46:04 CET
3.2-2 errata125 (Borgfeld) Die Ausführung des Kommandos udm/layout ist fehlgeschlagen: Traceback (most recent call last): File "/usr/lib/pymodules/python2.6/univention/management/console/modules/__init__.py", line 204, in execute func( request ) File "/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/__init__.py", line 743, in layout module.load( force_reload=True ) # reload for instant extended attributes File "/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/udm_ldap.py", line 233, in load self.module = _module_cache.get( module, force_reload=force_reload ) File "/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/udm_ldap.py", line 182, in wrapper_func raise LDAP_ConnectionError( str( e ) ) LDAP_ConnectionError: No such object Not reproducible (See Bug #32979)
unmasking it: Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/univention/management/console/modules/__init__.py", line 176, in _decorated return function(self, request, *args, **kwargs) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/udm/__init__.py", line 779, in layout module.load( force_reload=True ) # reload for instant extended attributes File "/usr/lib/pymodules/python2.7/univention/management/console/modules/udm/udm_ldap.py", line 266, in load self.module = _module_cache.get( module, force_reload=force_reload ) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/udm/udm_ldap.py", line 207, in wrapper_func ret = func( *args, **kwargs ) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/udm/udm_ldap.py", line 240, in get udm_modules.init( ldap_connection, ldap_position, self[ name ], template_object, force_reload=force_reload ) File "/usr/lib/pymodules/python2.7/univention/admin/modules.py", line 121, in init for dn, attrs in lo.search(base=position.getDomainConfigBase(), filter='(&(objectClass=univentionAdminProperty)(univentionAdminPropertyModule=%s))' % name(module)): File "/usr/lib/pymodules/python2.7/univention/admin/uldap.py", line 347, in search raise univention.admin.uexceptions.noObject, '%s%s' % (_err2str(msg), filter) noObject: No such object(&(objectClass=univentionAdminProperty)(univentionAdminPropertyModule=users/self))
I reverted the changes as they can be solved more generic. This is no doubt due to Bug #37178. *** This bug has been marked as a duplicate of bug 37178 ***
We just received this feedback, with 4.0-0 errata17 (Walle) (one before the UDM erratum): Traceback: Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/univention/management/console/protocol/modserver.py", line 265, in handle self.__handler.init() File "/usr/lib/pymodules/python2.7/univention/management/console/modules/uvmm/__init__.py", line 67, in init self.read_profiles() File "/usr/lib/pymodules/python2.7/univention/management/console/modules/uvmm/udm.py", line 102, in wrapper_func raise LDAP_ConnectionError(str(ex)) LDAP_ConnectionError: No such object Remark: Hello Univention support, we receive that error now suddenly, We attempted a removal, followed by a reboot and a new installation. The deinstalltion went without error, but left somehow traces of the old installation as well as the again installation went without any error. Kind Regards **** **** Plus: Traceback: File "/usr/lib/pymodules/python2.7/notifier/threads.py", line 82, in _run tmp = self._function() File "/usr/lib/pymodules/python2.7/notifier/__init__.py", line 104, in __call__ return self._function( *tmp, **self._kwargs ) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/udm/__init__.py", line 523, in _thread result = module.search( request.options.get( 'container' ), request.options[ 'objectProperty' ], request.options[ 'objectPropertyValue' ], superordinate, scope = request.options.get( 'scope', 'sub' ), hidden=request.options.get('hidden') ) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/udm/udm_ldap.py", line 184, in wrapper_func ret = func( *args, **kwargs ) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/udm/udm_ldap.py", line 481, in search raise UDM_Error( get_exception_msg( e ) ) UDM_Error: No such object. No such object Remark: when renaming the Admin user and save, this error occours
I can still reproduce this: * open the users module and rename the logged in user (Administrator) * wait some minutes, the ldap server is restarted when the 'Administrator' user is renamed(?!) * open a module which was not opened before → 3 different tracebacks in udm/layout, udm/properties, udm/policies and udm/containers.
Catch all these errors ;) Comment #4. Fix: svn r57224 YAML: 2015-01-08-univention-management-console-module-udm.yaml
When renaming Administrator now a login dialog is shown after some time (if the latest umc-server package is installed, too).
No more tracebacks when the user is renamed while the session is active. But a lot of usability issues: * Login Dialog only shown for "Administrator" * Login Dialog does not allow username change * No tracebacks but error messages (Permission denied) for "Domain Admins" != "Administrator" There should be a frontend check whether one renamed oneself and "logout, reload". Not scope of this bug. YAML OK
<http://errata.univention.de/ucs/4.0/62.html>