]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
tests: enable pg autoscaler on 1 pool
authorGuillaume Abrioux <gabrioux@redhat.com>
Fri, 28 Feb 2020 17:38:38 +0000 (18:38 +0100)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Wed, 4 Mar 2020 14:29:01 +0000 (09:29 -0500)
This commit enables the pg autoscaler on 1 pool.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
tests/functional/all_daemons/container/group_vars/all
tests/functional/all_daemons/group_vars/all

index 9f8f200fe2c81fa0e967940bfcde996173a5363a..b678246dc6542efda293e4ea3ed651ad933b5105 100644 (file)
@@ -26,6 +26,8 @@ openstack_glance_pool:
   erasure_profile: ""
   expected_num_objects: ""
   size: 1
+  pg_autoscale_mode: True
+  target_size_ratio: 0.2
 openstack_cinder_pool:
   name: "volumes"
   pg_num: "{{ osd_pool_default_pg_num }}"
index 1569965847cbb6bdd0e31bd9843847c4e8e415a4..a93ea2546408fa7375291b6d184b1f2b9a1a985f 100644 (file)
@@ -19,6 +19,8 @@ openstack_glance_pool:
   expected_num_objects: ""
   size: 1
   application: rbd
+  pg_autoscale_mode: True
+  target_size_ratio: 0.2
 openstack_cinder_pool:
   name: "volumes"
   pg_num: "{{ osd_pool_default_pg_num }}"