Hi Tristan,

Thanks for proposing a fix for the issue.

How can I apply the fix on my current sf installation?
Modifying the update.yml as in the fix and re-run sfconfig?


Thanks and regards

===============================
[email protected]
E-LAB
Dell EMC | Technical Operations IEO
Phone: +86 (28) 82966713

-----Original Message-----
From: Tristan Cacqueray <[email protected]> 
Sent: 2021年6月11日 19:35
To: Wan, Sam; [email protected]
Subject: RE: [Softwarefactory-dev] gear.Server Exception ’ssl.SSLEOFError: EOF 
occurred in violation of protocol (_ssl.c:877)‘


Hi Wan, Sam,

I meant the SSLEOFError is a false negative that happens when using `nc` or 
`telnet` to test the service.

I have proposed to remove the offending task in the deployment playbook
with:
   https://softwarefactory-project.io/r/c/software-factory/sf-config/+/22096 

If you experience any other difficulties, please don't hesistate to raise an 
issue.
Thank you for the report,
-Tristan

On Fri, Jun 11, 2021 at 00:51 Wan, Sam wrote:
> Hi Tristan,
>
> Do you mean the gearman service?
> Yes it's running and listening on port #4730 
> ============================== root@managesf  ~ netstat -ln|grep 
> 4730
> tcp6       0      0 :::4730                 :::*                    LISTEN
> root@managesf  ~ telnet localhost 4730 Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> ^]
> telnet> q
> Connection closed.
> root@managesf  ~ nc localhost 4730
> ^]q
> quit
> Ncat: Connection reset by peer.
> ==============================
>
> Please let me know if you need any information.
>
> Thanks and regards
>
> ===============================
> [email protected]
> E-LAB
> Dell EMC | Technical Operations IEO
> Phone: +86 (28) 82966713
>
> -----Original Message-----
> From: Tristan Cacqueray <[email protected]>
> Sent: 2021年6月11日 4:39
> To: Wan, Sam; [email protected]
> Subject: Re: [Softwarefactory-dev] gear.Server Exception 
> ’ssl.SSLEOFError: EOF occurred in violation of protocol (_ssl.c:877)‘
>
>
> Hi Wan, this error is usually produced by the health check probes which use 
> nc to validate the service is running.
>
> Beside this exception, do you have any other issues?
>
> Regards,
> -Tristan
>
> On Thu, Jun 10, 2021 at 08:13 Wan, Sam wrote:
>> Dear all,
>>
>> I’m evaluating softwarefactory and seeing this error in 
>> gearman-server.log
>> 2021-06-10 02:52:40,467 ERROR gear.Server: Exception in connect loop:
>> Traceback (most recent call last):
>>   File "/usr/lib/python3.6/site-packages/gear/__init__.py", line 2835, in 
>> _doConnectLoop
>>     self.connectLoop()
>>   File "/usr/lib/python3.6/site-packages/gear/__init__.py", line 2865, in 
>> connectLoop
>>     c = context.wrap_socket(c, server_side=True)
>>   File "/usr/lib64/python3.6/ssl.py", line 365, in wrap_socket
>>     _context=self, _session=session)
>>   File "/usr/lib64/python3.6/ssl.py", line 776, in __init__
>>     self.do_handshake()
>>   File "/usr/lib64/python3.6/ssl.py", line 1036, in do_handshake
>>     self._sslobj.do_handshake()
>>   File "/usr/lib64/python3.6/ssl.py", line 648, in do_handshake
>>     self._sslobj.do_handshake()
>> ssl.SSLEOFError: EOF occurred in violation of protocol (_ssl.c:877)
>>
>> I’ve opened a bug but got no update: 
>> https://tree.taiga.io/project/morucci-software-factory/issue/3634
>>
>> I configured openstack gerrit account in /etc/zuul/zuul.conf 
>> [connection openstack-gerrit] driver=gerrit
>> port=29418
>> server=review.opendev.org
>> baseurl=https://review.opendev.org
>> user=dell.emc.sc.series.ci
>> sshkey=/var/lib/zuul/.ssh/id_rsa
>>
>> And I’m able to manually ssh the gerrit server using the sshkey.
>> ~ ssh -i /var/lib/zuul/.ssh/id_rsa -p 29418 
>> [email protected]
>>
>>   ****    Welcome to Gerrit Code Review    ****
>>
>>   Hi DellEMC SC CI, you have successfully connected over SSH.
>>
>>   Unfortunately, interactive shells are disabled.
>>   To clone a hosted Git repository, use:
>>
>>   git clone
>> ssh://[email protected]:29418/REPOSITORY_NAME.
>> g
>> it
>>
>> Connection to review.opendev.org closed.
>>
>> I’m using sf-config 3.6
>> ~ rpm -qa|grep sf-config
>> sf-config-3.6.1-3.el7.noarch
>>
>> Could you please shed light on what’s wrong?
>>
>> Thanks and regards
>>
>> ===============================
>> [email protected]
>> E-LAB
>> Dell EMC | Technical Operations IEO
>> Phone: +86 (28) 82966713
>>
>> _______________________________________________
>> Softwarefactory-dev mailing list
>> [email protected]
>> https://listman.redhat.com/mailman/listinfo/softwarefactory-dev

_______________________________________________
Softwarefactory-dev mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/softwarefactory-dev

Reply via email to