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:
-
Single controller TODO: Update deployment architecture
-
High Availability Controller (3 controllers) TODO: Update deployment architecture
ansible-playbook -i inventory.ini -e @user_secret.yml setup-everything.yml
- 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
- Finished HA Deployment
- Added mirrored-queue in rabbitmq-server
- Added HA (3 controllers) using corosync & pacemaker
- Added VIP pacemaker resource
- Added MariaDB Galera Cluster multi-master
- Added
self-service
network - Supported tenant network type:
vxlan
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
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].