From 55a26e363299e126062c917a5a89e82744e30a73 Mon Sep 17 00:00:00 2001 From: Keiichi Hikita Date: Tue, 21 Nov 2017 18:59:04 +0900 Subject: [PATCH] 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 --- README.rst | 12 ++++++++++++ doc/source/install/installation_contents.rst | 12 ++++++++++++ 2 files changed, 24 insertions(+) diff --git a/README.rst b/README.rst index 8322ddfa..bb57cc73 100644 --- a/README.rst +++ b/README.rst @@ -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 diff --git a/doc/source/install/installation_contents.rst b/doc/source/install/installation_contents.rst index b6423094..2054e0c1 100644 --- a/doc/source/install/installation_contents.rst +++ b/doc/source/install/installation_contents.rst @@ -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