Install Murano from Source

This section describes how to install and configure the Application Catalog service for Ubuntu 16.04 (LTS) from source code.


Before you install and configure the Application Catalog service, you must create a database, service credentials, and API endpoints.

  1. To create the database, complete these steps:

    Murano can use various database types on the back end. For development purposes, SQLite is enough in most cases. For production installations, you should use MySQL or PostgreSQL databases.


    Although murano could use a PostgreSQL database on the back end, it wasn’t thoroughly tested and should be used with caution.

    • Use the database access client to connect to the database server as the root user:

      $ mysql -u root -p
    • Create the murano database:

      CREATE DATABASE murano;
    • Grant proper access to the murano database:

      GRANT ALL PRIVILEGES ON murano.* TO 'murano'@'localhost' IDENTIFIED BY 'MURANO_DBPASS';

      Replace MURANO_DBPASS with a suitable password.

    • Exit the database access client.

  2. Source the admin credentials to gain access to admin-only CLI commands:

    $ . admin-openrc
  3. To create the service credentials, complete these steps:

    • Create the murano user:

      $ openstack user create --domain default --password-prompt murano
    • Add the admin role to the murano user:

      $ openstack role add --project service --user murano admin
    • Create the murano service entities:

      $ openstack service create --name murano --description "Application Catalog" application-catalog
  4. Create the Application Catalog service API endpoints:

    $ openstack endpoint create --region RegionOne \
      application-catalog public http://<murano-ip>:8082
    $ openstack endpoint create --region RegionOne \
      application-catalog internal http://<murano-ip>:8082
    $ openstack endpoint create --region RegionOne \
      application-catalog admin http://<murano-ip>:8082


    URLs (publicurl, internalurl and adminurl) may be different depending on your environment.

Install the API service and Engine

  1. Create a folder which will hold all Murano components.

    mkdir ~/murano
  2. Clone the murano git repository to the management server.

    cd ~/murano
    git clone
  3. Set up the murano config file

    Murano has a common config file for API and Engine services.

    First, generate a sample configuration file, using tox

    cd ~/murano/murano
    tox -e genconfig

    And make a copy of it for further modifications

    cd ~/murano/murano/etc/murano
    ln -s murano.conf.sample murano.conf
  4. Edit murano.conf with your favorite editor. Below is an example which contains basic settings you likely need to configure.


    The example below uses SQLite database. Edit [database] section if you want to use any other database type.

    debug = true
    verbose = true
    transport_url = rabbit://%RABBITMQ_USER%:%RABBITMQ_PASSWORD%@%RABBITMQ_SERVER_IP%:5672/
    connection = mysql+pymysql://murano:MURANO_DBPASS@controller/murano
    auth_url = http://%OPENSTACK_KEYSTONE_ENDPOINT%
    project_domain_name = Default
    project_name = %OPENSTACK_ADMIN_PROJECT%
    user_domain_name = Default
    username = %OPENSTACK_ADMIN_USER%
    auth_url = http://%OPENSTACK_KEYSTONE_ENDPOINT%
    auth_type = password
    url = http://%YOUR_HOST_IP%:8082
    login = %RABBITMQ_USER%
    password = %RABBITMQ_PASSWORD%
    default_dns = # In case openstack neutron has no default
                          # DNS configured
  5. Create a virtual environment and install Murano prerequisites. We will use tox for that. The virtual environment will be created under .tox directory.

    cd ~/murano/murano
  6. Create database tables for Murano.

    cd ~/murano/murano
    tox -e venv -- murano-db-manage \
      --config-file ./etc/murano/murano.conf upgrade
  7. Open a new console and launch Murano API. A separate terminal is required because the console will be locked by a running process.

    cd ~/murano/murano
    tox -e venv -- murano-api --config-file ./etc/murano/murano.conf
  8. Import Core Murano Library.

    cd ~/murano/murano
    pushd ./meta/io.murano
    zip -r ../../ *
    tox -e venv -- murano --murano-url http://localhost:8082 \
      package-import --is-public
  9. Open a new console and launch Murano Engine. A separate terminal is required because the console will be locked by a running process.

    cd ~/murano/murano
    tox -e venv -- murano-engine --config-file ./etc/murano/murano.conf

Install Murano Dashboard

Murano API & Engine services provide the core of Murano. However, your need a control plane to use it. This section describes how to install and run Murano Dashboard.

  1. Clone the murano dashboard repository.

    $ cd ~/murano
    $ git clone
  2. Clone the horizon repository

    $ git clone
  3. Create a virtual environment and install muranodashboard as an editable module:

    $ cd horizon
    $ tox -e venv -- pip install -e ../murano-dashboard
  4. Prepare local settings.

    $ cp openstack_dashboard/local/ \

    For more information, check out the official horizon documentation.

  5. Enable and configure Murano dashboard in the OpenStack Dashboard:

    • For Newton (and later) OpenStack installations, copy the plugin file, local settings files, and policy files.

      $ cp ../murano-dashboard/muranodashboard/local/enabled/*.py \
      $ cp ../murano-dashboard/muranodashboard/local/local_settings.d/*.py \
      $ cp ../murano-dashboard/muranodashboard/conf/* openstack_dashboard/conf/
    • For the OpenStack installations prior to the Newton release, run:

      $ cp ../murano-dashboard/muranodashboard/local/ \

    Customize local settings of your horizon installation, by editing the openstack_dashboard/local/ file:

    # Provide OpenStack Lab credentials

    Change the default session back end-from using browser cookies to using a database instead to avoid issues with forms during the creation of applications:

      'default': {
      'ENGINE': 'django.db.backends.sqlite3',
      'NAME': 'murano-dashboard.sqlite',
    SESSION_ENGINE = 'django.contrib.sessions.backends.db'
  6. (Optional) If you do not plan to get the murano service from the keystone application catalog, specify where the murano-api service is running:

    MURANO_API_URL = 'http://%MURANO_IP%:8082'
  7. (Optional) If you have set up the database as a session back-end (this is done by default with the murano local_settings file starting with Newton), perform database migration:

    $ tox -e venv -- python migrate --noinput
  8. Run the Django server at or provide different IP and PORT parameters:

    $ tox -e venv -- python runserver <IP:PORT>


The development server restarts automatically following every code change.

Result: The murano dashboard is available at http://IP:PORT.