Problem: Import of school users fails with the following traceback

Problem:

Import of school users fails with the following traceback

2021-02-12 09:24:32 ERROR mass_import.import_users:132 Other (e.g., implementation specific) error: entry update failed
Traceback (most recent call last):
File “/usr/lib/pymodules/python2.7/ucsschool/importer/mass_import/mass_import.py”, line 124, in import_users
user_import.create_and_modify_users(imported_users) # 90% - 100%
File “/usr/lib/pymodules/python2.7/ucsschool/importer/mass_import/user_import.py”, line 165, in create_and_modify_users
user = self.determine_add_modify_action(imported_user)
File “/usr/lib/pymodules/python2.7/ucsschool/importer/mass_import/user_import.py”, line 350, in determine_add_modify_action
user = self.school_move(imported_user, user)
File “/usr/lib/pymodules/python2.7/ucsschool/importer/mass_import/user_import.py”, line 502, in school_move
user = self.do_school_move(imported_user, user)
File “/usr/lib/pymodules/python2.7/ucsschool/importer/mass_import/user_import.py”, line 533, in do_school_move
res = user.change_school(imported_user.school, self.connection)
File “/usr/lib/pymodules/python2.7/ucsschool/importer/models/import_user.py”, line 317, in change_school
res = super(ImportUser, self).change_school(school, lo)
File “/usr/lib/pymodules/python2.7/ucsschool/lib/models/base.py”, line 704, in change_school
return self.move(lo, force=True)
File “/usr/lib/pymodules/python2.7/ucsschool/importer/models/import_user.py”, line 1068, in move
return super(ImportUser, self).move(lo, udm_obj, force)
File “/usr/lib/pymodules/python2.7/ucsschool/lib/models/base.py”, line 655, in move
success = self.move_without_hooks(lo, udm_obj, force)
File “/usr/lib/pymodules/python2.7/ucsschool/importer/models/import_user.py”, line 1075, in move_without_hooks
return super(ImportUser, self).move_without_hooks(lo, udm_obj, force)
File “/usr/lib/pymodules/python2.7/ucsschool/lib/models/base.py”, line 676, in move_without_hooks
self.do_move(udm_obj, lo)
File “/usr/lib/pymodules/python2.7/ucsschool/lib/models/base.py”, line 687, in do_move
udm_obj.move(self.dn, ignore_license=1)
File “/usr/lib/python2.7/dist-packages/univention/admin/handlers/init.py”, line 815, in move
res = n(self._move(newdn, ignore_license=ignore_license))
File “/usr/lib/python2.7/dist-packages/univention/admin/handlers/users/user.py”, line 2146, in _move
dn = super(object, self)._move(newdn, modify_childs, ignore_license)
File “/usr/lib/python2.7/dist-packages/univention/admin/handlers/init.py”, line 1486, in _move
self._move_in_groups(olddn) # can be done always, will do nothing if oldinfo has no attribute ‘groups’
File “/usr/lib/python2.7/dist-packages/univention/admin/handlers/init.py”, line 1475, in _move_in_groups
self.lo.modify(group, [(‘uniqueMember’, members, newmembers)])
File “/usr/lib/python2.7/dist-packages/univention/admin/uldap.py”, line 902, in modify
raise univention.admin.uexceptions.ldapError(_err2str(msg), original_exception=msg)
ldapError: Other (e.g., implementation specific) error: entry update failed

or

2021-02-10 14:45:56 ERROR mass_import.import_users:131 Other (e.g., implementation specific) error: entry update failed
Traceback (most recent call last):
File “/usr/lib/pymodules/python2.7/ucsschool/importer/mass_import/mass_import.py”, line 122, in import_users
user_import.delete_users(users_to_delete) # 0% - 10%
File “/usr/lib/pymodules/python2.7/ucsschool/importer/mass_import/user_import.py”, line 466, in delete_users
success = self.do_delete(user)
File “/usr/lib/pymodules/python2.7/ucsschool/importer/mass_import/sisopi_user_import.py”, line 218, in do_delete
user = self.school_move(imported_user, user)
File “/usr/lib/pymodules/python2.7/ucsschool/importer/mass_import/user_import.py”, line 501, in school_move
user = self.do_school_move(imported_user, user)
File “/usr/lib/pymodules/python2.7/ucsschool/importer/mass_import/user_import.py”, line 532, in do_school_move
res = user.change_school(imported_user.school, self.connection)
File “/usr/lib/pymodules/python2.7/ucsschool/importer/models/import_user.py”, line 314, in change_school
res = super(ImportUser, self).change_school(school, lo)
File “/usr/lib/pymodules/python2.7/ucsschool/lib/models/base.py”, line 684, in change_school
return self.move(lo, force=True)
File “/usr/lib/pymodules/python2.7/ucsschool/importer/models/import_user.py”, line 1076, in move
return super(ImportUser, self).move(lo, udm_obj, force)
File “/usr/lib/pymodules/python2.7/ucsschool/lib/models/base.py”, line 635, in move
success = self.move_without_hooks(lo, udm_obj, force)
File “/usr/lib/pymodules/python2.7/ucsschool/importer/models/import_user.py”, line 1083, in move_without_hooks
return super(ImportUser, self).move_without_hooks(lo, udm_obj, force)
File “/usr/lib/pymodules/python2.7/ucsschool/lib/models/base.py”, line 656, in move_without_hooks
self.do_move(udm_obj, lo)
File “/usr/lib/pymodules/python2.7/ucsschool/lib/models/base.py”, line 669, in do_move
self.do_school_change(udm_obj, lo, old_school)
File “/usr/lib/pymodules/python2.7/ucsschool/lib/models/user.py”, line 670, in do_school_change
super(Student, self).do_school_change(udm_obj, lo, old_school)
File “/usr/lib/pymodules/python2.7/ucsschool/lib/models/user.py”, line 366, in do_school_change
udm_obj.modify(ignore_license=True)
File “/usr/lib/python2.7/dist-packages/univention/admin/handlers/users/user.py”, line 1410, in modify
return super(object, self).modify(*args, **kwargs)
File “/usr/lib/python2.7/dist-packages/univention/admin/handlers/init.py”, line 650, in modify
dn = self._modify(modify_childs, ignore_license=ignore_license, response=response)
File “/usr/lib/python2.7/dist-packages/univention/admin/handlers/init.py”, line 1334, in _modify
self._ldap_post_modify()
File “/usr/lib/python2.7/dist-packages/univention/admin/handlers/users/user.py”, line 1651, in _ldap_post_modify
self.__update_groups()
File “/usr/lib/python2.7/dist-packages/univention/admin/handlers/users/user.py”, line 1524, in __update_groups
grpobj.fast_member_add([self.dn], [new_uid])
File “/usr/lib/python2.7/dist-packages/univention/admin/handlers/groups/group.py”, line 407, in fast_member_add
return self.lo.modify(self.dn, ml)
File “/usr/lib/python2.7/dist-packages/univention/admin/uldap.py”, line 902, in modify
raise univention.admin.uexceptions.ldapError(_err2str(msg), original_exception=msg)
ldapError: Other (e.g., implementation specific) error: entry update failed

Solution:

Have a look, if the ldap Database is full:


And in case, clean up

1 Like

This topic was automatically closed after 24 hours. New replies are no longer allowed.