Name: ansible-openstack
Owner: CyVerse
Description: Deploy OpenStack on Bare Metal using Ansible
Created: 2016-03-10 00:22:05.0
Updated: 2017-12-08 16:16:20.0
Pushed: 2016-04-13 00:15:09.0
Homepage: null
Size: 222
Language: Python
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Deploy OpenStack on Bare Metal using Ansible
All machines are installed and configured using a combination of MaaS and Ansible. Please note that LVM
should NOT be used in this configuration, as it will break cinder
, as it has special rules for exclusions that will break the host operating system. See the warning here.
Create Ansible credentials Vault
Generating clear-text
nerate-credentials.sh
Generating encrypted
nerate-credentials.sh -y
Open Encrypted file:
ble-vault edit openstack-liberty-creds.yml --vault-password-file .vault_pass.txt
If one instead prefers to do this manaully, see the instructions here.
Ping maas hosts:
ansible maas -m ping
Run cloud-init cleanup:
ansible-playbook playbooks/maas-cloud-harden.yml
Manually update hosts:
ansible maas -m raw -a "apt-get update"
Ping all hosts:
ansible openstack -m ping
Harden and remove cloud packages from MAAS nodes:
ansible-playbook playbooks/cloud-init-harden.yml -u ubuntu
Perform minimal linux hardening:
Update group_vars/maas
to reflect your site's settings
Prepare the hosts
ansible-playbook playbooks/liberty-host-prep.yml --vault-password-file .vault_pass.txt -e @openstack-liberty-creds.yml
Install OpenStack Liberty (Do one tag at a time):
ansible-playbook playbooks/liberty-install.yml --vault-password-file .vault_pass.txt -e @openstack-liberty-creds.yml
–tags “
For a list of services and how to restart them, refer to the document here.
See the network troubleshooting documentation here.
For a list of helpful links and references, see them here.