ba1ccf4d9b
In future, Heat relevant files(like GUI, api client, policy files, ...) will be split out from Horizon repository. But now this repository does not have Heat policy file so I've copied it from Horizon latest repository. This review request also includes following changes. - Added installation procedure document relates to heat_policy.json. - Modified plugin.sh to install heat_policy.json. Change-Id: I8dd386e392eb4467b03efd68c7959371d4b9576d
59 lines
1.7 KiB
ReStructuredText
59 lines
1.7 KiB
ReStructuredText
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.)
|
|
|
|
|
|
Enable heat-dashboard plugin in your Horizon environment::
|
|
|
|
cp heat-dashboard/heat_dashboard/enabled/* \
|
|
horizon/openstack_dashboard/local/enabled
|
|
|
|
Copy Heat policy file to your Horizon environment::
|
|
|
|
cp heat-dashboard/etc/heat_policy.json \
|
|
horizon/openstack_dashboard/conf
|
|
|
|
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/.
|