From dbddef4f7840caed6cf79eb39f721e1f29426481 Mon Sep 17 00:00:00 2001 From: Steven Dake Date: Thu, 19 Mar 2015 20:39:47 -0700 Subject: Improve Heat integration Generate Heat environment variables. Rename yml file to api and engine to follow other service conventions. Add heat to compose/start Modify integration guide to include new variables. Change-Id: I058d829901881e28d6f4785f59fcf778058241e4 --- compose/heat-api-engine.yml | 14 ++++++++++++++ compose/heat.yaml | 14 -------------- docs/integration-guide.md | 4 ++++ tools/genenv | 10 ++++++++++ tools/start | 3 +++ 5 files changed, 31 insertions(+), 14 deletions(-) create mode 100644 compose/heat-api-engine.yml delete mode 100644 compose/heat.yaml diff --git a/compose/heat-api-engine.yml b/compose/heat-api-engine.yml new file mode 100644 index 000000000..962c36348 --- /dev/null +++ b/compose/heat-api-engine.yml @@ -0,0 +1,14 @@ +heatapi: + image: kollaglue/centos-rdo-heat-api + name: heat-api + net: "host" + restart: always + env_file: + - openstack.env +heatengine: + image: kollaglue/centos-rdo-heat-engine + name: heat-engine + net: "host" + restart: always + env_file: + - openstack.env \ No newline at end of file diff --git a/compose/heat.yaml b/compose/heat.yaml deleted file mode 100644 index 962c36348..000000000 --- a/compose/heat.yaml +++ /dev/null @@ -1,14 +0,0 @@ -heatapi: - image: kollaglue/centos-rdo-heat-api - name: heat-api - net: "host" - restart: always - env_file: - - openstack.env -heatengine: - image: kollaglue/centos-rdo-heat-engine - name: heat-engine - net: "host" - restart: always - env_file: - - openstack.env \ No newline at end of file diff --git a/docs/integration-guide.md b/docs/integration-guide.md index d1127896d..72d8c705d 100644 --- a/docs/integration-guide.md +++ b/docs/integration-guide.md @@ -70,6 +70,10 @@ all containers. This allows a simple method of ensuring every type of node NOVA_EC2_SERVICE_HOST= _ The IP Address wher ethe Nova EC2 service is hosted NOVA_KEYSTONE_PASSWORD= - The Nova keystone password NOVA_KEYSTONE_USER= - The Nova keystone username + HEAT_DB_NAME= - The heat DB name + HEAT_DB_PASSWORD= - The heat db password + HEAT_KEYSTONE_PASSWORD= - The keystone password for the heat user + HEAT_API_SERVICE_HOST= - The IP Address where the Heat API service is hosted PUBLIC_INTERFACE= - The nova public interface PUBLIC_IP= - The IP Address of this host RABBITMQ_PASS= - The rabbitmq password used to join AMQP diff --git a/tools/genenv b/tools/genenv index 91ac42cc4..61627f3ff 100755 --- a/tools/genenv +++ b/tools/genenv @@ -62,6 +62,12 @@ NOVA_PUBLIC_INTERFACE=$MY_DEV NOVA_FLAT_INTERFACE=$MY_DEV CONFIG_NETWORK=True +# Heat +HEAT_DB_NAME=heat +HEAT_DB_PASSWORD=kolla +HEAT_KEYSTONE_PASSWORD=heat +HEAT_API_SERVICE_HOST=$HOST_IP + cat > ./openrc <