Fixes bug where heat container was not getting heat meta data
Heat container is having trouble accessing heat meta data. Heat needs to have HEAT_CFN_API_SERVICE_HOST set in order to properly receive meta data. Closes-bug 1435288 Change-Id: Ia28ece3ae91ec7acc62cc86039612841ac487f36
This commit is contained in:
parent
07f5999276
commit
1aa0f7ce49
@ -61,8 +61,8 @@ crudini --set /etc/heat/heat.conf ec2authtoken auth_uri \
|
||||
"${KEYSTONE_AUTH_PROTOCOL}://${KEYSTONE_PUBLIC_SERVICE_HOST}:5000/v2.0"
|
||||
|
||||
# cfn
|
||||
#crudini --set /etc/heat/heat.conf DEFAULT heat_metadata_server_url \
|
||||
# http://${HEAT_CFN_API_SERVICE_HOST}:8000
|
||||
#crudini --set /etc/heat/heat.conf DEFAULT heat_waitcondition_server_url \
|
||||
# http://${HEAT_CFN_API_SERVICE_HOST}:8000/v1/waitcondition
|
||||
crudini --set /etc/heat/heat.conf DEFAULT heat_metadata_server_url \
|
||||
http://${HEAT_CFN_API_SERVICE_HOST}:8000
|
||||
crudini --set /etc/heat/heat.conf DEFAULT heat_waitcondition_server_url \
|
||||
http://${HEAT_CFN_API_SERVICE_HOST}:8000/v1/waitcondition
|
||||
|
||||
|
@ -74,6 +74,7 @@ all containers. This allows a simple method of ensuring every type of node
|
||||
HEAT_DB_PASSWORD=<kolla> - The heat db password
|
||||
HEAT_KEYSTONE_PASSWORD=<heat> - The keystone password for the heat user
|
||||
HEAT_API_SERVICE_HOST=<IP> - The IP Address where the Heat API service is hosted
|
||||
HEAT_API_CFN_SERVICE_HOST=<IP> - The IP Address where Heat will contact the heat-engine in search for meta data
|
||||
PUBLIC_INTERFACE=<eth1> - The nova public interface
|
||||
PUBLIC_IP=<Host IP Address> - The IP Address of this host
|
||||
RABBITMQ_PASS=<rabbit> - The rabbitmq password used to join AMQP
|
||||
@ -83,6 +84,8 @@ all containers. This allows a simple method of ensuring every type of node
|
||||
RABBIT_USERID=<rabbit> - The RabbitMQ user id on the host
|
||||
|
||||
|
||||
|
||||
|
||||
## Launching a container set
|
||||
|
||||
Pick out a simple container set and launch it as follows:
|
||||
|
@ -70,6 +70,7 @@ HEAT_DB_NAME=heat
|
||||
HEAT_DB_PASSWORD=kolla
|
||||
HEAT_KEYSTONE_PASSWORD=heat
|
||||
HEAT_API_SERVICE_HOST=$HOST_IP
|
||||
HEAT_CFN_API_SERVICE_HOST=$HOST_IP
|
||||
|
||||
cat > ./openrc <<EOF
|
||||
export OS_AUTH_URL="http://${KEYSTONE_PUBLIC_SERVICE_HOST}:5000/v2.0"
|
||||
@ -121,4 +122,5 @@ RABBITMQ_SERVICE_HOST=$RABBITMQ_SERVICE_HOST
|
||||
RABBITMQ_USER=$RABBIT_USER
|
||||
RABBIT_PASSWORD=$RABBIT_PASSWORD
|
||||
RABBIT_USERID=$RABBIT_USER
|
||||
HEAT_CFN_API_SERVICE_HOST=$HEAT_CFN_API_SERVICE_HOST
|
||||
EOF
|
||||
|
Loading…
Reference in New Issue
Block a user