Add h-api to suggested ENABLED_SERVICES for Heat

Currently lib/heat says:

    To enable, add the following to localrc
    ENABLED_SERVICES+=,heat,h-api-cfn,h-api-cw,h-eng

Once the stack is up, `heat list` fails because the API server
isn't running.

This commit adds h-api to that list.
Also make sure h-api is killed in stop_heat().

Change-Id: I2e818bb343680b3778f9277c23c766f784d28887
This commit is contained in:
Kieran Spear 2013-05-28 11:31:31 +10:00
parent 6436067306
commit 7033829d71

View File

@ -2,7 +2,7 @@
# Install and start **Heat** service
# To enable, add the following to localrc
# ENABLED_SERVICES+=,heat,h-api-cfn,h-api-cw,h-eng
# ENABLED_SERVICES+=,heat,h-api,h-api-cfn,h-api-cw,h-eng
# Dependencies:
# - functions
@ -193,8 +193,8 @@ function start_heat() {
# stop_heat() - Stop running processes
function stop_heat() {
# Kill the cinder screen windows
for serv in h-eng h-api-cfn h-api-cw; do
# Kill the screen windows
for serv in h-eng h-api h-api-cfn h-api-cw; do
screen -S $SCREEN_NAME -p $serv -X kill
done
}