ceph-ansible/tests/functional
Guillaume Abrioux c68126d6fd mdss: do not make pg_num a mandatory params
When playing ceph-mds role, mon nodes have set a fact with the default
pg num for osd pools, we can simply default to this value for cephfs
pools (`cephfs_pools` variable).

At the moment the variable definition for `cephfs_pools` looks like:

```
cephfs_pools:
  - { name: "{{ cephfs_data }}", pgs: "" }
  - { name: "{{ cephfs_metadata }}", pgs: "" }
```

and we have a task in `ceph-validate` to ensure `pgs` has been set to a
valid value.

We could simply avoid this check by setting the default value of `pgs`
to `hostvars[groups[mon_group_name][0]]['osd_pool_default_pg_num']` and
let to users the possibility to override this value.

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

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
2018-05-30 16:20:34 +02:00
..
centos/7 mdss: do not make pg_num a mandatory params 2018-05-30 16:20:34 +02:00
tests tests: update tests for mds to cover multimds case 2018-04-12 18:20:58 +02:00
ubuntu/16.04/cluster mdss: do not make pg_num a mandatory params 2018-05-30 16:20:34 +02:00
.gitignore tests: ignore folders created by ceph-ansible during testing 2016-11-08 10:35:43 -06:00
dev_setup.yml nfs: add automated testing for nfs-ganesha roles 2017-09-08 09:14:01 -04:00
lvm_setup.yml tests: no need to remove partitions in lvm_setup.yml 2018-04-10 14:19:21 +02:00
reboot.yml syntax: change local_action syntax 2018-01-31 10:45:34 +01:00
rhcs_setup.yml Use check_mode instead of always_run 2017-10-25 09:53:34 -05:00
setup.yml tests: resize root partition when atomic host 2018-05-30 10:54:35 +02:00