RETIRED, A set of bash scripts that allow to easily deploy Fuel environment and try OpenStack using VirtualBox as a virtualization layer.
c5cbe939d6
CentOS7 comes with pre-defined REJECT rule in FORWARD chain that doesn't allow to access external networks from public network. When deploying ISO with virtualbox scripts slave nodes are trying to connect to external networks via public net, with default gateway on master node. However, they can't establish a connection because there is no explicit rule in FORWARD chain to allow it, so they are rejected. This commit adds rules to allow connection to ext networks in that usecase. Compatible with CentOS6 & CentOS7 master node. Blueprint: master-on-centos7 Change-Id: I5b61ae6e7562ea5b446809027c487acc11119889 |
||
---|---|---|
actions | ||
functions | ||
iso | ||
README.md | ||
clean.sh | ||
config.sh | ||
launch.sh | ||
launch_8GB.sh | ||
launch_16GB.sh |
README.md
VirtualBox enviropment kit
Requirements
- VirtualBox with VirtualBox Extension Pack
- procps
- expect
- Cygwin for Windows host PC
- Enable VT-x/AMD-V acceleration option on your hardware for 64-bits guests
Run
In order to successfully run Mirantis OpenStack under VirtualBox, you need to:
- download the official release (.iso) and place it under 'iso/' directory
- run "./launch.sh" (or "./launch_8GB.sh" or "./launch_16GB.sh" according to your system resources). It will automatically pick up the iso and spin up master node and slave nodes
If there are any errors, the script will report them and abort.
If you want to change settings (number of OpenStack nodes, CPU, RAM, HDD), please refer to "config.sh".
To shutdown VMs and clean environment just run "./clean.sh"
To deploy on a remote machine just set environment variable REMOTE_HOST with ssh connection string. The variable REMOTE_PORT allows to specify custom port for ssh.
REMOTE_HOST=user@user.mos.mirantis.net ./launch_8GB.sh
# or
REMOTE_HOST=user@user.mos.mirantis.net REMOTE_PORT=23 ./launch_8GB.sh