Bug 35640 - UMC server crashes: broken pipe
UMC server crashes: broken pipe
Status: RESOLVED DUPLICATE of bug 35231
Product: UCS
Classification: Unclassified
Component: UMC (Generic)
UCS 3.2
Other Linux
: P5 normal (vote)
: UCS 3.x
Assigned To: UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-08-19 11:40 CEST by Florian Best
Modified: 2014-10-09 16:15 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 Florian Best univentionstaff 2014-08-19 11:40:54 CEST
I experienced a UMC Server crash (while running the UCS@school test script 22_computerroom_two_rooms_settings_interference).

18.08.14 23:49:50.057  MAIN        ( ERROR   ) : Traceback (most recent call last):
  File "/usr/sbin/univention-management-console-server", line 209, in <module>
    umc_daemon.do_action()
  File "/usr/lib/pymodules/python2.6/daemon/runner.py", line 186, in do_action
    func(self)
  File "/usr/sbin/univention-management-console-server", line 142, in _restart
    self._start()
  File "/usr/lib/pymodules/python2.6/daemon/runner.py", line 131, in _start
    self.app.run()
  File "/usr/sbin/univention-management-console-server", line 192, in run
    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 243, in step
    if not timer[ CALLBACK ]():
  File "/usr/lib/pymodules/python2.6/notifier/__init__.py", line 104, in __call__
    return self._function( *tmp, **self._kwargs )
  File "/usr/lib/pymodules/python2.6/univention/management/console/protocol/session.py", line 548, in _inactivitiy_tick
    if self._mod_inactive( module ): # open requests -> waiting
  File "/usr/lib/pymodules/python2.6/univention/management/console/protocol/session.py", line 778, in _mod_inactive
    self.handle_request_exit( req )
  File "/usr/lib/pymodules/python2.6/univention/management/console/protocol/session.py", line 315, in handle_request_exit
    self.__processes[ module_name ].request( msg )
  File "/usr/lib/pymodules/python2.6/univention/management/console/protocol/client.py", line 256, in request
    if self._resend( sock ):
  File "/usr/lib/pymodules/python2.6/univention/management/console/protocol/client.py", line 193, in _resend
    bytessent = sock.send( data )
error: [Errno 32] Daten?bergabe unterbrochen (broken pipe)
Comment 1 Florian Best univentionstaff 2014-08-22 07:58:05 CEST
I am not 100% sure but the following traceback from a EC2 jenkins logfile could be caused by this:

Traceback (most recent call last):
  File "73_CSV_import_module", line 140, in <module>
    main()
  File "73_CSV_import_module", line 134, in main
    [])
  File "/usr/share/ucs-test/90_ucsschool/essential/importcsv.py", line 361, in check_import_users
    m.check_schools()
  File "/usr/share/ucs-test/90_ucsschool/essential/importcsv.py", line 209, in check_schools
    if self.school not in self.schools():
  File "/usr/share/ucs-test/90_ucsschool/essential/importcsv.py", line 203, in schools
    reqResult = self.umc_connection.request('schoolcsvimport/schools', {})
  File "/usr/lib/pymodules/python2.6/univention/lib/umc_connection.py", line 141, in request
    raise HTTPException(error_message)
httplib.HTTPException: 502 on master201 (schoolcsvimport/schools): <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>502 Proxy Error</title>
</head><body>
<h1>Proxy Error</h1>
<p>The proxy server received an invalid
response from an upstream server.<br />
The proxy server could not handle the request <em><a href="/umcp/command/schoolcsvimport/schools">POST&nbsp;/umcp/command/schoolcsvimport/schools</a></em>.<p>
Reason: <strong>Error reading from remote server</strong></p></p>
<hr>
<address>Apache/2.2.16 (Univention) Server at master201 Port 443</address>
</body></html>
Comment 2 Florian Best univentionstaff 2014-10-09 16:15:31 CEST

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