diff options
author | Steven Hardy <shardy@redhat.com> | 2012-10-25 14:30:31 +0100 |
---|---|---|
committer | Steven Hardy <shardy@redhat.com> | 2012-10-26 17:35:47 +0100 |
commit | 997a2165e7d64d295de0b92d8261cde3fa5ac53f (patch) | |
tree | 3c163fb7215200d5130d3d1b12f3789e0be8e8e6 /docs | |
parent | 763cf3142b2d68285a7f1a59e12fd5f1031c3ac0 (diff) | |
download | heat-997a2165e7d64d295de0b92d8261cde3fa5ac53f.tar.gz |
heat metadata : remove metadata_url logic
Remove logic where the heat-metadata server registers a
URL on startup with the engine. The instance metadata is
now served via the CFN api, so we just have a config-file
option specifying the URL of the CFN API. We don't want to
preserve the "register on startup" logic, because we need the
engine to have access to this information even if it is
restarted independent of some other service (avoid reliance on
services coming up in a particular order)
Change-Id: I690170977227ec96451d2a2fd25f7e507370b604
Signed-off-by: Steven Hardy <shardy@redhat.com>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/GettingStarted.rst | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/docs/GettingStarted.rst b/docs/GettingStarted.rst index 3db719c1a..4fb45d0e1 100644 --- a/docs/GettingStarted.rst +++ b/docs/GettingStarted.rst @@ -183,6 +183,17 @@ Check that there is a ``F17-x86_64-cfntools`` JEOS in glance: ) $GLANCE_INDEX | grep -q "F17-x86_64-cfntools" +Update heat engine configuration file +------------------------------------- + +The heat engine configuration file should be updated with the address of the bridge device (demonetbr0), however this device is not created by nova-network until the first instance is launched, so we assume that $BRIDGE_IP is 10.0.0.1 if $SUBNET is 10.0.0.0/24 as in the instructions above: + +.. + BRIDGE_IP=`echo $SUBNET | awk -F'[./]' '{printf "%d.%d.%d.%d", $1, $2, $3, or($4, 1)}'` + +:: + sudo sed -i -e "/heat_metadata_server_url/ s/127\.0\.0\.1/${BRIDGE_IP}/" /etc/heat/heat-engine.conf + Launch the Heat services ------------------------ @@ -315,7 +326,12 @@ Open up port 8002 so that the guests can communicate with the heat-metadata serv :: sudo iptables -I INPUT -p tcp --dport 8002 -j ACCEPT -i demonetbr0 -Note the above rule will not persist across reboot, so you may wish to add it to /etc/sysconfig/iptables +Note Instance/resource metadata is actually now served via the cloudformation API, so it is necessary to also open up port 8000 so that the guests can communicate with the heat-api-cfn server: + +:: + sudo iptables -I INPUT -p tcp --dport 8000 -j ACCEPT -i demonetbr0 + +Note the above rules will not persist across reboot, so you may wish to add them to /etc/sysconfig/iptables Configure Heat Cloudwatch server -------------------------------- |