Horizon plugin for OpenStack Orchestration (Heat)
Go to file
Xinni Ge 5220939cc8 Remove unnecessary $locationProvider settings
$locationProvider is not used in current implementation.
Delete related codes including unittest.

Change-Id: I1d2b3540fe151c6a06dfc037f86e33241035d003
2017-12-01 22:52:50 +09:00
devstack Fix mistake in devstack installation procedure. 2017-11-30 12:58:16 +09:00
doc/source Fix installation procedure for heat_policy.json 2017-11-29 10:20:36 +09:00
etc Taken over policy file for heat from Horizon repository. 2017-11-16 11:08:03 +09:00
heat_dashboard Remove unnecessary $locationProvider settings 2017-12-01 22:52:50 +09:00
releasenotes Partially Revert "Updated release note toward Queens release." 2017-11-29 23:22:52 +09:00
tools add initial files. 2017-10-06 14:46:17 +09:00
.eslintignore Add unittests for template generator angular 2017-10-26 09:55:53 +09:00
.eslintrc.js Add unittests for template generator angular 2017-10-26 09:55:53 +09:00
.gitignore Add unittests for template generator angular 2017-10-26 09:55:53 +09:00
.gitreview Add initial files as devstack settings/documents/requirements. 2017-10-31 15:58:55 +09:00
.zuul.yaml Consume horizon in-tree django variant jobs 2017-11-14 06:38:53 +00:00
babel-django.cfg add initial files. 2017-10-06 14:46:17 +09:00
babel-djangojs.cfg add initial files. 2017-10-06 14:46:17 +09:00
CONTRIBUTING.rst add initial files. 2017-10-06 14:46:17 +09:00
HACKING.rst add initial files. 2017-10-06 14:46:17 +09:00
karma.conf.js Add unittests for template generator angular 2017-10-26 09:55:53 +09:00
LICENSE add initial files. 2017-10-06 14:46:17 +09:00
manage.py add initial files. 2017-10-06 14:46:17 +09:00
MANIFEST.in add initial files. 2017-10-06 14:46:17 +09:00
package.json Clean up npm package dependencies 2017-11-07 01:33:50 +00:00
README.rst Fix installation procedure for heat_policy.json 2017-11-29 10:20:36 +09:00
requirements.txt Updated from global requirements 2017-11-15 11:43:53 +00:00
setup.cfg add initial files. 2017-10-06 14:46:17 +09:00
setup.py Updated from global requirements 2017-11-15 11:43:53 +00:00
test-requirements.txt Updated from global requirements 2017-11-16 11:04:03 +00:00
tox.ini Add in repo zuul job definition 2017-11-01 21:44:17 +09:00

Team and repository tags

image

Heat Dashboard

Horizon plugin for Heat

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/.