Skip to content

Instantly share code, notes, and snippets.

@fnordahl
Created March 15, 2019 09:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fnordahl/a4034999cec28fd70628599125b10bda to your computer and use it in GitHub Desktop.
Save fnordahl/a4034999cec28fd70628599125b10bda to your computer and use it in GitHub Desktop.
effectrive diff glance-ceph.conf ch-ceph.conf
--- glance-ceph.conf 2019-03-15 10:27:39.496772795 +0100
+++ ch-ceph.conf 2019-03-15 10:26:02.903804903 +0100
@@ -6,11 +6,19 @@
[global]
{% if auth -%}
auth_supported = {{ auth }}
-keyring = /etc/ceph/ceph.$name.keyring
+keyring = /etc/ceph/$cluster.$name.keyring
mon host = {{ mon_hosts }}
{% endif -%}
-{% if use_syslog -%}
log to syslog = {{ use_syslog }}
err to syslog = {{ use_syslog }}
clog to syslog = {{ use_syslog }}
-{% endif -%}
+{% if rbd_features %}
+rbd default features = {{ rbd_features }}
+{% endif %}
+
+[client]
+{% if rbd_client_cache_settings -%}
+{% for key, value in rbd_client_cache_settings.items() -%}
+{{ key }} = {{ value }}
+{% endfor -%}
+{%- endif %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment