Manually running the ExecStart line from the service revealed the
following error:

ubuntu@autopkgtest:/tmp/autopkgtest.HFgA6D/build.41y/src$ sudo
/usr/bin/gunicorn3 lava_server.wsgi --log-level DEBUG --log-file
/var/log/lava-server/gunicorn.log -u lavaserver -g lavaserver --worker-
class eventlet --workers 4

Error: class uri 'eventlet' invalid or not found:

[Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/gunicorn/util.py", line 99, in load_class
    mod = importlib.import_module('.'.join(components))
  File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/usr/lib/python3/dist-packages/gunicorn/workers/geventlet.py", line 20, 
in <module>
    from eventlet.wsgi import ALREADY_HANDLED as EVENTLET_ALREADY_HANDLED
ImportError: cannot import name 'ALREADY_HANDLED' from 'eventlet.wsgi' 
(/usr/lib/python3/dist-packages/eventlet/wsgi.py)


** Summary changed:

- lava-server-gunicorn fails to start with python-eventlet > 0.30.2
+ lava-server-gunicorn fails to start with python-eventlet > 0.30.3

** Tags added: update-excuse

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1938836

Title:
  lava-server-gunicorn fails to start with python-eventlet > 0.30.3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lava/+bug/1938836/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to