This commit adds a Devstack MURANO_APPS variable which can be used to install directly from the Git murano-apps repository (repository and branch customizable) some Murano packages. E.g MURANO_APPS="io.murano.apps.apache.Tomcat,io.murano.apps.Guacamole" The murano-apps repository is cloned only if at least one application is defined in MURANO_APPS. Implements: blueprint import-apps-devstack Change-Id: I57f959ddafd62cc726d4f5f80fec27bc86bf05d1
1.7 KiB
Follow Devstack documentation to setup a host for Devstack. Then clone Devstack source code.
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=<complete path to devstack directory(clonned)> cp files/apts/murano ${DEVSTACK_DIR}/files/debs cp files/rpms/murano ${DEVSTACK_DIR}/files/rpms cp lib/murano ${DEVSTACK_DIR}/lib cp lib/murano-dashboard ${DEVSTACK_DIR}/lib cp extras.d/70-murano.sh ${DEVSTACK_DIR}/extras.d
Create a
localrc
file as input to devstack.The Murano, Neutron and Heat services are not enabled by default, so they must be enabled in
localrc
before runningstack.sh
. This examplelocalrc
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 # Enable Murano enable_service murano murano-api murano-engine
(Optional) To import Murano packages when DevStack is up, define an ordered list of packages FQDNs in
localrc
. Make sure to list all package dependencies. These packages will by default be imported from the murano-apps git repository.Example:
MURANO_APPS=io.murano.apps.apache.Tomcat,io.murano.apps.Guacamole
You can also use the variables
MURANO_APPS_REPO
andMURANO_APPS_BRANCH
to configure the git repository which will be used as the source for the imported packages.Deploy your OpenStack Cloud with Murano:
./stack.sh