Bug 33927 - Log spam fills up root partition
Log spam fills up root partition
Status: RESOLVED DUPLICATE of bug 35686
Product: UCS
Classification: Unclassified
Component: S4 Connector
UCS 3.2
Other Linux
: P5 normal (vote)
: ---
Assigned To: Connector maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-01-14 17:30 CET by Philipp Hahn
Modified: 2016-10-11 07:08 CEST (History)
1 user (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:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Hahn univentionstaff 2014-01-14 17:30:11 CET
# ls -gGh /var/log/univention/connector-s4.log
-rw-r----- 1 899M 14. Jan 17:26 /var/log/univention/connector-s4.log

# tail -28 /var/log/univention/connector-s4.log

14.01.2014 17:27:24,334 LDAP        (PROCESS): sync from ucs:   Resync rejected file: /var/lib/univention-connector/s4/1384888309.962629
14.01.2014 17:27:24,339 LDAP        (PROCESS): sync from ucs: [         group] [       add] cn=replicators,cn=groups,dc=phahn,dc=dev
14.01.2014 17:27:24,342 LDAP        (ERROR  ): sync_from_ucs: traceback during modify object: cn=replicators,cn=groups,dc=phahn,dc=dev
14.01.2014 17:27:24,342 LDAP        (ERROR  ): sync_from_ucs: traceback due to modlist: [(1, 'groupType', None)]
14.01.2014 17:27:24,492 LDAP        (WARNING): sync failed, saved as rejected
        /var/lib/univention-connector/s4/1384888309.962629
14.01.2014 17:27:24,492 LDAP        (WARNING): Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/univention/s4connector/__init__.py", line 753, in __sync_file_from_ucs
    or (not old_dn and not self.sync_from_ucs(key, object, premapped_ucs_dn, old_dn, old))):
  File "/usr/lib/pymodules/python2.6/univention/s4connector/s4/__init__.py", line 2435, in sync_from_ucs
    self.lo_s4.lo.modify_ext_s(compatible_modstring(object['dn']), compatible_modlist(modlist), serverctrls=self.serverctrls_for_add_and_modify)
  File "/usr/lib/python2.6/dist-packages/ldap/ldapobject.py", line 808, in modify_ext_s
    return self._apply_method_s(SimpleLDAPObject.modify_ext_s,*args,**kwargs)
  File "/usr/lib/python2.6/dist-packages/ldap/ldapobject.py", line 766, in _apply_method_s
    return func(self,*args,**kwargs)
  File "/usr/lib/python2.6/dist-packages/ldap/ldapobject.py", line 295, in modify_ext_s
    return self.result(msgid,all=1,timeout=self.timeout)
  File "/usr/lib/python2.6/dist-packages/ldap/ldapobject.py", line 422, in result
    res_type,res_data,res_msgid = self.result2(msgid,all,timeout)
  File "/usr/lib/python2.6/dist-packages/ldap/ldapobject.py", line 426, in result2
    res_type, res_data, res_msgid, srv_ctrls = self.result3(msgid,all,timeout)
  File "/usr/lib/python2.6/dist-packages/ldap/ldapobject.py", line 432, in result3
    ldap_result = self._ldap_call(self._l.result3,msgid,all,timeout)
  File "/usr/lib/python2.6/dist-packages/ldap/ldapobject.py", line 96, in _ldap_call
    result = func(*args,**kwargs)
UNWILLING_TO_PERFORM: {'info': "00002035: objectclass_attrs: delete protected attribute 'groupType' on entry 'CN=Replicators,CN=Groups,DC=phahn,DC=dev' missing!", 'desc': 'Server is unwilling to perform'}

# tail -100  /var/log/univention/connector-s4.log | grep Resync
14.01.2014 17:29:23,832 LDAP        (PROCESS): sync from ucs:   Resync rejected file: /var/lib/univention-connector/s4/1384888309.962438
14.01.2014 17:29:23,999 LDAP        (PROCESS): sync from ucs:   Resync rejected file: /var/lib/univention-connector/s4/1384888309.962539
14.01.2014 17:29:24,142 LDAP        (PROCESS): sync from ucs:   Resync rejected file: /var/lib/univention-connector/s4/1384888309.962629


The message should be rate-limited!
Comment 1 Stefan Gohmann univentionstaff 2016-10-11 07:08:37 CEST

*** This bug has been marked as a duplicate of bug 35686 ***