Description of problem: Create scalable python-2.7 or python-3.3 app. Then try to tail log for the app or simply login to the app via ssh and check the log file /var/lib/openshift/51232133203dfb83ee00006b/python-2.7/logs/appserver.log There are many errors in the log and the log file keeps growth. Version-Release number of selected component (if applicable): devenv-stage_296 How reproducible: always Steps to Reproduce: 1.Create scalable python-2.7 or python-3.3 app 2.Tail log for the app 3.Or login to the app via SSH and check the ~/python-x.x/logs/appserver.log Actual results: Error message generated continuously. Expected results: Should not have such error. Additional info: Since the error log will not affect the app function, make the bug as low severity. $cat ~/python-2.7/logs/appserver.log <--snip--> Traceback (most recent call last): File "/var/lib/openshift/51232133203dfb83ee00006b/python-2.7/opt/lib/python2.7/wsgiref/handlers.py", line 86, in run self.finish_response() File "/var/lib/openshift/51232133203dfb83ee00006b/python-2.7/opt/lib/python2.7/wsgiref/handlers.py", line 127, in finish_response self.write(data) File "/var/lib/openshift/51232133203dfb83ee00006b/python-2.7/opt/lib/python2.7/wsgiref/handlers.py", line 210, in write self.send_headers() File "/var/lib/openshift/51232133203dfb83ee00006b/python-2.7/opt/lib/python2.7/wsgiref/handlers.py", line 268, in send_headers self.send_preamble() File "/var/lib/openshift/51232133203dfb83ee00006b/python-2.7/opt/lib/python2.7/wsgiref/handlers.py", line 195, in send_preamble self._write('Server: %s\r\n' % self.server_software) File "/var/lib/openshift/51232133203dfb83ee00006b/python-2.7/opt/lib/python2.7/socket.py", line 324, in write self.flush() File "/var/lib/openshift/51232133203dfb83ee00006b/python-2.7/opt/lib/python2.7/socket.py", line 303, in flush self._sock.sendall(view[write_offset:write_offset+buffer_size]) error: [Errno 32] Broken pipe Traceback (most recent call last): File "/var/lib/openshift/51232133203dfb83ee00006b/python-2.7/opt/lib/python2.7/SocketServer.py", line 284, in _handle_request_noblock self.process_request(request, client_address) File "/var/lib/openshift/51232133203dfb83ee00006b/python-2.7/opt/lib/python2.7/SocketServer.py", line 310, in process_request self.finish_request(request, client_address) File "/var/lib/openshift/51232133203dfb83ee00006b/python-2.7/opt/lib/python2.7/SocketServer.py", line 323, in finish_request self.RequestHandlerClass(request, client_address, self) File "/var/lib/openshift/51232133203dfb83ee00006b/python-2.7/opt/lib/python2.7/SocketServer.py", line 640, in __init__ self.finish() File "/var/lib/openshift/51232133203dfb83ee00006b/python-2.7/opt/lib/python2.7/SocketServer.py", line 693, in finish self.wfile.flush() File "/var/lib/openshift/51232133203dfb83ee00006b/python-2.7/opt/lib/python2.7/socket.py", line 303, in flush self._sock.sendall(view[write_offset:write_offset+buffer_size]) error: [Errno 32] Broken pipe <--snip-->
recreated in devenv_2872
Created attachment 767281 [details] appserver.log of a scalable python-2.7 app This is the appserver.log of a scalable python-2.7 app on devenv_3430.
No update for this bug long time. The issue still can be reproduced on v2 cartridge. Raise the severity to medium.
Created attachment 767282 [details] appserver.log of a scalable python-3.3 app This is the appserver.log of a scalable python-3.3 app on devenv_3430.
The issue should be resolved with the new python-2.7 scl cart for python-2.7 while the workaround for python-3.3 (and the current python-2.7) is to do a git push. (This is known limitation that we don't plan to fix).
Will check this bug when the python scl merged into master.
Lower the severity since the issue will be fixed when python-2.7 scl reday in next release.
*** Bug 991271 has been marked as a duplicate of this bug. ***
Checked python2.7 and python3.3 with the workaround in comment#5. The errors are gone. Move the bug to verified for now. If the python2.7 still have this issue, we will report new bug for that.