aea63e9826
according to Horizon team's advice. I've changed installation procedure as follows. (before changing) 1. copy heat_policy.json from Heat-Dashboard directory to Horizon directory (same as enable files) 2. add orchestration key to POLICY_FILES settings (after changing) 1. just point Heat-Dashboard policy file path from POLICY_FILES settings Change-Id: Idaf2cbfcb716a9aa4c0f43283526302f062ea0a7
89 lines
2.6 KiB
ReStructuredText
89 lines
2.6 KiB
ReStructuredText
========================
|
|
Team and repository tags
|
|
========================
|
|
|
|
.. image:: https://governance.openstack.org/tc/badges/heat-dashboard.svg
|
|
:target: http://governance.openstack.org/reference/tags/index.html
|
|
|
|
.. Change things from this point on
|
|
|
|
==============
|
|
Heat Dashboard
|
|
==============
|
|
|
|
Horizon plugin for Heat
|
|
|
|
* License: Apache license
|
|
* Source: http://git.openstack.org/cgit/openstack/heat-dashboard
|
|
* Bugs: http://bugs.launchpad.net/heat-dashboard
|
|
|
|
|
|
Use Heat Dashboard in DevStack
|
|
------------------------------
|
|
|
|
Set up your ``local.conf`` to enable heat-dashboard::
|
|
|
|
[[local|localrc]]
|
|
enable_plugin heat-dashboard https://git.openstack.org/openstack/heat-dashboard
|
|
|
|
|
|
.. note::
|
|
|
|
You also need to install Heat itself into DevStack to use Heat Dashboard.
|
|
|
|
Manual Installation
|
|
-------------------
|
|
|
|
Clone both Horizon and Heat Dashboard repositories::
|
|
|
|
git clone https://github.com/openstack/horizon
|
|
git clone https://github.com/openstack/heat-dashboard
|
|
|
|
Create a virtual environment and install Horizon relevant packages::
|
|
|
|
pip install -r horizon/requirements.txt
|
|
|
|
Create your ``local_settings.py`` file::
|
|
|
|
cp horizon/openstack_dashboard/local/local_settings.py.example \
|
|
horizon/openstack_dashboard/local/local_settings.py
|
|
|
|
Open newly created ``local_settings.py`` with your text editor,
|
|
and set some parameter to connect to your OpenStack environment:
|
|
|
|
- Set ``OPENSTACK_HOST`` as hostname or IP address of your OpenStack server.
|
|
|
|
- Verify that the ``OPENSTACK_KEYSTONE_URL`` and
|
|
``OPENSTACK_KEYSTONE_DEFAULT_ROLE`` settings are correct for your
|
|
environment. (They should be correct unless you modified your
|
|
OpenStack server to change them.)
|
|
|
|
Install Heat Dashboard with all relevant packages to your Horizon environment::
|
|
|
|
pip install -e ./heat-dashboard/
|
|
|
|
Enable heat-dashboard plugin in your Horizon environment::
|
|
|
|
cp heat-dashboard/heat_dashboard/enabled/* \
|
|
horizon/openstack_dashboard/local/enabled
|
|
|
|
Add 'orchestration' entry to POLICY_FILES value in local_settings.py::
|
|
|
|
POLICY_FILES = {
|
|
'identity': 'keystone_policy.json',
|
|
'compute': 'nova_policy.json',
|
|
'volume': 'cinder_policy.json',
|
|
'image': 'glance_policy.json',
|
|
'orchestration': '<Heat-Dashboard path>/etc/heat_policy.json', <-- add this key/value pair
|
|
'network': 'neutron_policy.json',
|
|
}
|
|
|
|
|
|
Finally you can launch Horizon with Heat Dashboard plugin::
|
|
|
|
cd horizon
|
|
python manage.py runserver 0.0.0.0:8080
|
|
|
|
Now you can connect to your Horizon including Heat Dashboard plugin
|
|
from your browser with URL http://localhost:8080/.
|