Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-17204

python3-3.6.8-56.el8 has broken eventlet

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Undefined Undefined
    • None
    • CentOS Stream 8
    • python3
    • None
    • sst_cs_apps
    • ssg_core_services
    • False
    • Hide

      None

      Show
      None
    • All

      What were you trying to do that didn't work?

      OpenStack uses eventlet to run some services. After the fix for https://issues.redhat.com/browse/RHEL-3041 eventlet stopped working with SSL.

      Note that, while this is broken in CentOS Stream 8, it works fine in CentOS Stream 9 with python3-libs-3.9.18-1.el9.x86_64 which includes the same fix for the CVE.

      Please provide the package NVR for which bug is seen:

      python3-3.6.8-56.el8 and eventlet 0.33.3

      How reproducible:

       

      Always when using eventlet with ssl.

      Steps to reproduce

       

      The issue can be easily reproduced running unit tests from http://github.com/eventlet/eventlet

       

      nosetests-3 --tests=tests.ssl_test.SSLTest

       

      ======================================================================
      ERROR: test_context_wrapped_accept (tests.ssl_test.SSLTest)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "/usr/lib64/python3.6/ssl.py", line 754, in _init_
          self.getpeername()
      OSError: [Errno 107] Transport endpoint is not connected

      During handling of the above exception, another exception occurred:

      Traceback (most recent call last):
        File "/tmp/eventlet/tests/ssl_test.py", line 348, in test_context_wrapped_accept
          server_tls = context.wrap_socket(server_sock, server_side=True)
        File "/tmp/eventlet/eventlet/green/ssl.py", line 446, in wrap_socket
          return GreenSSLSocket(sock, *a, _context=self, **kw)
        File "/tmp/eventlet/eventlet/green/ssl.py", line 118, in _init_
          ca_certs, do_handshake_on_connect and six.PY2, *args, **kw)
        File "/usr/lib64/python3.6/ssl.py", line 759, in _init_
          blocking = (self.gettimeout() != 0)
        File "/tmp/eventlet/eventlet/green/ssl.py", line 146, in gettimeout
          return self._timeout
      AttributeError: 'GreenSSLSocket' object has no attribute '_timeout'

       

      Actual results

      Same trace as the mentioned above.

       

            python-maint python-maint
            amoralej1@redhat.com Alfredo Moralejo
            python-maint python-maint
            bot rhel-cs-apps-subsystem-qe bot rhel-cs-apps-subsystem-qe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: