Role os_cinder for OpenStack-Ansible
Go to file
Jesse Pretorius 936baf8ee3 Add dependencies for paramiko 2.0
Paramiko version 2.0 has been released. It now uses the Python library
cryptography. Installing this requires additional system packages. This
commit adds in the appropriate packages required by cryptography based
on its documentation [1].

An alternative approach would have been to constrain the version of
Paramiko however the project describes the 1.x versions as relying on
insecure dependencies [2].

[1] https://cryptography.io/en/latest/installation/
[2] http://www.paramiko.org/installing.html

Change-Id: Ied094a83a99a45e77a7b6176407e489caa231388
2016-05-03 08:55:28 +01:00
defaults updated cinder.conf for backup catalog info 2016-04-18 10:47:45 -05:00
doc [DOCS] Cleanup the role docs for consistency and clarity 2016-03-09 21:03:52 -05:00
files/rootwrap.d Cinder functional testing 2016-03-23 16:19:03 -07:00
handlers Ansible 2.x - Address deprecation warning of bare variables 2016-04-20 16:12:04 -04:00
meta Merge "Update min_ansible_version to 1.9" 2016-04-12 08:47:24 +00:00
releasenotes Remove Liberty releasenote index 2016-04-20 22:20:01 +01:00
tasks Ansible 2.x - Address deprecation warning of bare variables 2016-04-20 16:12:04 -04:00
templates Update paste, policy and rootwrap configurations 2016-04-22 2016-04-22 17:19:05 +01:00
tests Use tempest for functional testing 2016-04-25 11:03:33 +01:00
vars Updated role using Multi-Distro framework 2016-04-04 16:06:16 -05:00
.gitignore Add reno scaffolding for release notes management 2016-04-09 19:19:47 +01: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
README.rst [DOCS] Cleanup the role docs for consistency and clarity 2016-03-09 21:03:52 -05:00
Vagrantfile Adding Vagrantfile for local developer testing 2016-03-09 21:21:15 -05:00
other-requirements.txt Add dependencies for paramiko 2.0 2016-05-03 08:55:28 +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 Implement base configuration for independent repository 2016-03-01 09:38:00 -08:00
test-requirements.txt blacklist Ansible 1.9.6 2016-04-16 08:42:39 -05:00
tox.ini Add reno scaffolding for release notes management 2016-04-09 19:19:47 +01:00

README.rst

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 }}"