]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commit
library: add missing `target_size_ratio` parameter support in ceph_pool module
authorFabien Brachere <fabien.brachere@celeste.fr>
Wed, 16 Dec 2020 06:33:36 +0000 (07:33 +0100)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Wed, 16 Dec 2020 15:57:33 +0000 (10:57 -0500)
commitba3db6be9f129d77e78b4b3c2ba32f48fa9bbfa9
treecef440c750ed26e78b0f94b093b919c9693435a8
parenta2704581b1e7a9107327eef9008ccfcf62199ec1
library: add missing `target_size_ratio` parameter support in ceph_pool module

When creating a new pool, target_size_ratio was ignored by ansible module ceph_pool.py.
target_size_ratio is now used when pg_autoscale_mode is on.
Tests added to library tests.
This adds too the use in the role ceph-rgw.

Signed-off-by: Fabien Brachere <fabien.brachere@celeste.fr>
(cherry picked from commit 4026ba9da136fef03d0070a02bed066e021d362a)
library/ceph_pool.py
roles/ceph-rgw/tasks/rgw_create_pools.yml
tests/library/test_ceph_pool.py