Heat Dashboard installation guide¶
This page describes the manual installation of heat-dashboard, while distribution packages may provide more automated process.
This page assumes horizon has been installed. Horizon setup is beyond the scope of this page.
Install Heat Dashboard with all relevant packages to your Horizon environment.
pip install heat-dashboard
In most cases, heat-dashboard is installed into your python “site-packages”
We refer to the directory of heat-dashboard as
and it would be
<site-packages>/heat_dashboard if installed via pip.
The path varies depending on Linux distribution you use.
To enable heat-dashboard plugin, you need to put horizon plugin setup files into horizon “enabled” directory.
The plugin setup files are found in
$ cp <heat-dashboard-dir>/enabled/_[1-9]*.py \ /usr/share/openstack-dashboard/openstack_dashboard/local/enabled
local/enabled may be different depending on your
environment or distribution used. The path above is one used in Ubuntu
Configure the policy file for heat-dashboard in OpenStack Dashboard
POLICY_FILES['orchestration'] = '<heat-dashboard-dir>/conf/heat_policy.json'
local_settings.py has no
you need to define the default
local_settings.py. If you use the example
from horizon, what you need is to uncomment
POLICY_FILES (which contains
the default values).
You can also add additional configurations to
For more detail, see Configuration.
You can also find an example file at
Compile the translation message catalogs of heat-dashboard.
$ cd <heat-dashboard-dir> $ python ./manage.py compilemessages
Run the Django update commands.
compress is required when you enable compression.
$ cd <horizon-dir> $ DJANGO_SETTINGS_MODULE=openstack_dashboard.settings python manage.py collectstatic --noinput $ DJANGO_SETTINGS_MODULE=openstack_dashboard.settings python manage.py compress --force
Finally, restart your web server. For example, in case of apache:
$ sudo service apache2 restart