diff options
| author | Steven Dake <stdake@cisco.com> | 2015-05-03 13:22:20 -0700 |
|---|---|---|
| committer | Steven Dake <stdake@cisco.com> | 2015-05-06 05:33:55 -0700 |
| commit | ea0f5c7efaaefbc7c7ccc0db29560b780358097d (patch) | |
| tree | 8308cd37445041204adf09fdc45d51821740a08e /tools | |
| parent | 61cc479e90d321f7eac71749ebe3fe96081c1e05 (diff) | |
| download | kolla-ea0f5c7efaaefbc7c7ccc0db29560b780358097d.tar.gz kolla-ea0f5c7efaaefbc7c7ccc0db29560b780358097d.zip | |
Add heat-api-cfn
Add Heat-api-cfn for wait conditions
Magnum needs wait conditions in order to operate properly. heat-api-cfn
is where wait conditions connect.
Change-Id: I56742dd96e4607dc0042d0cef4e18c922f9ed736
Implements: blueprint container-heat-api-cfn
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/genenv | 5 | ||||
| -rwxr-xr-x | tools/init-runonce | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/tools/genenv b/tools/genenv index f4551e6db..3fbb55e63 100755 --- a/tools/genenv +++ b/tools/genenv @@ -108,7 +108,8 @@ 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 +HEAT_API_CFN_SERVICE_HOST=$HOST_IP +HEAT_API_CFN_URL_HOST=$HOST_IP cat > ./openrc <<EOF export OS_AUTH_URL="http://${KEYSTONE_PUBLIC_SERVICE_HOST}:5000/v2.0" @@ -187,7 +188,7 @@ 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 +HEAT_API_CFN_SERVICE_HOST=$HEAT_API_CFN_SERVICE_HOST EOF echo Please customize your FLAT_INTERFACE to a different network then your echo main network. The FLAT_INTERFACE is used for inter-VM communication. diff --git a/tools/init-runonce b/tools/init-runonce index 4002f2cd7..37f9d9c65 100755 --- a/tools/init-runonce +++ b/tools/init-runonce @@ -54,6 +54,8 @@ else # Sec Group Config neutron security-group-rule-create default --direction ingress --ethertype IPv4 --protocol icmp --remote-ip-prefix 0.0.0.0/0 neutron security-group-rule-create default --direction ingress --ethertype IPv4 --protocol tcp --port-range-min 22 --port-range-max 22 --remote-ip-prefix 0.0.0.0/0 + # Open heat-cfn so it can run on a different host + neutron security-group-rule-create default --direction ingress --ethertype IPv4 --protocol tcp --port-range-min 8000 --port-range-max 8000 --remote-ip-prefix 0.0.0.0/0 fi if [ -r ~/.ssh/id_rsa.pub ]; then |
