Giter Club home page Giter Club logo

openstack-ansible's Introduction

OpenStack on Ansible with Vagrant

This repository contains script that will deploy OpenStack into Vagrant virtual machines. These scripts are based on the OpenStack Install and Deploy Manual, Essex release.

See also Vagrant, Ansible and OpenStack on your laptop on SlideShare.

Install prereqs

You'll need to install:

The simplest way to get started with Ansible is to install the prequisities, grab the git repo and source the appropriate file to set your environment variables, no other installation is required:

sudo pip install paramiko PyYAML Jinja2
git clone git://github.com/ansible/ansible.git
cd ./ansible
source ./hacking/env-setup

Get an Ubuntu 12.04 (precise) Vagrant box

Download a 64-bit Ubuntu Vagrant box:

vagrant box add precise64 http://files.vagrantup.com/precise64.box

Grab this repository

cd ~
git clone http://github.com/lorin/openstack-ansible

Bring up the cloud

cd ~/openstack-ansible
make all

This will boot two VMs, install OpenStack, and attempt to boot a test VM inside of OpenStack.

If everything works, you should be able to ssh to the instance:

  • username: cirros
  • password: cubswin:)

Note: You may get a "connection refused" when attempting to ssh to the instance. It can take several minutes for the ssh server to respond to requests, even though the cirros instance has booted and is pingable.

Vagrant hosts

The hosts are:

  • 192.168.206.130 (our cloud controller)
  • 192.168.206.131 (compute host #1)

You should be able to ssh to these VMs (username: vagrant, password: vagrant). You can also authenticate with the vagrant private key, which is included here as the file vagrant_private_key.

openstack-ansible's People

Contributors

lorin avatar tomrobison avatar

Watchers

James Cloos avatar Rob Parrott 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.