tripleo-image-elements/elements/heat-engine
Dan Prince 6b0c899dac Heat/Horizon/Tempest: don't hard code venv dir
Updates the heat/horizon/tempest elements so that we use a new
{SERVICE}_VENV_DIR variable (set via an environment.d hook)
to configure the virtualenv directory.

For the Horizon element the HTTP config file was moved into
the install.d directory so that we can perform an inline
in element replacement on the HORIZON_VENV_DIR. This file was already
static so this should have no effect on its use today.

For Horizon's local_settings.py we have the tempate render itself
to /etc/horizon/local_settings.py and then copy it via
os-refresh-configs post-configure to the final $HORIZON_VENV_DIR.

For the Tempest element we soft link testr into the $PATH so
as to avoid a hard coded path to the venv dir in the run-tempest
bin file.

This is cleaner in that we aren't hard coding /opt/stack/venv
everywhere and also supports both isolated and shared
venvs (which some people would like to use).

Change-Id: I6cf282dc8d8fd806d8dd0bdb21d5afb93243bd3f
2014-03-13 20:19:40 -04:00
..
install.d Heat/Horizon/Tempest: don't hard code venv dir 2014-03-13 20:19:40 -04:00
os-refresh-config/post-configure.d Move heat-manage call to heat-engine 2014-01-30 23:47:12 +00:00
README.md Add OpenStack Heat elements. 2013-04-09 10:45:09 -07:00
element-deps Rename os-config-applier to os-apply-config. 2013-06-14 20:39:18 +12:00

README.md

Run the heat-engine service.

Configuration

Example Heat Metadata:

OpenStack::Config:
  heat:
    rpc_backend: heat.openstack.common.rpc.impl_kombu
    sql_connection: mysql://heatuser:heatpass@mysql.server.foo/heatdb
    auth_encryption_key: 0123456789abcdef0123456789abcdef
    watch_server_url: http://address.of.watch.service:8003
    waitcondition_server_url: http://address.of.wc.service:8000/v1/waitcondition
    metadata_server_url: http://addr.of.metadta.service:8000
    rabbit:
      password: abcdefg
      host: address.of.rabbitmq
    bind_port: 8001
    bind_host: 0.0.0.0