lava-server-gunicorn fails to start with python-eventlet > 0.30.3
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gunicorn (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
lava (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
autopkgtest [16:28:47]: test management: [------
+ cd /root
+ lava-server manage check
System check identified no issues (0 silenced).
+ lava-server manage check --deploy
SystemCheckError: System check identified some issues:
ERRORS:
lava services: lava-server-
INFOS:
debian pkg: 'lava-coordinator' not installed from a Debian package
System check identified 2 issues (2 silenced).
autopkgtest [16:28:49]: test management: -------
management FAIL non-zero exit status 1
ssh'ing into a test system with the management test failing didn't reveal much information:
Aug 3 13:52:36 autopkgtest systemd[1]: lava-server-
Aug 3 13:52:36 autopkgtest systemd[1]: lava-server-
Aug 3 13:52:36 autopkgtest systemd[1]: lava-server-
Aug 3 13:52:37 autopkgtest systemd[1]: lava-server-
Aug 3 13:52:37 autopkgtest systemd[1]: lava-server-
Aug 3 13:52:37 autopkgtest systemd[1]: lava-server-
Aug 3 13:52:37 autopkgtest systemd[1]: lava-server-
Aug 3 13:52:37 autopkgtest systemd[1]: lava-server-
Aug 3 13:52:37 autopkgtest systemd[1]: lava-server-
Aug 3 13:52:38 autopkgtest systemd[1]: lava-server-
Aug 3 13:52:38 autopkgtest systemd[1]: lava-server-
Aug 3 13:52:38 autopkgtest systemd[1]: lava-server-
Aug 3 13:52:38 autopkgtest systemd[1]: lava-server-
Aug 3 13:52:38 autopkgtest systemd[1]: lava-server-
Aug 3 13:52:38 autopkgtest systemd[1]: lava-server-
Aug 3 13:52:38 autopkgtest systemd[1]: lava-server-
Aug 3 13:52:38 autopkgtest systemd[1]: lava-server-
Manually running the ExecStart line from the service revealed the following error:
ubuntu@ autopkgtest: /tmp/autopkgtes t.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): python3/ dist-packages/ gunicorn/ util.py" , line 99, in load_class import_ module( '.'.join( components) ) python3. 9/importlib/ __init_ _.py", line 127, in import_module _gcd_import( name[level: ], package, level) _bootstrap> ", line 1030, in _gcd_import _bootstrap> ", line 1007, in _find_and_load _bootstrap> ", line 986, in _find_and_ load_unlocked _bootstrap> ", line 680, in _load_unlocked _bootstrap_ external> ", line 850, in exec_module _bootstrap> ", line 228, in _call_with_ frames_ removed python3/ dist-packages/ gunicorn/ workers/ geventlet. py", line 20, in <module> ALREADY_ HANDLED python3/ dist-packages/ eventlet/ wsgi.py)
File "/usr/lib/
mod = importlib.
File "/usr/lib/
return _bootstrap.
File "<frozen importlib.
File "<frozen importlib.
File "<frozen importlib.
File "<frozen importlib.
File "<frozen importlib.
File "<frozen importlib.
File "/usr/lib/
from eventlet.wsgi import ALREADY_HANDLED as EVENTLET_
ImportError: cannot import name 'ALREADY_HANDLED' from 'eventlet.wsgi' (/usr/lib/