Git Product home page Git Product logo

stackinabox Build Status

OpenStack Newton (DevStack) w/ Neutron networking in Vagrant using Ubuntu's LXD

Quick Start:

  • Download & install GIT for your platform

  • Clone this repo to your system
    git clone https://github.com/tpouyer/stackinabox.git

  • cd into the newly cloned 'stackinabox' directory

  • Install pre-reqs:

    • Running Ubuntu? scripts/install-vagrant/install-vagrant-linux-ubuntu.sh

    • VirtualBox 5.0.10 Don't need the Extension Pack

    • Vagrant v1.7+

    • Install vagrant plugins:

      • vbguest vagrant plugin install vagrant-vbguest
      • cachier vagrant plugin install vagrant-cachier
  • Copy vagrant/Personalization.dist to vagrant/Personalization

  • edit parameters for your needs
    cp vagrant/Personalization.dist vagrant/Personalization

    • NOTE: You must set a value for the $disk property in the copied Personalization file $disk = '/Users/tpouyer/VirtualBox VMs/stackinabox/box-disk2.vmdk'
    • NOTE: The $disk will be created dynamically when you run vagrant up. It is used as a dynamically growable backing store for lxd containers deployed via the embedded OpenStack.
    • NOTE: Running Linux? vagrant/build.sh the script will copy the Personalization.dist file for you and add a reasonable $disk value to the file.
  • Run vagrant:
    vagrant/build.sh

  • You can now open your browser to http://192.168.27.100 to see the Horizon web console

    • You can login as demo user with:
      • username: demo
      • password: labstack
    • You can login as admin user with:
      • username: admin
      • password: labstack
  • You ssh into the vagrant machine using:
    ssh [email protected]

    • password: vagrant
    • or you can use vagrant's passwordless ssh support:
      cd vagrant;vagrant ssh
  • You can authenticate with Keystone to run the OpenStack commandline tools by ssh'ing into the vagrant machine and running:
    source /opt/stack/devstack/openrc demo demo

    • or
      source /opt/stack/devstack/openrc admin admin

Vagrant Base Box

If you are only looking for a vagrant base box with openstack already installed that you can use for your own vagrant projects then you can check out the releases of the stackina-base-box project.

Credits

This project was adapted from the project devstack-vm and incorporates many tips and suggestions found around the web on devstack and vagrant forums, too many to list or otherwise locate at this point.

stackinabox's Projects

devstack icon devstack

Vagrant project used to build a new base box with DevStack running on Ubuntu 16.04

docker-uc-pattern-engine icon docker-uc-pattern-engine

Builds Docker images for UrbanCode Deploy Patterns Engine (HEAT engine with UC Deploy Patterns plugins)

stackinabox.io icon stackinabox.io

stackinabox.io is a quick way to get up and running with IBM UrbanCode

vagrant-opdk-box icon vagrant-opdk-box

Cloud in a box. OpenStack, Docker, UrbanCode Deploy & Patterns (HEAT Designer)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.