Project

General

Profile

Bug #38378

(mimic) SSL handshake: 500 internal error to access dashboard

Added by Sebastian Wagner 8 months ago. Updated 1 day ago.

Status:
Need Review
Priority:
Normal
Assignee:
-
Category:
dashboard/backend
Target version:
-
Start date:
02/19/2019
Due date:
% Done:

0%

Source:
Tags:
Backport:
mimic, nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature:

Description

Downstream issue: https://github.com/rook/rook/issues/2492

[15/Jan/2019:10:13:03] ENGINE Error in HTTPServer.tick
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/cherrypy/wsgiserver/wsgiserver2.py", line 1837, in start
    self.tick()
  File "/usr/lib/python2.7/site-packages/cherrypy/wsgiserver/wsgiserver2.py", line 1902, in tick
    s, ssl_env = self.ssl_adapter.wrap(s)
  File "/usr/lib/python2.7/site-packages/cherrypy/wsgiserver/ssl_builtin.py", line 52, in wrap
    keyfile=self.private_key, ssl_version=ssl.PROTOCOL_SSLv23)
  File "/usr/lib64/python2.7/ssl.py", line 934, in wrap_socket
    ciphers=ciphers)
  File "/usr/lib64/python2.7/ssl.py", line 609, in __init__
    self.do_handshake()
  File "/usr/lib64/python2.7/ssl.py", line 831, in do_handshake
    self._sslobj.do_handshake()
SSLError: [SSL: HTTP_REQUEST] http request (_ssl.c:579)

History

#1 Updated by Sebastian Wagner 8 months ago

  • Description updated (diff)

#2 Updated by Lenz Grimmer 8 months ago

  • Affected Versions v13.2.2 added

#3 Updated by Lenz Grimmer 8 months ago

  • Status changed from New to Need More Info

We need more context in order to be able to reproduce this. Setting this as "Need More Info" until more details unfold in the corresponding Rook issue.

#4 Updated by Kefu Chai 7 months ago

/a/kchai-2019-03-20_05:45:48-rados-wip-kefu-testing-2019-03-20-1120-distro-basic-smithi/3751732

#5 Updated by Sebastian Wagner 6 months ago

#6 Updated by Lenz Grimmer 6 months ago

  • Affected Versions v14.2.1 added
  • Affected Versions deleted (v13.2.2)

Nautilus seems to be affected by this one as well, I spotted similar tracebacks in a 14.2.1 log file today:

2019-05-06 13:54:21.523 7f1cee055700  0 mgr[dashboard] [06/May/2019:13:54:21] ENGINE Error in HTTPServer.tick
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/cheroot/server.py", line 1317, in start
    self.tick()
  File "/usr/lib/python3.6/site-packages/cheroot/server.py", line 1385, in tick
    s, ssl_env = self.ssl_adapter.wrap(s)
  File "/usr/lib/python3.6/site-packages/cheroot/ssl/builtin.py", line 75, in wrap
    server_side=True)
  File "/usr/lib64/python3.6/ssl.py", line 407, in wrap_socket
    _context=self, _session=session)
  File "/usr/lib64/python3.6/ssl.py", line 814, in __init__
    self.do_handshake()
  File "/usr/lib64/python3.6/ssl.py", line 1068, in do_handshake
    self._sslobj.do_handshake()
  File "/usr/lib64/python3.6/ssl.py", line 689, in do_handshake
    self._sslobj.do_handshake()
OSError: [Errno 0] Error

#7 Updated by Lenz Grimmer 6 months ago

According to Ricardo Dias, is caused by a race condition between the start of the dashboard module and requests from the frontend.

#8 Updated by Changcheng Liu 5 months ago

Easily to be reproduced with the below method:
1. Git head:
6fe8d8223e32e236c861651dc6

2. cd build

3. OSD=1 MON=1 MDS=0 RGW=0 MGR=1 ../src/vstart.sh -n -X -d --nodaemon

#9 Updated by Neha Ojha 3 months ago

This one in mimic looks similar: /a/yuriw-2019-07-09_15:21:18-rados-wip-yuri-testing-2019-07-08-2007-mimic-distro-basic-smithi/4106118/

#10 Updated by Kefu Chai 1 day ago

  • Status changed from Need More Info to Need Review
  • Backport set to luminous, mimic, nautilus
  • Pull request ID set to 31014

#11 Updated by Nathan Cutler 1 day ago

  • Backport changed from luminous, mimic, nautilus to mimic, nautilus

No dashboard in luminous, and luminous is nearly EOL.

Also available in: Atom PDF