The problem is that wallace fails to accept or decline resource booking requests.
If /etc/sysconfig/wallace is set to use -l debug -d 8 then:
2017-01-02 11:15:35,274 pykolab.imap DEBUG [6639]: Logging on to Cyrus IMAP server localhost 2017-01-02 11:15:35,311 pykolab.imap DEBUG [6639]: Continuing with separator: '/' 2017-01-02 11:15:35,311 pykolab.imap DEBUG [6639]: This system is not part of a murder topology 2017-01-02 11:15:35,344 pykolab.wallace DEBUG [6639]: Fetching message UID '1' from folder 'shared/Resources/Aquarium@domain.io' 2017-01-02 11:15:35,394 pykolab.wallace DEBUG [6639]: Fetching message UID '2' from folder 'shared/Resources/Aquarium@domain.io' 2017-01-02 11:15:35,397 pykolab.wallace DEBUG [6639]: Fetching message UID '3' from folder 'shared/Resources/Aquarium@domain.io' 2017-01-02 11:15:35,440 pykolab.wallace DEBUG [6639]: Fetching message UID '4' from folder 'shared/Resources/Aquarium@domain.io' 2017-01-02 11:15:35,483 pykolab.wallace DEBUG [6639]: Attempt to move forward kolab event recurrence from 2016-12-08 15:00:00+01:00 closer to 2017-01-03 20:30:00+02:00 2017-01-02 11:15:35,502 pykolab.wallace DEBUG [6639]: Attempt to move forward kolab event recurrence from 2016-12-15 15:00:00+01:00 closer to 2017-01-03 20:30:00+02:00 2017-01-02 11:15:35,503 pykolab.wallace DEBUG [6639]: Attempt to move forward kolab event recurrence from 2016-12-22 15:00:00+01:00 closer to 2017-01-03 20:30:00+02:00 2017-01-02 11:15:35,503 pykolab.wallace DEBUG [6639]: Attempt to move forward kolab event recurrence from 2016-12-29 15:00:00+01:00 closer to 2017-01-03 20:30:00+02:00 2017-01-02 11:15:35,504 pykolab.wallace DEBUG [6639]: * Comparing itip at 2017-01-03 20:30:00+02:00/2017-01-03 21:00:00+02:00 with kolab at 2017-01-05 13:30:00+01:00/2017-01-05 15:00:00+01:00: False (1) 2017-01-02 11:15:35,504 pykolab.wallace DEBUG [6639]: Fetching message UID '5' from folder 'shared/Resources/Aquarium@domain.io' 2017-01-02 11:15:35,504 pykolab.wallace ERROR Failed to read resource calendar for 'cn=Aquarium,ou=Resources,dc=domain,dc=io': abort('socket error: [Errno 32] Broken pipe',) 2017-01-02 11:15:35,505 pykolab.auth DEBUG [6639]: bind() called but already bound 2017-01-02 11:15:35,505 pykolab.auth DEBUG [6639]: Searching root dn for domain 'domain.io' 2017-01-02 11:15:35,505 pykolab.auth DEBUG [6639]: Returning from cache: 'dc=domain,dc=io' 2017-01-02 11:15:35,505 pykolab.auth DEBUG [6639]: Searching with filter '(uniquemember=cn=Aquarium,ou=Resources,dc=domain,dc=io)' 2017-01-02 11:15:35,508 pykolab.wallace DEBUG [6639]: Accept invitation for individual resource 'cn=Aquarium,ou=Resources,dc=domain,dc=io' / 'resource-confroom-aquarium@domain.io' 2017-01-02 11:15:35,508 pykolab.auth DEBUG [6639]: bind() called but already bound 2017-01-02 11:15:35,508 pykolab.auth DEBUG [6639]: Searching root dn for domain 'domain.io' 2017-01-02 11:15:35,508 pykolab.auth DEBUG [6639]: Returning from cache: 'dc=domain,dc=io' 2017-01-02 11:15:35,508 pykolab.auth DEBUG [6639]: Searching with filter '(uniquemember=cn=Aquarium,ou=Resources,dc=domain,dc=io)' 2017-01-02 11:15:35,509 pykolab.imap ERROR Could not set ACL for cyrus-admin on folder "shared/Resources/Aquarium@domain.io": CYRUSError(99, 'SETACL', '[Errno 32] Broken pipe') 2017-01-02 11:15:35,512 pykolab.wallace ERROR Failed to save event to resource calendar at 'shared/Resources/Aquarium@domain.io': abort('socket error: [Errno 32] Broken pipe',) 2017-01-02 11:15:35,512 pykolab.wallace DEBUG [6639]: Adding event to 'shared/Resources/Aquarium@domain.io': False
NOTE Fetching message UID messages was added by me. There are about 50 messages to parse for wallace in this resource.
Running wallace with debug level 9 fails to connect to IMAP (which is actually Guam)
2017-01-02 11:46:36,335 pykolab.auth DEBUG [10700]: ldap search: ('cn=Aquarium,ou=Resources,dc=domain,dc=io', 0, filterstr='(objectclass=*)', attrlist=[ 'dn' ] + ['*'] 2017-01-02 11:46:36,336 pykolab.wallace DEBUG [10700]: Resources: ['cn=Aquarium,ou=Resources,dc=domain,dc=io']; {'cn=Aquarium,ou=Resources,dc=domain,dc=io': {'dn': 'cn=Aquarium,ou=Resources,dc=domain,dc=io', 'domain': 'domain.io', 'cn': 'Aquarium', 'objectclass': ['top', 'kolabsharedfolder', 'kolabresource', 'mailrecipient'], 'kolabfoldertype': 'event', 'acl': ['anyone, read-only', 'sebastian.giss@domain.io, read-write'], 'kolabtargetfolder': 'shared/Resources/Aquarium@domain.io', 'mail': 'resource-confroom-aquarium@domain.io'}} 2017-01-02 11:46:36,411 pykolab.imap DEBUG [10700]: Logging on to Cyrus IMAP server localhost ^C
If I set wallace to connect directly to Cyrus in /etc/kolab/kolab.conf, then I get CYRUSError: (10, 'LOGIN', SSLError(1, u'[SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:1750)')) error:
2017-01-02 11:51:51,057 pykolab.wallace DEBUG [10915]: Resources: ['cn=Aquarium,ou=Resources,dc=domain,dc=io']; {'cn=Aquarium,ou=Resources,dc=domain,dc=io': {'dn': 'cn=Aquarium,ou=Resources,dc=domain,dc=io', 'domain': 'domain.io', 'cn': 'Aquarium', 'objectclass': ['top', 'kolabsharedfolder', 'kolabresource', 'mailrecipient'], 'kolabfoldertype': 'event', 'acl': ['anyone, read-only', 'sebastian.giss@domain.io, read-write'], 'kolabtargetfolder': 'shared/Resources/Aquarium@domain.io', 'mail': 'resource-confroom-aquarium@domain.io'}} 2017-01-02 11:51:51,114 pykolab.imap DEBUG [10915]: Logging on to Cyrus IMAP server localhost 2017-01-02 11:51:51,115 pykolab.wallace ERROR Unknown error occurred; CYRUSError(10, 'LOGIN', '1750)') 2017-01-02 11:51:51,116 pykolab.wallace ERROR Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/wallace/modules.py", line 118, in execute return modules[name]['function'](*args, **kw) File "/usr/lib/python2.7/site-packages/wallace/module_resources.py", line 260, in execute 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', '1750)')
I know that this is TLS version allert error when I modify /usr/lib/python2.7/site-packages/cyruslib.py to give full error message.
Running wallace from command line works fine and wallace accepts the invitation and sends the response back with IMAP being Guam or Cyrus.
OTRS: 1100153