0a50cb8889
This patch changes version of ceph from hammer to jewel. Also removed versionlock as it seems we don't use it in ubuntu, and actually might be risky if we miss security patch on ceph. Change-Id: Ib8f88c2f914a4b635e59a509fa0194605eb73165 Implements: blueprint upgrade-ceph-to-jewel
35 lines
1.7 KiB
Django/Jinja
35 lines
1.7 KiB
Django/Jinja
[global]
|
|
log file = /var/log/kolla/ceph/$cluster-$name.log
|
|
log to syslog = true
|
|
err to syslog = true
|
|
|
|
fsid = {{ ceph_cluster_fsid }}
|
|
mon initial members = {% for host in groups['ceph-mon'] %}{{ hostvars[host]['ansible_' + hostvars[host]['storage_interface']]['ipv4']['address'] }}{% if not loop.last %}, {% endif %}{% endfor %}
|
|
|
|
mon host = {% for host in groups['ceph-mon'] %}{{ hostvars[host]['ansible_' + hostvars[host]['storage_interface']]['ipv4']['address'] }}{% if not loop.last %}, {% endif %}{% endfor %}
|
|
|
|
mon addr = {% for host in groups['ceph-mon'] %}{{ hostvars[host]['ansible_' + hostvars[host]['storage_interface']]['ipv4']['address'] }}:6789{% if not loop.last %}, {% endif %}{% endfor %}
|
|
|
|
auth cluster required = cephx
|
|
auth service required = cephx
|
|
auth client required = cephx
|
|
|
|
# NOTE(inc0): This line will mean that if ceph was upgraded, it will run as root
|
|
# until contents of /var/lib/ceph are chowned to ceph user.
|
|
# This change was introduced in Jewel version and we should include
|
|
# chown operation in upgrade procedure. https://bugs.launchpad.net/kolla/+bug/1620702
|
|
setuser match path = /var/lib/ceph/$type/$cluster-$id
|
|
|
|
[mon]
|
|
# NOTE(SamYaple): The monitor files have been known to grow very large. The
|
|
# only fix for that is to compact the files.
|
|
mon compact on start = true
|
|
|
|
{% if service_name is defined and service_name == 'ceph-rgw' %}
|
|
[client.radosgw.gateway]
|
|
host = {{ hostvars[inventory_hostname]['ansible_' + storage_interface]['ipv4']['address'] }}
|
|
keyring = /etc/ceph/ceph.client.radosgw.keyring
|
|
log file = /var/log/kolla/ceph/client.radosgw.gateway.log
|
|
rgw frontends = civetweb port={{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}:{{ rgw_port }}
|
|
{% endif %}
|