]> git.apps.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)
committerGuillaume Abrioux <gabrioux@redhat.com>
Wed, 16 Dec 2020 14:10:27 +0000 (15:10 +0100)
commit4026ba9da136fef03d0070a02bed066e021d362a
tree0329cc8912c149346efe6599179e0d8d1896520b
parent827b23353ff389660f393cb36fb36540c362e8cf
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>
library/ceph_pool.py
roles/ceph-rgw/tasks/rgw_create_pools.yml
tests/library/test_ceph_pool.py