ceph-ansible/roles/ceph-osd/tasks
Guillaume Abrioux 26b396cb6c common: support setting pg autoscaler to off
The current implementation doesn't allow to disable the pg autoscaler
on created pools. This allows only 'on' or 'warn'.

With this commit, this is now possible to disable it.

Valid values would be ['on', 'yes', 'true', 'off', 'no', 'false']

```
openstack_glance_pool:
  name: "images"
  pg_num: 128
  pgp_num: 128
  rule_name: "replicated_rule"
  type: 1
  application: "rbd"
  size: 3
  pg_autoscale_mode: off
```

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

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 9d1ff8f236)
2022-05-09 13:44:31 +02:00
..
scenarios ceph-osd: use global crush_device_class in lvm_volumes 2020-12-15 17:30:55 +01:00
common.yml common: do not log keyring secret 2021-08-11 17:01:22 -04:00
container_options_facts.yml ceph-osd: set container objectstore env variables 2020-01-20 15:36:11 -05:00
crush_rules.yml osd: add a default value for 'default' in crush_rules 2020-06-03 13:20:40 -04:00
main.yml Use ansible_facts 2021-03-26 00:16:58 +01:00
openstack_config.yml common: support setting pg autoscaler to off 2022-05-09 13:44:31 +02:00
start_osds.yml Use ansible_facts 2021-03-26 00:16:58 +01:00
system_tuning.yml Use ansible_facts 2021-03-26 00:16:58 +01:00
systemd.yml containers: introduce target systemd unit 2021-08-18 13:43:01 -04:00