mirror of https://github.com/ceph/ceph-ansible.git
RGW: Add support for usage log configuration
Adds support for configuring the RadosGW usage log described at http://docs.ceph.com/docs/jewel/man/8/radosgw/#usage-logging.pull/1226/head
parent
e2a18af5b3
commit
8edc2663d9
|
@ -309,6 +309,12 @@ dummy:
|
||||||
#radosgw_keystone_revocation_internal: 900
|
#radosgw_keystone_revocation_internal: 900
|
||||||
#radosgw_s3_auth_use_keystone: "true"
|
#radosgw_s3_auth_use_keystone: "true"
|
||||||
#radosgw_nss_db_path: /var/lib/ceph/radosgw/ceph-radosgw.{{ ansible_hostname }}/nss
|
#radosgw_nss_db_path: /var/lib/ceph/radosgw/ceph-radosgw.{{ ansible_hostname }}/nss
|
||||||
|
# Settings for the RGW usage logging described at http://docs.ceph.com/docs/jewel/man/8/radosgw/#usage-logging
|
||||||
|
#radosgw_usage_log: false
|
||||||
|
#radosgw_usage_log_tick_interval: 30
|
||||||
|
#radosgw_usage_log_flush_threshold: 1024
|
||||||
|
#radosgw_usage_max_shards: 32
|
||||||
|
#radosgw_usage_max_user_shards: 1
|
||||||
# Rados Gateway options
|
# Rados Gateway options
|
||||||
#email_address: foo@bar.com
|
#email_address: foo@bar.com
|
||||||
|
|
||||||
|
|
|
@ -301,6 +301,12 @@ radosgw_keystone_token_cache_size: 10000
|
||||||
radosgw_keystone_revocation_internal: 900
|
radosgw_keystone_revocation_internal: 900
|
||||||
radosgw_s3_auth_use_keystone: "true"
|
radosgw_s3_auth_use_keystone: "true"
|
||||||
radosgw_nss_db_path: /var/lib/ceph/radosgw/ceph-radosgw.{{ ansible_hostname }}/nss
|
radosgw_nss_db_path: /var/lib/ceph/radosgw/ceph-radosgw.{{ ansible_hostname }}/nss
|
||||||
|
# Settings for the RGW usage logging described at http://docs.ceph.com/docs/jewel/man/8/radosgw/#usage-logging
|
||||||
|
radosgw_usage_log: false
|
||||||
|
radosgw_usage_log_tick_interval: 30
|
||||||
|
radosgw_usage_log_flush_threshold: 1024
|
||||||
|
radosgw_usage_max_shards: 32
|
||||||
|
radosgw_usage_max_user_shards: 1
|
||||||
# Rados Gateway options
|
# Rados Gateway options
|
||||||
email_address: foo@bar.com
|
email_address: foo@bar.com
|
||||||
|
|
||||||
|
|
|
@ -131,6 +131,13 @@ rgw s3 auth use keystone = {{ radosgw_s3_auth_use_keystone }}
|
||||||
nss db path = {{ radosgw_nss_db_path }}
|
nss db path = {{ radosgw_nss_db_path }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if radosgw_usage_log | bool %}
|
||||||
|
rgw enable usage log = true
|
||||||
|
rgw usage log tick interval = {{ radosgw_usage_log_tick_interval }}
|
||||||
|
rgw usage log flush threshold = {{ radosgw_usage_log_flush_threshold }}
|
||||||
|
rgw usage max shards = {{ radosgw_usage_max_shards }}
|
||||||
|
rgw usage max user shards = {{ radosgw_usage_max_user_shards }}
|
||||||
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in New Issue