::
sudo sed -i -e "/heat_metadata_server_url/ s/127\.0\.0\.1/${BRIDGE_IP}/" /etc/heat/heat-engine.conf
sudo sed -i -e "/heat_waitcondition_server_url/ s/127\.0\.0\.1/${BRIDGE_IP}/" /etc/heat/heat-engine.conf
+ sudo sed -i -e "/heat_watch_server_url/ s/127\.0\.0\.1/${BRIDGE_IP}/" /etc/heat/heat-engine.conf
Launch the Heat services
------------------------
# NOTE : change this from 127.0.0.1 !!
heat_waitcondition_server_url = http://127.0.0.1:8002
+# URL for instances to connect for publishing metric
+# data (ie via cfn-push-stats)
+# e.g the IP of the bridge device connecting the
+# instances with the host and the bind_port of
+# the heat-api-cloudwatch API
+# NOTE : change this from 127.0.0.1 !!
+heat_watch_server_url = http://127.0.0.1:8003
+
# Log to this file. Make sure the user running heat-api has
# permissions to write to this file!
log_file = /var/log/heat/engine.log
cfg.StrOpt('heat_waitcondition_server_url',
default="",
help='URL of the Heat waitcondition server'),
+cfg.StrOpt('heat_watch_server_url',
+ default="",
+ help='URL of the Heat cloudwatch server'),
cfg.StrOpt('heat_stack_user_role',
default="heat_stack_user",
help='Keystone role for heat template-defined users'),
attachments.append((json.dumps(self.metadata),
'cfn-init-data', 'x-cfninitdata'))
+ attachments.append((cfg.CONF.heat_watch_server_url,
+ 'cfn-watch-server', 'x-cfninitdata'))
+
attachments.append((cfg.CONF.heat_metadata_server_url,
'cfn-metadata-server', 'x-cfninitdata'))