Openstack Devstack安装错误sudo systemctl startdevstack@sl-api.service

Openstack Devstack安装错误sudo systemctl startdevstack@sl-api.service,openstack,devstack,Openstack,Devstack,这些是屏幕上显示的devstack日志 ++functions-common:write_uwsgi_user_unit_file:1480 iniset -sudo /etc/systemd/system/devstack@sl-api.service Install WantedBy multi-user.target ++functions-common:write_uwsgi_user_unit_file:1483 sudo systemctl daemon-reload

这些是屏幕上显示的devstack日志

++functions-common:write_uwsgi_user_unit_file:1480  iniset -sudo /etc/systemd/system/devstack@sl-api.service Install WantedBy multi-user.target
    ++functions-common:write_uwsgi_user_unit_file:1483  sudo systemctl daemon-reload
    ++functions-common:_run_under_systemd:1530  sudo systemctl enable devstack@sl-api.service
    Created symlink /etc/systemd/system/multi-user.target.wants/devstack@sl-api.service → /etc/systemd/system/devstack@sl-api.service.enter code here
    ++functions-common:_run_under_systemd:1531  sudo systemctl start devstack@sl-api.service
    Job for devstack@sl-api.service failed because the control process exited with error code.
    See "systemctl status devstack@sl-api.service" and "journalctl -xe" for details.
    +functions-common:_run_under_systemd:1     exit_trap
    +./stack.sh:exit_trap:489                  local r=1
    ++./stack.sh:exit_trap:490                  jobs -p
    +./stack.sh:exit_trap:490                  jobs=
    +./stack.sh:exit_trap:493                  [[ -n '' ]]
    +./stack.sh:exit_trap:499                  '[' -f /tmp/tmp.g8xjCU2yg2 ']'
    +./stack.sh:exit_trap:500                  rm /tmp/tmp.g8xjCU2yg2
    +./stack.sh:exit_trap:504                  kill_spinner
    +./stack.sh:kill_spinner:399               '[' '!' -z '' ']'
    +./stack.sh:exit_trap:506                  [[ 1 -ne 0 ]]
    +./stack.sh:exit_trap:507                  echo 'Error on exit'
    Error on exit
    +./stack.sh:exit_trap:509                  type -p generate-subunit
    +./stack.sh:exit_trap:510                  generate-subunit 1593717952 1120 fail
    +./stack.sh:exit_trap:512                  [[ -z /opt/stack/logs ]]
    +./stack.sh:exit_trap:515                  /usr/bin/python3.6 /opt/stack/devstack/tools/worlddump.py -d /opt/stack/logs
    nova-compute: no process found
    neutron-dhcp-agent: no process found
    neutron-l3-agent: no process found
    neutron-metadata-agent: no process found
    neutron-openvswitch-agent: no process found
    +./stack.sh:exit_trap:524                  exit 1
    stack@opstack:~/devstack$ 

cd/usr/bin ls | grep uwsgi 如果文件在这里,则使用如果您没有它,则可以使用apt get install uwsgi或pip install uwsgi重新安装 cd/usr/local/bin ln-s/usr/bin/uwsgi uwsgi

//unstack.sh /史黛西
我们开始吧……

cd/etc/systemd/systemd显然这是一个自我回答问题的尝试。如果你想让这对其他人有所帮助,问题和答案需要解释(用清晰的英语)你的问题是/曾经是什么,解决方案是什么。这一问答目前难以理解,也不太可能帮助任何人。
cd /etc/systemd/system/
vi systemctl start devstack@sl-api.service
ExecStart = /usr/local/bin/uwsgi --procname-prefix senlin-api --ini /etc/senlin/senlin-api-uwsgi.ini

file not exist
/usr/local/bin/uwsgi