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:
parent
cb74de0857
commit
aea63e9826
@ -67,19 +67,14 @@ Enable heat-dashboard plugin in your Horizon environment::
|
|||||||
cp heat-dashboard/heat_dashboard/enabled/* \
|
cp heat-dashboard/heat_dashboard/enabled/* \
|
||||||
horizon/openstack_dashboard/local/enabled
|
horizon/openstack_dashboard/local/enabled
|
||||||
|
|
||||||
Copy Heat policy file to your Horizon environment::
|
Add 'orchestration' entry to POLICY_FILES value in local_settings.py::
|
||||||
|
|
||||||
cp heat-dashboard/etc/heat_policy.json \
|
|
||||||
horizon/openstack_dashboard/conf
|
|
||||||
|
|
||||||
Add 'orchestration' key to POLICY_FILES value in local_settings.py::
|
|
||||||
|
|
||||||
POLICY_FILES = {
|
POLICY_FILES = {
|
||||||
'identity': 'keystone_policy.json',
|
'identity': 'keystone_policy.json',
|
||||||
'compute': 'nova_policy.json',
|
'compute': 'nova_policy.json',
|
||||||
'volume': 'cinder_policy.json',
|
'volume': 'cinder_policy.json',
|
||||||
'image': 'glance_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',
|
'network': 'neutron_policy.json',
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -47,19 +47,14 @@ Enable heat-dashboard plugin in your Horizon environment::
|
|||||||
cp heat-dashboard/heat_dashboard/enabled/* \
|
cp heat-dashboard/heat_dashboard/enabled/* \
|
||||||
horizon/openstack_dashboard/local/enabled
|
horizon/openstack_dashboard/local/enabled
|
||||||
|
|
||||||
Copy Heat policy file to your Horizon environment::
|
Add 'orchestration' entry to POLICY_FILES value in local_settings.py::
|
||||||
|
|
||||||
cp heat-dashboard/etc/heat_policy.json \
|
|
||||||
horizon/openstack_dashboard/conf
|
|
||||||
|
|
||||||
Add 'orchestration' key to POLICY_FILES value in local_settings.py::
|
|
||||||
|
|
||||||
POLICY_FILES = {
|
POLICY_FILES = {
|
||||||
'identity': 'keystone_policy.json',
|
'identity': 'keystone_policy.json',
|
||||||
'compute': 'nova_policy.json',
|
'compute': 'nova_policy.json',
|
||||||
'volume': 'cinder_policy.json',
|
'volume': 'cinder_policy.json',
|
||||||
'image': 'glance_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',
|
'network': 'neutron_policy.json',
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user