Skip to content

cucxabong/openstack-playbook

Repository files navigation

Short Description

An unofficial fork from [the official openstack ansible playbooks] (github.com/openstack/openstack-ansible) to install Openstack components (The original using git and github to build Openstack from source code).

All packages will be installed from appropriate repository except python-openstackclient because of this bug.

I have also faced the same problem with python-neutronclient ([detailed bug] (https://bugs.launchpad.net/python-neutronclient/+bug/1538959)) but I failed to resolve using pip install with --upgrade option. At the end of that link I saw problem was fixed and merged to the master, I hope this fix will be available in pip soon. Till that time, we have to patch code manually from the code in the link above.

To simplify the deployment and scriptting, my script only support 2 deploymet architectures:

  1. Single controller TODO: Update deployment architecture

  2. High Availability Controller (3 controllers) TODO: Update deployment architecture

How to use the playbook

The simplest way:

ansible-playbook -i inventory.ini -e @user_secret.yml setup-everything.yml

The hard way:

  • Preparing environment: ansible-playbook -i inventory.ini -e @user_secret.yml setup-infra.yml
  • Message Queue: ansible-playbook -i inventory.ini -e @user_secret.yml setup-message-queue.yml
  • Corosync & Pacemaker: ansible-playbook -i inventory.ini -e @user_secret.yml setup-corosync-pacemaker.yml
  • Database Server: ansible-playbook -i inventory.ini -e @user_secret.yml os-database.yml
  • Identity Service: ansible-playbook -i inventory.ini -e @user_secret.yml os-keystone-setup.yml
  • Image Service: ansible-playbook -i inventory.ini -e @user_secret.yml os-glance-setup.yml
  • Compute Service: ansible-playbook -i inventory.ini -e @user_secret.yml os-nova-setup.yml
  • Network Service: ansible-playbook -i inventory.ini -e @user_secret.yml os-neutron-setup.yaml
  • Block Storage Service: ansible-playbook -i inventory.ini -e @user_secret.yml os-cinder-setup.yml
  • Dashboard: ansible-playbook -i inventory.ini -e @user_secret.yml os-dashboard-setup.yml

28/07/2016

  • Finished HA Deployment

27/07/2016

  • Added mirrored-queue in rabbitmq-server
  • Added HA (3 controllers) using corosync & pacemaker
  • Added VIP pacemaker resource
  • Added MariaDB Galera Cluster multi-master

12/07/2016

  • Added self-service network
  • Supported tenant network type: vxlan

11/07/2016

  • lvm is the only backend for cinder supported at this time
  • Supported network scenario: provider
  • Supported provider network type: vlan, flat
  • Supported tenant network: None
  • Supported mechanism: linuxbridge
  • Non HA (single controller) architecture
  • Supported OS: Ubuntu 14.04

Under Development

This is not the fist time I write a playbook to install Openstack environment but is the one that I work in a 'proper procedures' way, so I will update as soon as I fix issues and implement new things. Any comment please reach me at [email protected].

About

Ansible playbooks to install Openstack

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages