]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
fix pool min_size customization
authorGuillaume Abrioux <gabrioux@redhat.com>
Tue, 5 Mar 2019 12:46:18 +0000 (13:46 +0100)
committermergify[bot] <mergify[bot]@users.noreply.github.com>
Tue, 5 Mar 2019 13:29:34 +0000 (13:29 +0000)
commite9e5d5a39a7da702c726a80af0d993b98c056cb0
tree45003bdacaaa19ad837813f9c287a6f95888b9f7
parentb8d580b3f48c69ba9882df773c4d144b73d01c95
fix pool min_size customization

b8d580b3f48c69ba9882df773c4d144b73d01c95 introduced a bug when
`min_size` isn't set (default to 0).

Typical error:

```
Error EINVAL: pool min_size must be between 1 and 1
```

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
roles/ceph-client/tasks/create_users_keys.yml
roles/ceph-mds/tasks/create_mds_filesystems.yml
roles/ceph-osd/tasks/openstack_config.yml