GithubHelp home page GithubHelp logo

sergiotm87 / openstack-debian-ansible Goto Github PK

View Code? Open in Web Editor NEW

This project forked from iesgn/openstack-debian-ansible

0.0 2.0 0.0 1.27 MB

Ansible playbooks for installing OpenStack on Debian

License: GNU General Public License v3.0

Python 84.91% Shell 15.09%

openstack-debian-ansible's Introduction

openstack-debian-ansible

Ansible playbooks for installing OpenStack Newton on Debian stretch using debian official repos. The steps taken follow a standard OpenStack deployment: OpenStack Installation Guide for Ubuntu with some minors modifications to use with Debian.

The deployment schema selected is "Classic with OpenvSwitch", instead of using linux bridges as explained in OpenStack Installation Guide.

These playbooks have been written with the idea of using them in a real deployment with physical servers, but thay can be used too to deploy a OpenStack test environment with vagrant.

IMPORTANT: This is still a work in progress, feel free to open issues on github

Software used (specific versions):

  • Debian GNU/Linux: stretch (amd64).
  • Linux kernel: 4.9.0-4-amd64
  • Open vSwitch: 2.6.2
  • OpenStack: Newton
  • Ansible: 1.7.2
  • Vagrant: 1.8.6
  • VirtualBox: 5.0.24

OpenStack componens included:

Keystone, Glance, Nova, Neutron, Horizon, Cinder and Heat

Get a debian jessie vagrant box:

Tested using an unofficial debian stretch vagrant box available at (use it at your own risk or create your own vagrant box):

https://atlas.hashicorp.com/remram/boxes/debian-9-amd64

You can download and install it locally with:

vagrant box add remram/debian-9-amd64

If you are going to use these playbooks with physical serves, ignore the Vagranfile and configure ansible.cfg properly.

Configuration

schema

The file groups_var/all contains all variables needed by ansible playbooks and they can be customized if needed. It's mandatory to define the following variables according to your LAN:

controller_external_ip: 192.168.1.101
storage_external_ip: 192.168.1.101
network_node_external_ip: 192.168.1.101
network_node_external_netmask: 255.255.255.0
network_node_external_CIDR: 24
external_gateway: 192.168.1.1

The Vagranfile must be modified too:

controller.vm.network :public_network, bridge: "wlan0" ,ip: "192.168.1.101" # eth2 external

Bring up the scenario (vagrant insecure private key is not used in recent vagrant releases, so the first step is not needed)

chmod 400 vagrant_private_key
vagrant up

Run ansible playbooks to configure the cloud

ansible-playbook site-aio.yml -s

Using OpenStack

Open your browser and type in the notification bar http://192.168.1.201 or the corresponding external IP chosen.

References

openstack-debian-ansible's People

Contributors

albertomolina avatar anegro avatar josedom24 avatar

Watchers

James Cloos avatar Sergio Terán Monge 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.