cyverse/ansible-openstack

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

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Ansible-OpenStack

Deploy OpenStack on Bare Metal using Ansible

Host Configuration

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.

Generating Credentials
Create credentials Ansible Vault
  1. Create Ansible credentials Vault

    1. Generating clear-text

      nerate-credentials.sh
      
    2. Generating encrypted

      nerate-credentials.sh -y
      
  2. 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.

Ansible Install
Ansible Commands to run
  1. Ping maas hosts:

    ansible maas -m ping

  2. Run cloud-init cleanup:

    ansible-playbook playbooks/maas-cloud-harden.yml

  3. Manually update hosts:

    ansible maas -m raw -a "apt-get update"

  4. Ping all hosts:

    ansible openstack -m ping

  5. Harden and remove cloud packages from MAAS nodes:

    ansible-playbook playbooks/cloud-init-harden.yml -u ubuntu

  6. Perform minimal linux hardening:

    1. Update group_vars/maas to reflect your site's settings

    2. Prepare the hosts

      ansible-playbook playbooks/liberty-host-prep.yml --vault-password-file .vault_pass.txt -e @openstack-liberty-creds.yml

  7. 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 “

OpenStack Services

For a list of services and how to restart them, refer to the document here.

Network Troubleshooting

See the network troubleshooting documentation here.

References

For a list of helpful links and references, see them here.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.