RETIRED, A set of bash scripts that allow to easily deploy Fuel environment and try OpenStack using VirtualBox as a virtualization layer.
5cdbcc30d1
The support to deploy on a remote machine is broke the default behaviour on the Windows OS, so now it always needs to set the $PATH manually before using the scripts. Also, the new functionality didn't work on the remote Windows machine because the scripts change the $PATH on the local system only. This commit adds some more checks and fixes the local $PATH setup. It didn't check remote system requirements so deploy on a remote machine still have some problems. Added several messages in the scripts. Also this commit contain increased timeouts to fix failures during network interfaces add/change operations on some Windows systems. Change-Id: If5dadc1ece3931f42eac423aae4d7016d45c2040 Closes-Bug: #1534129 Partial-Bug: #1491925 |
||
---|---|---|
actions | ||
drivers | ||
functions | ||
iso | ||
README.md | ||
clean.sh | ||
config.sh | ||
dumpkeys.cache | ||
launch.sh | ||
launch_8GB.sh | ||
launch_16GB.sh |
README.md
VirtualBox enviropment kit
Requirements
- VirtualBox with VirtualBox Extension Pack
- procps
- expect
- openssh-client
- xxd
- 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 you run this script under Cygwin, you may have to add path to VirtualBox directory to your PATH. Usually it is enough to run: export PATH=$PATH:/cygdrive/c/Program Files/Oracle/VirtualBox
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
TODO
- add the ability to use Boot ROM during the remote deploy
- add the new (even smaller) Boot ROM with iPXE HTTP enabled