ceph-ansible/roles
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
..
ceph-client osd: add pg autoscaler support 2020-03-06 16:10:03 +01:00
ceph-common ceph-common: rhcs 4 repositories for rhel 7 2020-02-03 15:15:35 +01:00
ceph-config rgw multisite: enable more than 1 realm per cluster 2020-03-04 14:39:23 -05:00
ceph-container-common container/dashboard: run the registry auth task 2019-10-23 09:39:59 +02:00
ceph-container-engine ceph-container-engine: lvm2 on OSD nodes only 2020-02-03 15:16:32 +01:00
ceph-dashboard Configure ceph dashboard backend and dashboard_frontend_vip 2020-02-24 16:50:19 -05:00
ceph-defaults osd: add pg autoscaler support 2020-03-06 16:10:03 +01:00
ceph-facts rgw multisite: enable more than 1 realm per cluster 2020-03-04 14:39:23 -05:00
ceph-fetch-keys meta: set the right minimum ansible version required for galaxy 2018-12-11 09:59:25 +01:00
ceph-grafana containers: add KillMode=none to systemd templates 2020-02-18 12:10:35 -05:00
ceph-handler common: support OSDs with more than 2 digits 2020-02-28 11:06:47 -05:00
ceph-infra ceph-infra: install firewalld python bindings 2020-03-03 10:31:48 +01:00
ceph-iscsi-gw containers: add KillMode=none to systemd templates 2020-02-18 12:10:35 -05:00
ceph-mds osd: add pg autoscaler support 2020-03-06 16:10:03 +01:00
ceph-mgr containers: add KillMode=none to systemd templates 2020-02-18 12:10:35 -05:00
ceph-mon containers: add KillMode=none to systemd templates 2020-02-18 12:10:35 -05:00
ceph-nfs containers: add KillMode=none to systemd templates 2020-02-18 12:10:35 -05:00
ceph-node-exporter containers: add KillMode=none to systemd templates 2020-02-18 12:10:35 -05:00
ceph-osd osd: add pg autoscaler support 2020-03-06 16:10:03 +01:00
ceph-prometheus Configure ceph dashboard backend and dashboard_frontend_vip 2020-02-24 16:50:19 -05:00
ceph-rbd-mirror containers: add KillMode=none to systemd templates 2020-02-18 12:10:35 -05:00
ceph-rgw rgw multisite: enable more than 1 realm per cluster 2020-03-04 14:39:23 -05:00
ceph-rgw-loadbalancer ceph-rgw-loadbalancer: Fix SSL newline issue 2020-02-17 11:36:09 -05:00
ceph-validate osd: add pg autoscaler support 2020-03-06 16:10:03 +01:00