Added procedure to enable heat_policy.json.

After Heat relevant contents will split out from Horiozon,
I guess 'orchestration' key of POLICY_FILES settings will be
removed also.

So I've add procedure for adding this key
so that user can correctly enable heat_policy.json

Change-Id: I77ae6c6f63f5ae0f21e9aa6d33edca458bb17502
This commit is contained in:
Keiichi Hikita 2017-11-21 18:59:04 +09:00
parent f2d49aa413
commit 55a26e3632
2 changed files with 24 additions and 0 deletions

View File

@ -72,6 +72,18 @@ Copy Heat policy file to your Horizon environment::
cp heat-dashboard/etc/heat_policy.json \
horizon/openstack_dashboard/conf
Add 'orchestration' key 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_policy.json', <-- Add this if it does not exist
'network': 'neutron_policy.json',
}
Finally you can launch Horizon with Heat Dashboard plugin::
cd horizon

View File

@ -52,6 +52,18 @@ Copy Heat policy file to your Horizon environment::
cp heat-dashboard/etc/heat_policy.json \
horizon/openstack_dashboard/conf
Add 'orchestration' key 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_policy.json', <-- Add this if it does not exist
'network': 'neutron_policy.json',
}
Finally you can launch Horizon with Heat Dashboard plugin::
cd horizon