]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
rgw: move default bucket quota conf vars to global 1508/head
authorAli Maredia <amaredia@redhat.com>
Wed, 10 May 2017 17:00:41 +0000 (13:00 -0400)
committerAli Maredia <amaredia@redhat.com>
Wed, 10 May 2017 17:06:48 +0000 (13:06 -0400)
"rgw override bucket index max shards" and
"rgw bucket default quota max objects" were in the
client section of the ceph.conf and not being
applied, this commit moves them to global

Resolves: bz#1391500

Signed-off-by: Ali Maredia <amaredia@redhat.com>
roles/ceph-common/templates/ceph.conf.j2

index 3ad873da3625a4f2de2b2c4d3f606c6830fed66e..d9b3df1592b411419f4c4bdb16bac9906ddc368d 100644 (file)
@@ -73,6 +73,12 @@ public network = {{ public_network }}
 {% if cluster_network is defined %}
 cluster network = {{ cluster_network }}
 {% endif %}
+{% if rgw_override_bucket_index_max_shards is defined %}
+rgw override bucket index max shards = {{ rgw_override_bucket_index_max_shards }}
+{% endif %}
+{% if rgw_bucket_default_quota_max_objects is defined %}
+rgw bucket default quota max objects = {{ rgw_bucket_default_quota_max_objects }}
+{% endif %}
 
 [client.libvirt]
 admin socket = {{ rbd_client_admin_socket_path }}/$cluster-$type.$id.$pid.$cctid.asok # must be writable by QEMU and allowed by SELinux or AppArmor
@@ -109,12 +115,6 @@ host = {{ hostvars[host]['ansible_hostname'] }}
 {% if radosgw_dns_name is defined %}
 rgw dns name = {{ radosgw_dns_name }}
 {% endif %}
-{% if rgw_override_bucket_index_max_shards is defined %}
-rgw override bucket index max shards = {{ rgw_override_bucket_index_max_shards }}
-{% endif %}
-{% if rgw_bucket_default_quota_max_objects is defined %}
-rgw bucket default quota max objects = {{ rgw_bucket_default_quota_max_objects }}
-{% endif %}
 host = {{ hostvars[host]['ansible_hostname'] }}
 keyring = /var/lib/ceph/radosgw/{{ cluster }}-rgw.{{ hostvars[host]['ansible_hostname'] }}/keyring
 rgw socket path = /tmp/radosgw-{{ hostvars[host]['ansible_hostname'] }}.sock