Univention Bugzilla – Bug 35628
Traceback because of missing entryUUID
Last modified: 2014-08-27 17:01:45 CEST
A customer with a UCS@school environment tried to rejoin a UCS@school slave (UCS 3.2-3). After rejoin the S4 connector showed several tracebacks like this one: 18.08.2014 11:24:25,206 LDAP (PROCESS): sync from ucs: Resync rejected file: /var/lib/univention-connector/s4/1408106245.613333 18.08.2014 11:24:25,210 LDAP (WARNING): sync failed, saved as rejected /var/lib/univention-connector/s4/1408106245.613333 18.08.2014 11:24:25,210 LDAP (WARNING): Traceback (most recent call last): File "/usr/lib/pymodules/python2.6/univention/s4connector/__init__.py", line 904, in resync_rejected_ucs if self.__sync_file_from_ucs(filename, append_error=' rejected'): File "/usr/lib/pymodules/python2.6/univention/s4connector/__init__.py", line 711, in __sync_file_from_ucs entryUUID = new.get('entryUUID')[0] TypeError: 'NoneType' object is unsubscriptable
One of the pickle files contained a DNS service record. For investigation the pickle file is attached to Ticket 2014081821000262.
The ucsschool-s4-branch-site.py listener module does not search for the + attributes.
Fixed with r52837 + * ucsschool-s4-branch-site.py: also search for the + attributes, for + example entryUUID. This is needed by the S4 connector since + UCS 3.2-2 errata 153 (Bug #35628) Changelog: r52838
Does the fix auto-cleanup broken pickle files?
(In reply to Janis Meybohm from comment #4) > Does the fix auto-cleanup broken pickle files? No, it doesn't. You have to use /usr/share/univention-s4-connector/remove_ucs_rejected.py
Ok fixed in version 1.0.3-1.11.201408191644 of ucs-school-s4-branch-site. I guess there are no errata advisories for ucs-school-3.2r2?
(In reply to Stefan Gohmann from comment #5) > (In reply to Janis Meybohm from comment #4) > > Does the fix auto-cleanup broken pickle files? > > No, it doesn't. You have to use > /usr/share/univention-s4-connector/remove_ucs_rejected.py By removing the pickle objects the relevant updates are still missing in S4. How do I fix this? (maybe relevant for changelog)
(In reply to Sönke Schwardt-Krummrich from comment #7) > (In reply to Stefan Gohmann from comment #5) > > (In reply to Janis Meybohm from comment #4) > > > Does the fix auto-cleanup broken pickle files? > > > > No, it doesn't. You have to use > > /usr/share/univention-s4-connector/remove_ucs_rejected.py > > By removing the pickle objects the relevant updates are still missing in S4. > How do I fix this? (maybe relevant for changelog) Re-join the system or use /usr/share/univention-s4-connector/resync_object_from_ucs.py.
This should do the trick: univention-directory-listener-ctrl resync ucsschool-s4-branch-site (untested)
Ok works, I added a comment to the changelog explaining how to remove the rejects and resync the module. Maybe you want to check the changelog?
Changelog verified
UCS@school 3.2 R2 v2 has been released: http://docs.univention.de/release-notes-ucsschool-3.2R2v2-de.html If this error occurs again, please use "Clone This Bug".