简体   繁体   English

devstack脚本出错。 nova-api没有开始?

[英]Error in devstack script. nova-api did not start?

I have installed openstack on Ubuntu 12.04 single node using devstack. 我使用devstack在Ubuntu 12.04单节点上安装了openstack。 Now, it was running smoothly till yesterday. 现在,它一直运行到昨天。 When i ran ./stack.sh today, it showed an error 当我今天运行./stack.sh时,显示错误

./stack.sh:672 nova-api did not start ./stack.sh:672 nova-api没有开始

I have python-paste and python-pastedeploy installed. 我安装了python-paste和python-pastedeploy。 How to fix this error? 如何解决这个错误?

check out for errors in nova api screen run this command to open screens 检查nova api屏幕中的错误运行此命令打开屏幕

screen -x stack

open n-api screen ususally ( Ctrl + A + 5 ). 通常打开n-api屏幕(Ctrl + A + 5)。 Check for errors and then restart Nova API with this command. 检查错误,然后使用此命令重新启动Nova API。

cd /opt/stack/nova && /usr/local/bin/nova-api & echo $! >/opt/stack/status/stack/n-api.pid; fg || echo "n-api failed to start" | tee "/opt/stack/status/stack/n-api.failure"

General rule of thumb for devstack. devstack的一般经验法则。

Always unstack.sh before re-running stack.sh or pulling from repositories and re-running stack.sh 在重新运行stack.sh或从存储库中取出并重新运行stack.sh之前,始终unstack.sh

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM