Git Product home page Git Product logo

openstack-juno-builder's Introduction

OpenStack Builder

Creates an OpenStack test environment using Ansible, following the steps in the Openstack Docs. Creating on Vagrant, but the Ansible playbooks are meant to be used for installing OpenStack in the LA lab.

This is a work-in-progress and is being done so that I can learn a bit about OpenStack. Yes, there are better examples out there.

Go ahead and delete this repo if we're running out...

Status

Core

  • Basic environment
  • Identity Service
  • Image Service
  • Compute Service
  • Networking Component
  • Dashboard

Optional

  • Orchestration Module
  • Block Storage
  • Object Storage
  • Telemetry module
  • Database service
  • Data processing service?

TODO

  • Move site user accout definitions into a varibles file (common role)
  • Fix DNS resolution within instances (dhcp_sagent.ini - dnsmasq_dns_servers)
  • Auto create external and demo tenant networks
  • Add default images into glance
  • Common user account definitions and ssh keys should come from a vars file
  • Neutron on compute node should edit the nova.conf instead of having gone back to edit the template with neutron settings
  • RabbitMQ should use a dedicated user account (guest pw setting is not currently idempotent)
  • ovs-vsctl add-port br-ex should check if the port exist instead of relying on the bridge creation
  • Don't hard code the external interface used for the ovs external bridge

DONE

  • Use IP address for external facing service endpoints (instead of "controller")

Instructions

For testing I use Vagrant with a pre-updated Ubuntu Box that includes the Juno repo (see packer folder). This greatly speeds up the initial Ansible playbook run, which is great for dev work. The playbook runs fine on a clean Ubuntu image, just takes lonnger.

Prerequisites

  1. Python with pip and required packages (including Ansible)
    • Python / pip (easy way is Homebrew - brew install python)
    • Optional: Create a virtualenv - pip install virtualenv ; virtualenv ./venv
    • Optional: Activate the virtualenv - source ./venv/bin/activate
    • Install packages - pip install -r requirements.txt
  2. Vagrant
    • VMware Fusion (might work with VirtualBox, not sure about nested VMs for the compute node)
    • Virtual networks that match the Vagrantfile (the 10.200.200.x network needs external NAT)
    • Vagrant Plugin for Fusion
    • vagrant-hostmanager plugin (vagrant plugin install vagrant-hostmanager)

Build with Vagrant

# Activate your virtualenv (if you have one)
source ./venv/bin/activate

# Go
vagrant up

Build on Ready Servers

openstack-juno-builder's People

Contributors

rbenigno avatar

Watchers

 avatar  avatar

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.