ceph-ansible/roles/ceph-validate/tasks
Guillaume Abrioux 98783a17b3 osd: add pg autoscaler support
This commit adds the pg autoscaler support.

The structure for pool definition has now two additional attributes
`pg_autoscale_mode` and `target_size_ratio`, eg:

```
test:
  name: "test"
  pg_num: "{{ osd_pool_default_pg_num }}"
  pgp_num: "{{ osd_pool_default_pg_num }}"
  rule_name: "replicated_rule"
  application: "rbd"
  type: 1
  erasure_profile: ""
  expected_num_objects: ""
  size: "{{ osd_pool_default_size }}"
  min_size: "{{ osd_pool_default_min_size }}"
  pg_autoscale_mode: False
  target_size_ratio": 0.1
```

when `pg_autoscale_mode` is `True` user has to set a decent value in
`target_size_ratio`.

Given that it's a new feature, it's still disabled by default.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1782253

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 47adc2bb08)
2020-03-06 16:10:03 +01:00
..
check_devices.yml validate: prevent from installing OSD on same disk as the OS 2019-10-11 09:44:10 -04:00
check_eth_mon.yml improve coding style 2019-05-06 15:09:06 +00:00
check_eth_rgw.yml improve coding style 2019-05-06 15:09:06 +00:00
check_ipaddr_mon.yml Replace ipaddr() with ips_in_ranges() 2019-09-27 17:49:46 +02:00
check_iscsi.yml ceph-validate: start with ansible version test 2020-03-03 10:31:48 +01:00
check_nfs.yml ceph-nfs: fail on openSUSE Leap using distro packages 2019-08-21 15:40:22 +02:00
check_pools.yml osd: add pg autoscaler support 2020-03-06 16:10:03 +01:00
check_rbdmirror.yml ceph-validate: add rbdmirror validation 2020-01-10 11:11:37 -05:00
check_rgw_multisite.yml rgw multisite: enable more than 1 realm per cluster 2020-03-04 14:39:23 -05:00
check_rgw_pools.yml rgw: extend automatic rgw pool creation capability 2020-02-17 17:44:53 -05:00
check_system.yml Add ansible 2.9 support 2020-03-03 10:31:48 +01:00
main.yml ceph-validate: start with ansible version test 2020-03-03 10:31:48 +01:00