[Bug 1884580] Re: Nova novncproxy doesnt work - unexpected keyword

Launchpad Bug Tracker 1884580 at bugs.launchpad.net
Thu Jul 2 14:34:44 UTC 2020


This bug was fixed in the package python-eventlet - 0.25.2-1ubuntu1

---------------
python-eventlet (0.25.2-1ubuntu1) groovy; urgency=medium

  * d/p/ssl-compat.patch: Fix compatibility with SSLContext base
    use of wrap_socket for Python >= 3.7 (LP: #1884580).

 -- James Page <james.page at ubuntu.com>  Thu, 02 Jul 2020 07:59:52 +0100

** Changed in: python-eventlet (Ubuntu Groovy)
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to python-eventlet in Ubuntu.
https://bugs.launchpad.net/bugs/1884580

Title:
  Nova novncproxy doesnt work - unexpected keyword

Status in OpenStack nova-cloud-controller charm:
  Invalid
Status in python-eventlet package in Ubuntu:
  Fix Released
Status in python-eventlet source package in Focal:
  In Progress
Status in python-eventlet source package in Groovy:
  Fix Released

Bug description:
  == Impact ==

  SSL secured console access to instances in OpenStack clouds is broken.

  == Test Case ==

  Deploy OpenStack using TLS secured endpoints (juju + charms)
  Boot instance, attempt to access console via dashboard - error in web page and
  error seen in nova-novncproxy log file.

  
  == Regression Potential ==

  Medium - the fix is in eventlet's use of the SSL native library which was broken when wrapping sockets using the SSLContext class.  The fix has been
  accepted upstream and is accompanied with a test case.

  
  == Original Bug Report ==


  Ubuntu Focal (20.04)
  Openstack Ussuri (distro-proposed)
  LXC
  Nova Cloud Controller Charm Rev 68

  When attempting to view the console in Horizon (Openstack Dashboard),
  console frame returns "503 Service Unavailable", when checking the
  nova cloud controller logs for nova-novncproxy, the following error
  appears:

  2020-06-22 17:48:18.262 1463207 INFO nova.console.websocketproxy [-]
  handler exception: wrap_socket() got an unexpected keyword argument
  '_context'

  Google seems to find related issues:
  https://github.com/eventlet/eventlet/issues/526

  as well as:

  https://ask.openstack.org/en/question/127493/nova-novncproxy-fails-to-
  connect-handler-exception-wrap_socket-got-an-unexpected-keyword-
  argument-_context/

  So it seems to be an issue with Python > 3.6, but I cannot downgrade
  python version as it would break nova-novncproxy (already tried)

To manage notifications about this bug go to:
https://bugs.launchpad.net/charm-nova-cloud-controller/+bug/1884580/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list