From 43d5f9bfca7390654ff3a388d8715385843dcee9 Mon Sep 17 00:00:00 2001 From: enthurohini Date: Tue, 8 Sep 2015 01:16:03 +0530 Subject: [PATCH] Add cd, export and enable service command in doc While installing the API service and Engine, sample configuration file is needed to generate inside murano/murano using tox. Hence add cd command. While installing and running murano with devstack, environment variable DEVSTACK_DIR is used. Add export command to set environment varible. Neutron additional service is also required by murano which do not come by default with devstack. It is mention and add command to enable it. Closes-Bug: #1492192 Change-Id: I2313460f8eae870de2722c078f1676245cb605d7 --- contrib/devstack/README.rst | 10 ++++++++-- doc/source/install/manual.rst | 1 + 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/contrib/devstack/README.rst b/contrib/devstack/README.rst index e552af93..2185e0ae 100644 --- a/contrib/devstack/README.rst +++ b/contrib/devstack/README.rst @@ -1,18 +1,24 @@ 1. Follow Devstack documentation to setup a host for Devstack. Then clone Devstack source code. -2. Copy Murano integration scripts to Devstack:: +2. Copy Murano integration scripts to Devstack either by setting environment + variable or providing complete path to devstack directory. Below one is using + environment variable:: + export DEVSTACK_DIR= cp lib/murano ${DEVSTACK_DIR}/lib cp lib/murano-dashboard ${DEVSTACK_DIR}/lib cp extras.d/70-murano.sh ${DEVSTACK_DIR}/extras.d 3. Create a ``localrc`` file as input to devstack. -4. The Murano services are not enabled by default, so they must be +4. The Murano, Neutron and Heat services are not enabled by default, so they must be enabled in ``localrc`` before running ``stack.sh``. This example ``localrc`` file shows all of the settings required for Murano:: + # Enable Neutron + ENABLED_SERVICES+=,q-svc,q-agt,q-dhcp,q-l3,q-meta,neutron + # Enable Heat enable_service heat h-api h-api-cfn h-api-cw h-eng diff --git a/doc/source/install/manual.rst b/doc/source/install/manual.rst index 1d50acc2..c7d143cd 100644 --- a/doc/source/install/manual.rst +++ b/doc/source/install/manual.rst @@ -131,6 +131,7 @@ Install the API service and Engine .. code-block:: console + cd ~/murano/murano tox -e genconfig ..