Using this codes you can install deploy openstack in Vagrant machine and also its using ansible for deploying Openstack
Required ram is more than 8gb
Tools used:
- Vagrant - to create a Virtual Machine for installing devstack in a virtual environment.
- Ansible - configuration management tool which will install OpenStack(devstack) in Vagrant vm.
example; ansible-playbook devstack.yml -u "cool" -v --become --ask-become-pass -vvvv
Install
- python , python-dev
- ansible (latest version not from repository)
- vagrant
- vagrant box add ubuntu/xenial64
- git
ToDo list:
Add user stack in ur host machine:
-
adduser stack
-
su stack
-
Better allow sudo permission for stack user
-
Git clone this branch -> git clone <<--link -->>
-
cd ansible-devstack
-
cd init-script
-
To save downloading time of openstack source run repo.sh. By this, u can reuse the same source for various installation
-
to begin your installation run ./init.sh
Help guide: To get into vagrant running machine Vagrant ssh opens
Note: default user name and password for the virtual machine is stack - stack Vagrant machine give more ram >6gb so that it will faster. Else you will face performance issue. For testing i gave only 4.x gb of ram.
If you face any issue ping me here or mail to cooldharma06@gmail.com