Fix gunicorn name on Py3@CentOS7 in devstack
On non-Ubuntu systems, when gunicorn is pip-installed on Py3, command name remains `gunicorn` rather than `gunicorn3`. Change-Id: I5b8cb974d900bd3bdf7ec08adb3e6586494a26a2
This commit is contained in:
parent
00c0ef801c
commit
c428a51ddc
@ -916,11 +916,10 @@ function install_redfish {
|
||||
# TODO(lucasagomes): Use Apache WSGI instead of gunicorn
|
||||
gunicorn=gunicorn
|
||||
|
||||
if python3_enabled; then
|
||||
gunicorn=${gunicorn}3
|
||||
fi
|
||||
|
||||
if is_ubuntu; then
|
||||
if python3_enabled; then
|
||||
gunicorn=${gunicorn}3
|
||||
fi
|
||||
install_package $gunicorn
|
||||
else
|
||||
pip_install_gr "gunicorn"
|
||||
|
Loading…
x
Reference in New Issue
Block a user