The heat-metadata service has been removed as of the following commit
in heat master: 6ae3ff0 Remove heat-metadata service
So remove the heat-metadata service and related config-file items
Change-Id: If36efe5924e9e0a7697f51dd3c9fc140fed8090b
Signed-off-by: Steven Hardy <shardy@redhat.com>
| ... | ... |
@@ -1,7 +1,7 @@ |
| 1 | 1 |
# lib/heat |
| 2 | 2 |
# Install and start Heat service |
| 3 | 3 |
# To enable, add the following to localrc |
| 4 |
-# ENABLED_SERVICES+=,heat,h-api-cfn,h-api-cw,h-eng,h-meta |
|
| 4 |
+# ENABLED_SERVICES+=,heat,h-api-cfn,h-api-cw,h-eng |
|
| 5 | 5 |
|
| 6 | 6 |
# Dependencies: |
| 7 | 7 |
# - functions |
| ... | ... |
@@ -52,8 +52,6 @@ function configure_heat() {
|
| 52 | 52 |
HEAT_API_CFN_PORT=${HEAT_API_CFN_PORT:-8000}
|
| 53 | 53 |
HEAT_ENGINE_HOST=${HEAT_ENGINE_HOST:-$SERVICE_HOST}
|
| 54 | 54 |
HEAT_ENGINE_PORT=${HEAT_ENGINE_PORT:-8001}
|
| 55 |
- HEAT_METADATA_HOST=${HEAT_METADATA_HOST:-$SERVICE_HOST}
|
|
| 56 |
- HEAT_METADATA_PORT=${HEAT_METADATA_PORT:-8002}
|
|
| 57 | 55 |
HEAT_API_CW_HOST=${HEAT_API_CW_HOST:-$SERVICE_HOST}
|
| 58 | 56 |
HEAT_API_CW_PORT=${HEAT_API_CW_PORT:-8003}
|
| 59 | 57 |
HEAT_API_HOST=${HEAT_API_HOST:-$SERVICE_HOST}
|
| ... | ... |
@@ -126,7 +124,7 @@ function configure_heat() {
|
| 126 | 126 |
iniset $HEAT_ENGINE_CONF DEFAULT bind_host $HEAT_ENGINE_HOST |
| 127 | 127 |
iniset $HEAT_ENGINE_CONF DEFAULT bind_port $HEAT_ENGINE_PORT |
| 128 | 128 |
iniset $HEAT_ENGINE_CONF DEFAULT heat_metadata_server_url http://$HEAT_API_CFN_HOST:$HEAT_API_CFN_PORT |
| 129 |
- iniset $HEAT_ENGINE_CONF DEFAULT heat_waitcondition_server_url http://$HEAT_METADATA_HOST:$HEAT_METADATA_PORT |
|
| 129 |
+ iniset $HEAT_ENGINE_CONF DEFAULT heat_waitcondition_server_url http://$HEAT_CFN_HOST:$HEAT_CFN_PORT/v1/waitcondition |
|
| 130 | 130 |
iniset $HEAT_ENGINE_CONF DEFAULT heat_watch_server_url http://$HEAT_API_CW_HOST:$HEAT_API_CW_PORT |
| 131 | 131 |
local dburl |
| 132 | 132 |
database_connection_url dburl heat |
| ... | ... |
@@ -141,26 +139,6 @@ function configure_heat() {
|
| 141 | 141 |
iniset $HEAT_ENGINE_CONF DEFAULT rpc_backend heat.openstack.common.rpc.impl_qpid |
| 142 | 142 |
fi |
| 143 | 143 |
|
| 144 |
- # metadata api |
|
| 145 |
- HEAT_METADATA_CONF=$HEAT_CONF_DIR/heat-metadata.conf |
|
| 146 |
- cp $HEAT_DIR/etc/heat/heat-metadata.conf $HEAT_METADATA_CONF |
|
| 147 |
- iniset $HEAT_METADATA_CONF DEFAULT debug True |
|
| 148 |
- inicomment $HEAT_METADATA_CONF DEFAULT log_file |
|
| 149 |
- iniset $HEAT_METADATA_CONF DEFAULT use_syslog $SYSLOG |
|
| 150 |
- iniset $HEAT_METADATA_CONF DEFAULT bind_host $HEAT_METADATA_HOST |
|
| 151 |
- iniset $HEAT_METADATA_CONF DEFAULT bind_port $HEAT_METADATA_PORT |
|
| 152 |
- |
|
| 153 |
- if is_service_enabled rabbit; then |
|
| 154 |
- iniset $HEAT_METADATA_CONF DEFAULT rpc_backend heat.openstack.common.rpc.impl_kombu |
|
| 155 |
- iniset $HEAT_METADATA_CONF DEFAULT rabbit_password $RABBIT_PASSWORD |
|
| 156 |
- iniset $HEAT_METADATA_CONF DEFAULT rabbit_host $RABBIT_HOST |
|
| 157 |
- elif is_service_enabled qpid; then |
|
| 158 |
- iniset $HEAT_METADATA_CONF DEFAULT rpc_backend heat.openstack.common.rpc.impl_qpid |
|
| 159 |
- fi |
|
| 160 |
- |
|
| 161 |
- HEAT_METADATA_PASTE_INI=$HEAT_CONF_DIR/heat-metadata-paste.ini |
|
| 162 |
- cp $HEAT_DIR/etc/heat/heat-metadata-paste.ini $HEAT_METADATA_PASTE_INI |
|
| 163 |
- |
|
| 164 | 144 |
# cloudwatch api |
| 165 | 145 |
HEAT_API_CW_CONF=$HEAT_CONF_DIR/heat-api-cloudwatch.conf |
| 166 | 146 |
cp $HEAT_DIR/etc/heat/heat-api-cloudwatch.conf $HEAT_API_CW_CONF |
| ... | ... |
@@ -217,13 +195,12 @@ function start_heat() {
|
| 217 | 217 |
screen_it h-api "cd $HEAT_DIR; bin/heat-api --config-dir=$HEAT_CONF_DIR/heat-api.conf" |
| 218 | 218 |
screen_it h-api-cfn "cd $HEAT_DIR; bin/heat-api-cfn --config-dir=$HEAT_CONF_DIR/heat-api-cfn.conf" |
| 219 | 219 |
screen_it h-api-cw "cd $HEAT_DIR; bin/heat-api-cloudwatch --config-dir=$HEAT_CONF_DIR/heat-api-cloudwatch.conf" |
| 220 |
- screen_it h-meta "cd $HEAT_DIR; bin/heat-metadata --config-dir=$HEAT_CONF_DIR/heat-metadata.conf" |
|
| 221 | 220 |
} |
| 222 | 221 |
|
| 223 | 222 |
# stop_heat() - Stop running processes |
| 224 | 223 |
function stop_heat() {
|
| 225 | 224 |
# Kill the cinder screen windows |
| 226 |
- for serv in h-eng h-api-cfn h-api-cw h-meta; do |
|
| 225 |
+ for serv in h-eng h-api-cfn h-api-cw; do |
|
| 227 | 226 |
screen -S $SCREEN_NAME -p $serv -X kill |
| 228 | 227 |
done |
| 229 | 228 |
} |