Major Hayden b41c5886ec Allow LVM to scan all loop devices
This patch allows all loop devices to be scanned by LVM and this
fixes a bug that occurs after a reboot in AIOs when the loop device
numbering is shuffled. For example, the cinder loopback may be
mounted from /dev/loop4 when the AIO is first built, but it might
come up as /dev/loop0 when the AIO reboots.

Combined backport of:
- https://review.openstack.org/360082
- https://review.openstack.org/371548

Closes-bug: 1615325
Depends-on: I09b2cd9a1eee9f8310783b7d6468963b21fee322
Change-Id: Ia28cd6ff8ddc7d389cb5609c3c5a3ec400306cfb
(cherry picked from commit 7989209a90)
2016-11-28 14:33:37 +00:00
2016-07-08 17:48:23 +01:00
2016-04-02 14:46:38 -04:00
2016-05-04 07:34:37 +00:00
2016-07-08 17:48:23 +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.9 MiB
Languages
Jinja 59.3%
Python 40.7%