Travis Truman df3b47973a Only install to virtual environment
Remove all tasks and variables related to toggling between installation
of cinder inside or outside of a Python virtual environment.
Installing within a venv is now the only supported deployment.

Additionally, a few changes have been made to make the creation of the
venv more resistant to interruptions during a run of the role.
* unarchiving a pre-built venv will now also occur when the venv
  directory is created, not only after being downloaded
* virtualenv-tools is run against both pre-built and non pre-built venvs
  to account for interruptions during or prior to unarchiving

Change-Id: I21ebc977f3c6d97853150e8b42bcd35ab4c2ef09
Implements: blueprint only-install-venvs
2016-07-07 12:59:19 -04:00
2016-07-07 12:59:19 -04:00
2016-07-07 12:59:19 -04:00
2016-05-04 15:19:36 +01:00
2016-05-03 08:55:28 +01:00

OpenStack-Ansible Cinder

This Ansible role installs and configures OpenStack Cinder.

The following Cinder services are managed by the role:
  • cinder-api
  • cinder-volume
  • cinder-scheduler

By default, Cinder API v1 and v2 are both enabled.

Support for various Cinder backends is supported by the role. See role internals for further details.

Support for volume backups to Swift or Ceph is support by the role. See role internals for further details.

Default Variables

../../defaults/main.yml

Required Variables

This list is not exhaustive at present. See role internals for further details.

# Comma separated list of Glance API servers
cinder_glance_api_servers: "http://glance_server:9292"

# Hostname or IP address of the Galera database
cinder_galera_address: "1.2.3.4"

Example Playbook

- name: Installation and setup of cinder
  hosts: cinder_all
  user: root
  roles:
    - { role: "os_cinder", tags: [ "os-cinder" ] }
  vars:
    cinder_glance_api_servers: "http://glance_server:9292"
    cinder_galera_address: "{{ internal_lb_vip_address }}"
Description
Role os_cinder for OpenStack-Ansible
Readme 8.3 MiB
Languages
Jinja 52.6%
Python 34.1%
Shell 13.3%