summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/config-osa/files/user_ceph.yml
blob: 6daa14362da3ab688b40ab3b14aa13f651d123cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
---
# The OSA ceph_client role does not support loading IPs from an inventory group,
# so we have to feed it a list of IPs
# yamllint disable rule:line-length
ceph_mons: "[ {% for host in groups[mon_group_name] %}'{{ hostvars[host]['ansible_host'] }}'{% if not loop.last %},{% endif %}{% endfor %} ]"
# yamllint enable rule:line-length
cinder_backends:
  "RBD":
    volume_driver: cinder.volume.drivers.rbd.RBDDriver
    rbd_pool: volumes
    rbd_ceph_conf: /etc/ceph/ceph.conf
    rbd_store_chunk_size: 8
    volume_backend_name: rbddriver
    rbd_user: cinder
    rbd_secret_uuid: "{{ cinder_ceph_client_uuid }}"
    report_discard_supported: true

gnocchi_storage_driver: ceph
gnocchi_ceph_pool: "metrics"
ceph_extra_components:
  - component: gnocchi_api
    package:
      - "{{ python_ceph_package }}"
    client:
      - '{{ gnocchi_ceph_client }}'
    service: '{{ ceph_gnocchi_service_names }}'