977df74121
* Scripts for devstack integration. I9de89634648438c5a4a17ea10f43c14a9398cf00 * An update for devstack integration scripts I126196b64343f133e0f5e311dfa74101a1374c89 Change-Id: I7c287857023559406988e65376856a89b216e45a |
||
---|---|---|
.. | ||
extras.d | ||
files/apts | ||
lib | ||
README.md | ||
devbox.local.conf | ||
single-node.local.conf |
README.md
Devstack integration
WARNING: Only single node devstack deployment is supported at the moment.
Overview
This folder contains scripts required to add Murano into Devstack's installation process.
Typography notes
-
- root's command prompt
-
$ - user's command prompt, when it doesn't matter what user account is used
-
stack$ - stack user's command prompt
System preparation
- Create user stack
># adduser stack
- Add user stack to sudoers rules
># echo 'stack ALL=(ALL) NOPASSWD: ALL' > /etc/sudoers.d/stack
># chmod 440 /etc/sudoers.d/stack
-
Install additional software
- Ubuntu
># apt-get install git
- CentOS
># yum install git
Installation
- Create folders where devstack will install all the files
># mkdir -p /opt/stack
># chown stack:stack /opt/stack
- Become user stack and cd to home directory
># su stack
>stack$ cd
-
Clone repositories to home directory
- Clone devstack repository and checkout havana branch
>stack$ cd >stack$ git clone https://github.com/openstack-dev/devstack.git >stack$ cd devstack >stack$ git checkout stable/havana
- Clone murano-deployment repository
>stack$ cd >stack$ git clone https://github.com/stackforge/murano-deployment.git
-
Copy required files from murano-deployment to devstack, then configure local.conf. You should set at least one configuration parameter there - HOST_IP address.
>stack$ cd
>stack$ cp -r murano-deployment/devstack-integration/* devstack/
-
Replace (or settings merge with) local.conf with another config file, if you need a different type of installation. Available config files and installation types are:
- single-node.local.conf - single-node all-in-one installation. OpenStack + Murano will be installed on your node together.
- devbox.local.conf - install Murano only. OpenStack must be installed on another node, and your node will be configured to use it.
-
Edit devstack's configuration file
>stack$ vim devstack/local.conf
- From devstack directory, lauch stack.sh
>stack$ ./stack.sh
- Open URL http:/// in web browser. Login with username admin and password swordfiwh. Open Murano tab and enjoy.