A VirtualBox image that has all the tools needed to begin OpenStack upstream contribution
Go to file
Mark Korondi 3940579690 VMware player supported. USE_SCREEN=True 2017-05-04 13:06:49 +02:00
dist Vagrant provisioning with XFCE, devstack, and some GUI apps and settings 2016-06-03 14:27:30 +02:00
docs Adding VirtualBox import screen 2016-10-20 17:02:20 +02:00
files VMware player supported. USE_SCREEN=True 2017-05-04 13:06:49 +02:00
.gitignore Vagrant provisioning with XFCE, devstack, and some GUI apps and settings 2016-06-03 14:27:30 +02:00
CHANGELOG.md Updated changelog 2017-04-28 14:28:38 +02:00
LICENSE Initial commit 2016-06-03 14:25:26 +02:00
README-virtualbox-import.md Update README-virtualbox-import.md 2017-04-28 09:19:31 +02:00
README.md VMware player supported. USE_SCREEN=True 2017-05-04 13:06:49 +02:00
Vagrantfile Multiple changes to save on disk and memory usage 2017-04-28 14:13:21 +02:00
cleanup.sh Multiple changes to save on disk and memory usage 2017-04-28 14:13:21 +02:00
configure-vagrant.sh xenial update 2017-04-08 00:47:05 +02:00
create-training-box.sh Multiple changes to save on disk and memory usage 2017-04-28 14:13:21 +02:00
install-base.sh VMware player supported. USE_SCREEN=True 2017-05-04 13:06:49 +02:00
install-devstack.sh Multiple changes to save on disk and memory usage 2017-04-28 14:13:21 +02:00
install-gui.sh VMware player supported. USE_SCREEN=True 2017-05-04 13:06:49 +02:00

README.md

OpenStack Upstream Institute Virtual Environment

bit.ly/training-vm

Instructions

Using VirtualBox

  1. Set up VirtualBox
  2. Go to the releases page and download the latest VM image.
  3. Import the ova file (File -> Import appliance...)

    on Windows? look here.)

  4. Start up the VM

Using VMware player

  1. Set up VMware player
  2. Go to the releases page and download the latest VM image.
  3. Open the ova file (File -> Open a Virtual Machine)

    A warning dialog might appear. Click on Retry

  4. Start up the VM

Minimum requirements

  • 5GB of free RAM (so at least 8GB in your laptop)
  • Recent CPU with at least 4 cores
  • 15GB disk space

Getting around in the VM

  1. Open a terminal and start devstack

    /opt/devstack/stack.sh && optimize-memory
    

    This step takes about 10 minutes.

  2. Explore the environment. The four main software you will be using from the desktop during the training are:

    • Firefox web browser
    • Xfce4-terminal terminal emulator
    • Geany text editor
    • HexChat IRC client

      please make sure that you replace the default user ubuntu upon first start before logging in to Freenode channels.

  3. When stack.sh finished running, you can open your Horizon Dashboard (http://localhost/) or on VirtualBox using the DevStack bookmark

    • Login: demo
    • Password: openstack
  4. Select the demo project

  5. Start a VM. Use a tiny flavor. A CirrOS image is already set up by devstack

  6. Assign a floating IP

  7. Enable SSH and ICMP ports on the security groups

Learn how to set up devstack

These are the steps used to provision the vm:

Using latest devstack

Please do not update your openstack installation during the training. It requires bandwidth.

If you want to keep on using the training VM for devstacking, you should disable offline mode in local.conf. Also reconsider git related settings here.

Screenshots

devstack geany git-hexchat
devstack text editor git and irc

Advanced Topics

This section is mainly for developers of the VM, on the training you won't need this.

Using Vagrant

  1. Set up VirtualBox
  2. Set up Vagrant
  3. git clone https://github.com/kmARC/openstack-training-virtual-environment
  4. cd openstack-training-virtual-environment
  5. vagrant up
  6. vagrant reload
  7. vagrant ssh

Follow instructions as for the prebuilt image

Roll your own image

Essentially the same procedure, with exporting an ova archive at the end which then can be distributed and easily import into VirtualBox

  1. install libssl098:i386 (required for vmware vdiskmanager to shrink disks)
    wget http://security.ubuntu.com/ubuntu/ubuntu/pool/universe/o/openssl098/libssl0.9.8_0.9.8o-7ubuntu4_i386.deb
    sudo dpkg -i libssl0.9.8_0.9.8o-7ubuntu4_i386.deb
    
  2. ./create-training-box.sh Provisions the VM and creates the distributable ova archive.

License

MIT