Bug 2017641

Summary: Intermittent error:SSL3_GET_RECORD:wrong version number
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Mohit Agrawal <moagrawa>
Component: coreAssignee: Mohit Agrawal <moagrawa>
Status: CLOSED ERRATA QA Contact: Pranav Prakash <prprakas>
Severity: urgent Docs Contact:
Priority: urgent    
Version: rhgs-3.5CC: nyancey, rhs-bugs, sajmoham, sheggodu, tshacked
Target Milestone: ---Keywords: ZStream
Target Release: RHGS 3.5.z Batch Update 7   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: glusterfs-6.0-62 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-31 12:37:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2011549    

Description Mohit Agrawal 2021-10-27 05:24:56 UTC
Sometime a gluster process is throwing "Intermittent error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number" while a non-SSL gluster process
is trying to communicate with SSL gluster process.Due to this error sometime
existing valid SSL connection is disconnected because error is not cleanup from SSL stack.

Cause:    A non-SSL client causes OpenSSL to push a wrong version error
          into its thread-local error stack, but this error is never
          cleared, and it lingers in the stack until the thread is used
          by another SSL session, and a certain condition requires the error
          stack to be examined, at which time the old error is discovered and
          the connection is terminated.

Solution: Log and clear the error stack upon terminating the connection.

Comment 2 Yaniv Kaul 2021-11-09 12:07:46 UTC
Can we get a QE ack on this?

Comment 11 errata-xmlrpc 2022-05-31 12:37:31 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (glusterfs bug fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:4840