Setup Devbox
- There are a few ways to install Murano devbox
+ There are a few ways to install Murano devbox:using Vagrant automation tool
+ orusing a script to install all components automatically
-
- install everything manually
-
The preferred way is to use script for automated installation. It is described in
@@ -184,6 +182,8 @@ RABBITMQ_LOGIN='muranouser'
RABBITMQ_PASSWORD='murano'
RABBITMQ_VHOST='muranovhost'
BRANCH_NAME='release-0.2'
+
+SSL_ENABLED='false'
It's recommended to use separate vHost in RabbitMQ.Then some additional system packages will be installed.
@@ -201,301 +201,5 @@ BRANCH_NAME='release-0.2'
-
- Manual Way
- By this way you can install and configure all Murano services separately
-
- Murano-API
- Make sure the RabbitMQ and Keystone is configured correctly
-
-
- Create a folder to hold git repositories:
-
-
-
-># mkdir -p /opt/git && cd /opt/git
-
-
-
- Clone murano-api repository from branch release-0.2:
-
-
-
-># git clone git://github.com/stackforge/murano-api.git -b release-0.2 && cd /opt/git/murano-api
-
-
-
- Install Murano-API:
- On Ubuntu:
-
-># sh setup.sh install
-
- On CentOS:
-
-># sh setup-centos.sh install
-
- Successful installation ends with message like this:
-
-Successfully installed muranoapi
-Cleaning up...
-LOG:> Making sample configuration files at "/etc/murano-api"
-LOG:> Reloading initctl
-LOG:> Please, make proper configuration,located at "/etc/murano-api", before starting the "murano-api" daemon!
-
- Configuration files of the murano-api service reside at
- /etc/murano-api directory. Basic configuration parameters are
- listed below.
-
-
-
- murano-api.conf:
-
-
-
-[DEFAULT]
-...
-bind_host = 0.0.0.0
-bind_port = 8082
-log_file = /var/log/murano-api.log
-...
-[database]
-...
-connection = sqlite:///murano.sqlite
-...
-[rabbitmq]
-host = <rabbitmq_ip>
-port = 5672
-ssl = False
-login = <rabbitmq login>
-password = <rabbitmq password>
-virtual_host = <rabbitmq vhost>
-...
-
-
-
-
- murano-api-paste.ini:
-
-
-
-...
-[filter:authtoken]
-auth_host = <keystone_ip>
-auth_port = 35357
-auth_protocol = http
-admin_tenant_name = <tenant_name>
-admin_user = admin
-admin_password = <admin_keystone_password>
-signing_dir = /tmp/keystone-signing-muranoapi
-...
-
-
-
-
-
-
- Start Murano-API:
- On Ubuntu:
-
-># service murano-api start
-
- On CentOS:
-
-># initctl start murano-api
-
-
-
-
-
-
- Murano-Conductor
-
-
- Go to a git folder:
-
-
-
-># cd /opt/git
-
-
-
- Clone murano-conductor repository from branch release-0.2:
-
-
-
-># git clone git://github.com/stackforge/murano-conductor.git -b release-0.2 && cd /opt/git/murano-conductor
-
-
-
- Install Murano-Conductor:
- On Ubuntu:
-
-># sh setup.sh install
-
- On CentOS:
-
-># sh setup-centos.sh install
-
-
-
-
-
-
- Configuration files of the murano-conductor service reside at
- /etc/murano-conductor directory. Basic configuration parameters are
- listed below:
-
-
-
- conductor.conf
-
-
-
-[DEFAULT]
-…
-log_file = /var/log/murano-conductor.log
-
-…
-…
-[keystone]
-# URL of OpenStack KeyStone service REST
- API.
-
-# Typically only hostname (or IP) needs to be
- changed
-
-auth_url = http://keystone_ip:5000/v2.0
-...
-...
-[rabbitmq]
-host = <rabbitmq ip>
-port = 5672
-login = <rabbitmq login>
-password = <rabbitmq password>
-virtual_host = <rabbitmq vhost>
-...
-
-
-
- conductor-paste.ini
- It’s empty but must exist.
-
-
-
-
-
-
- Start Murano-Conductor:
- On Ubuntu:
-
-># service murano-conductor start
-
- On CentOS:
-
-># initctl start murano-conductor
-
-
-
-
-
-
- Murano-Dashboard
- Murano-Dashboard required additional repositories are installed and your system is updated and upgraded.
- It can be checked with steps in the appendix of administrator guide.
-
- This installation is not capable with Horizon installed by devstack
-
-
-
- If there is no openstack dashboard package in your environment install it now with all dependencies:
- On Ubuntu:
- Deleting an Ubuntu theme is an optional step but recommended.
-
-># apt-get install memcached libapache2-mod-wsgi openstack-dashboard
-># dpkg --purge openstack-dashboard-ubuntu-theme
-
- On CentOS:
-
-># yum install make gcc memcached python-memcached mod_wsgi openstack-dashboard python-netaddr.noarch
-
-
-
-
-
- Go to a git folder:
-
-
-
-># cd /opt/git
-
-
-
- Clone murano-dashboard repository from branch release-0.2:
-
-
-
-># git clone git://github.com/stackforge/murano-dashboard .git -b release-0.2 && cd /opt/git/murano-dashboard
-
-
-
- Install Murano-Dashboard:
- On Ubuntu:
-
-># sh setup.sh install
-
- On CentOS:
-
-># sh setup-centos.sh install
-
-
-
-
-
- Murano-dashboard does not need to be configured, but we need to
- set up proper OPENSTACK_HOST variable in the OpenStack dashboard
- configuration file, which resides at
- /etc/openstack-dashboard
- directory. It should point to the OpenStack controller node.
-
-
-…
-# optional, but sometimes very useful to set DEBUG to ‘True’
-DEBUG = True
-...
-OPENSTACK_HOST =
- “openstack_controller_address”
-...
-
-
-
-
-
- Start Murano-Dashboard:
- On Ubuntu:
-
-># service apache2 restart
-
- On CentOS:
-
-># service httpd restart
-
-
-
-
-
- Open your browser:
- For Ubuntu:
-
-http://your_devbox_ip/horizon
-
- For CentOS:
-
-http://your_devbox_ip/dashboard
-
-
-
- Login with Keystone credentials and check that "Environments" panel appears at the horizon "Project" tab.
-
-