Skip to content

Instantly share code, notes, and snippets.

@shane-c
Created April 9, 2016 02:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save shane-c/bf629d203fccd25bd12dd678720ecbca to your computer and use it in GitHub Desktop.
Save shane-c/bf629d203fccd25bd12dd678720ecbca to your computer and use it in GitHub Desktop.
liberty.ceph.yml
---
mons_hosts:
infra01:
ip: 192.168.88.100
affinity:
ceph_mon_container: 3
osds_hosts:
object01:
ip: 192.168.88.102
affinity:
ceph_osd_container: 3
container_vars:
# The devices must be specified in conjunction with raw_journal_devices below.
# If you want one journal device per five drives, specify the same journal_device five times.
devices:
- /dev/sda
- /dev/sdb
- /dev/sdc
# Note: If a device does not have a matching "raw_journal_device",
# it will co-locate the journal on the device.
raw_journal_devices:
- /dev/sda
- /dev/sdb
- /dev/sdc
storage_hosts:
infra01:
ip: 192.168.88.100
container_vars:
cinder_backends:
limit_container_types: cinder_volume
ceph:
volume_driver: cinder.volume.drivers.rbd.RBDDriver
rbd_pool: volumes
rbd_ceph_conf: /etc/ceph/ceph.conf
rbd_flatten_volume_from_snapshot: 'false'
rbd_max_clone_depth: 5
rbd_store_chunk_size: 4
rados_connect_timeout: -1
glance_api_version: 2
volume_backend_name: ceph
rbd_user: "{{ cinder_ceph_client }}"
rbd_secret_uuid: "{{ cinder_ceph_client_uuid }}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment