devstack g-api did not start or placement-api did not start
g-api did not start
可能的解决方法:
$sudo apt-get --purge remove rabbitmq-server
$sudo apt-get install rabbitmq-server
$sudo vi /etc/quantum/quantum.confrabbit_durable_queues = True#加入这一行$./unstack.sh
$./stack.sh
placement-api did not start
可能的解决方法:
clean /etc/apache2/site-enabled and site-available directory
then run ./unstack.sh && ./stack.sh
https://blog.csdn.net/ANXIN997483092/article/details/87884420
有时安装devstack时,会报错:stack.sh failing giving error "g-api did not start"
那么,有两种方式解决:
1. 编辑functions-common:
注释 $SYSTEMCTL start $systemd_service
添加 reload_service $systemd_service
上一句是启动服务,但是安装过程中服务是已经启动的,所以改为重启。
2. 清理安装再重新安装
./unstack.sh && ./clean.sh
killall -u stack
reboot
./stack.sh
推荐第一种方式。