Fix installation procedure for heat_policy.json

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
This commit is contained in:
Keiichi Hikita 2017-11-29 10:20:36 +09:00
parent cb74de0857
commit aea63e9826
2 changed files with 4 additions and 14 deletions

View File

@ -67,19 +67,14 @@ 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
Add 'orchestration' key to POLICY_FILES value in local_settings.py::
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_policy.json', <-- Add this if it does not exist
'orchestration': '<Heat-Dashboard path>/etc/heat_policy.json', <-- add this key/value pair
'network': 'neutron_policy.json',
}

View File

@ -47,19 +47,14 @@ 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
Add 'orchestration' key to POLICY_FILES value in local_settings.py::
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_policy.json', <-- Add this if it does not exist
'orchestration': '<Heat-Dashboard path>/etc/heat_policy.json', <-- add this key/value pair
'network': 'neutron_policy.json',
}