Company Logo

Configure
Murano API Service

. HPrev | Up | Next

Configure

  • Copy and edit configuration files:

    						
    cd /etc/murano
    cp murano-api.conf.sample murano-api.conf
    cp murano-api-paste.ini.sample murano-api-paste.ini
    						
    					
  • Configure murano-api.conf according to your environment:

    • [DEFAULT] section sets up logging.

    • [database]sets database connection.

    • [reports] section defines names of RabbitMQ queues. This naming should correspond to a similar parameter in conductor config file.

    • In [rabbitmq] section you can set up host configuration where rabbitMQ with just created user and vhost is running. If you consider to use Murano in production it's better to use separate vhosts in RabbitMQ. To add new vhost and user with administrator rights perform:

      											
      rabbitmqctl add_user muranouser murano
      rabbitmqctl set_user_tags muranouser administrator
      rabbitmqctl add_vhost muranovhost
      rabbitmqctl set_permissions -p muranovhost muranouser ".*" ".*" ".*"
      															
      										
    • [ssl] sets up SSL parameters - paths to required files in case of ssl connection. For more information how to configure SSL take a look at SSL configuration chapter

    • In [keystone_authtoken] configure parameters of Openstack Keystone service. For more information see Auth-Token Middleware with Username and Password

    • Another murano-api configuration file located at /etc/murano/murano-api-paste.ini and does not require any changes.

  • Register murano-api service in Openstack. To do that perform the following commands:

    Note

    You need to be authorized in Openstack to run this commands

    						
    $ keystone service-create --name muranoapi --type murano --description "Murano-Api Service"
    
    $ keystone endpoint-create
    	--region RegionOne
    	--service-id The ID field returned by the keystone service-create
    	--publicurl http://x.x.x.x:8082 (where x.x.x.x - host ip where murano-api installed)
    	--internalurl the same as publicurl
    	--adminurl the same as publicurl
    						
    					

Prev Up Next
 Home 
  • Contents
  • Search
loading table of contents...
  • General Deployment Steps
    • Prepare A Lab For Murano
      • Lab Requirements
      • Test Your Lab Host Performance
      • Baseline Data
      • Host Optimizations
    • Install OpenStack
  • Install Murano Components
    • Automatic Installation
    • Manual Installation
      • Pre-Requisites
      • Murano API Service
        • Install
        • Configure
        • Run
      • Conductor Service
        • Install
        • Configure
        • Run
      • Murano Repository Service
        • Install
        • Configure
        • Run
      • Murano Dashboard
        • Install
        • Configure
        • Run
      • SSL configuration
        • HTTPS for Murano API
        • SSL for RabbitMQ
        • SSL for Murano Dashboard
  • Building Windows Image
    • Install Required Packages
    • Configure Shared Resource
    • Prerequisites
    • Additional Software
    • Build Windows Image (Automatic Way)
    • Build Windows Image (Manual Way)
    • Upload Image Into Glance
  • Building Linux Image
    • Install Required Packages
    • Build Linux Image
    • Guest VM Linux OS preparation
    • Upload Image Into Glance
  • Troubleshooting
  • Appendix
Search