Bug 38018

Summary: UMC-Server: module crashes with broken pipe on socket disconnect
Product: UCS Reporter: Florian Best <best>
Component: UMC (Generic)Assignee: Florian Best <best>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P5 CC: gohmann
Version: UCS 4.0   
Target Milestone: UCS 4.x   
Hardware: Other   
OS: Linux   
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): Error handling, External feedback
Max CVSS v3 score:

Description Florian Best univentionstaff 2015-03-12 09:51:02 CET
The module process wants to exit itself and crashes during trying (probably UMC-server and UMC-module process closed socket in the same time). Does not break anything but logs a traceback. On UMC-Server side this was fixed by Bug #35231.

3.2-4-errata291:
11.03.15 06:33:06.504  MODULE      ( INFO    ) : 12820 Executing ['lib/server/restart']
11.03.15 06:33:06.504  PROTOCOL    ( INFO    ) : 12820 Sending UMCP RESPONSE 142606998546175-3812
11.03.15 06:33:16.043  MODULE      ( INFO    ) : 12820 enabling server restart:
Restarting Univention Management Console Server.
done.
Restarting Univention Management Console Web Server.
done.
Restarting web server: apache2 ... waiting .

11.03.15 06:33:16.044  PARSER      ( INFO    ) : 12820 UMCP REQUEST 142606998688241-5 parsed successfully
11.03.15 06:33:16.044  MODULE      ( INFO    ) : 12820 Received request 142606998688241-5
11.03.15 06:33:16.044  PROTOCOL    ( INFO    ) : 12820 Received UMCP EXIT REQUEST 142606998688241-5
11.03.15 06:33:16.044  MODULE      ( INFO    ) : 12820 EXIT: module shutdown in 100ms
11.03.15 06:33:16.044  PROTOCOL    ( INFO    ) : 12820 Sending UMCP RESPONSE 142606998688241-5
11.03.15 06:33:16.046  MODULE      ( ERROR   ) : 12820 Traceback (most recent call last):
  File "/usr/sbin/univention-management-console-module", line 118, in <module>
    notifier.loop()
  File "/usr/lib/pymodules/python2.6/notifier/nf_generic.py", line 284, in loop
    step()
  File "/usr/lib/pymodules/python2.6/notifier/nf_generic.py", line 271, in step
    not __sockets[ cond ][ fd ]( sock_obj ):
  File "/usr/lib/pymodules/python2.6/univention/management/console/protocol/modserver.py", line 172, in _recv
    self.handle( msg )
  File "/usr/lib/pymodules/python2.6/univention/management/console/protocol/modserver.py", line 205, in handle
    self.response( resp )
  File "/usr/lib/pymodules/python2.6/univention/management/console/protocol/modserver.py", line 332, in response
    if self._do_send( self.__comm ):
  File "/usr/lib/pymodules/python2.6/univention/management/console/protocol/modserver.py", line 312, in _do_send
    ret = self.__comm.send( self.__queue )
error: [Errno 32] Daten?bergabe unterbrochen (broken pipe)
Comment 1 Florian Best univentionstaff 2015-05-12 17:02:26 CEST
Fixed during Bug #37366

*** This bug has been marked as a duplicate of bug 37366 ***
Comment 2 Florian Best univentionstaff 2015-12-01 13:05:16 CET
Reported again, 3.2-6
Comment 3 Florian Best univentionstaff 2016-03-21 14:35:56 CET
<http://errata.univention.de/ucs/4.0/199.html>