Role os_cinder for OpenStack-Ansible
Go to file
Jesse Pretorius 33b95d2b55 Add project group to role
This patch adds a var used by the repo_build process to determine
which host group to check for members of before building the pip
packages required by this role. This provides the ability to
optimise the repo build process to only building the packages
that are required for an environment.

Depends-On: Idda16b4f382eee57c7469af898859d6d81d4eb30
Change-Id: Iedb4c0c91daa291f881a9fc00c5b8c40bb312ce3
2016-08-11 13:54:34 +00:00
defaults Add project group to role 2016-08-11 13:54:34 +00:00
doc Ensure that doc linting is included in the linters test 2016-07-26 07:39:57 +01:00
files/rootwrap.d Update paste, policy and rootwrap configurations 2016-07-01 2016-07-01 13:21:31 +01:00
handlers Ansible 2.x - Address deprecation warning of bare variables 2016-04-20 16:12:04 -04:00
meta Merge "Update the cinder role to support Ubuntu 16.04 and Systemd" 2016-06-24 16:40:24 +00:00
releasenotes Add ability to change apt/yum package state 2016-08-02 13:34:02 +01:00
tasks Merge "Add ability to change apt/yum package state" 2016-08-02 13:54:52 +00:00
templates Disable stderr logging 2016-08-11 07:06:03 -05:00
tests Define cinder_default_volume_type for gating. 2016-08-10 16:00:56 -05:00
vars Update the cinder role to support Ubuntu 16.04 and Systemd 2016-06-24 08:45:06 -04:00
.gitignore Remove duplicates from .gitignore 2016-07-15 11:49:12 +10:00
.gitreview Implement base configuration for independent repository 2016-03-01 09:38:00 -08:00
CONTRIBUTING.rst Convert existing roles into galaxy roles 2015-02-18 10:56:25 +00:00
LICENSE Convert existing roles into galaxy roles 2015-02-18 10:56:25 +00:00
other-requirements.txt Add dependencies for paramiko 2.0 2016-05-03 08:55:28 +01:00
README.rst Ensure that doc linting is included in the linters test 2016-07-26 07:39:57 +01:00
run_tests.sh Add dependencies for paramiko 2.0 2016-05-03 08:55:28 +01:00
setup.cfg Implement base configuration for independent repository 2016-03-01 09:38:00 -08:00
setup.py Updated from global requirements 2016-07-15 03:57:43 +00:00
test-requirements.txt Updated from global requirements 2016-07-15 03:57:43 +00:00
tox.ini Ensure that doc linting is included in the linters test 2016-07-26 07:39:57 +01:00
Vagrantfile Adding Vagrantfile for local developer testing 2016-03-09 21:21:15 -05: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 }}"

Tags

This role supports two tags: cinder-install and cinder-config

The cinder-install tag can be used to install and upgrade.

The cinder-config tag can be used to maintain configuration of the service.