Page MenuHomePhorge

wallace module_resource heartbeat fails with trace back
Open, NormalPublic

Description

On Kolab 16.1 system (Centos 7 and wallace-0.8.7-1.1.el7.kolab_16.noarch) Wallace constantly throws this into the log:

2017-01-02 12:08:30,148 pykolab.wallace DEBUG [11614]: module_resources.heartbeat(0)
2017-01-02 12:08:30,148 pykolab.auth DEBUG [11614]: Called for domain None
2017-01-02 12:08:30,148 pykolab.auth DEBUG [11614]: Using section domain.io and domain domain.io
2017-01-02 12:08:30,148 pykolab.auth DEBUG [11614]: Using section domain.io and domain domain.io
2017-01-02 12:08:30,149 pykolab.auth DEBUG [11614]: Connecting to Authentication backend for domain domain.io
2017-01-02 12:08:30,149 pykolab.auth DEBUG [11614]: Section domain.io has no option 'auth_mechanism'
2017-01-02 12:08:30,149 pykolab.auth DEBUG [11614]: Starting LDAP...
2017-01-02 12:08:30,149 pykolab.auth DEBUG [11614]: Connecting to LDAP...
2017-01-02 12:08:30,149 pykolab.auth DEBUG [11614]: Attempting to use LDAP URI ldap://localhost:389
2017-01-02 12:08:30,149 pykolab.auth DEBUG [11614]: Binding with bind_dn: uid=kolab-service,ou=Special Users,dc=domain,dc=io and password: ********************
2017-01-02 12:08:30,151 pykolab.auth DEBUG [11614]: Finding resource with filter '(&(|(|(objectclass=groupofuniquenames)(objectclass=groupofurls))(objectclass=kolabsharedfolder))(|(mail=*)(alias=*)(nsuniqueid=*)))'
2017-01-02 12:08:30,151 pykolab.auth DEBUG [11614]: Searching root dn for domain 'domain.io'
2017-01-02 12:08:30,151 pykolab.auth DEBUG [11614]: bind() called but already bound
2017-01-02 12:08:30,151 pykolab.auth DEBUG [11614]: Finding domain root dn for domain domain.io
2017-01-02 12:08:30,152 pykolab.auth DEBUG [11614]: Searching with filter '(&(associatedDomain=domain.io))'
2017-01-02 12:08:30,218 pykolab.imap DEBUG [11614]: Logging on to Cyrus IMAP server localhost
2017-01-02 12:08:30,219 pykolab.wallace ERROR Module resources.heartbeat() failed with error: Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/wallace/__init__.py", line 89, in modules_heartbeat
    modules.heartbeat(module, lastrun)
  File "/usr/lib/python2.7/site-packages/wallace/modules.py", line 128, in heartbeat
    return modules[name]['heartbeat'](*args, **kw)
  File "/usr/lib/python2.7/site-packages/wallace/module_resources.py", line 442, in heartbeat
    imap.connect()
  File "/usr/lib/python2.7/site-packages/pykolab/imap/__init__.py", line 170, in connect
    self._imap[hostname].login(admin_login, admin_password)
  File "/usr/lib/python2.7/site-packages/pykolab/imap/cyrus.py", line 142, in login
    cyruslib.CYRUS.login(self, *args, **kw)
  File "/usr/lib/python2.7/site-packages/cyruslib.py", line 419, in login
    self.__doexception("LOGIN", error)
  File "/usr/lib/python2.7/site-packages/cyruslib.py", line 359, in __doexception
    self.__doraise( function.upper(), msg )
  File "/usr/lib/python2.7/site-packages/cyruslib.py", line 368, in __doraise
    raise CYRUSError( idError[0], mode, msg )
CYRUSError: (10, 'LOGIN', '[Errno 9] Bad file descriptor')

Nothing like that was observed while debug mode was set lower than 9, like -l debug -d 8 in /etc/sysconfig/wallace.

Details

Ticket Type
Task