ceph-ansible/tests/functional/centos/7/cluster/group_vars
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
..
all mdss: do not make pg_num a mandatory params 2018-05-30 16:20:34 +02:00
clients tests: update the type for the rule used in pools 2018-04-30 08:15:18 +02:00
iscsi-gws ceph-iscsi: fix certificates generation and distribution 2018-04-04 09:27:39 +02:00
mons tests: move cephfs_pools variable 2018-05-24 09:39:38 -07:00
nfss nfs-ganesha: add config overrides section 2017-09-08 11:37:58 -04:00
osds ci: re-arrange group_vars files 2018-03-14 14:22:00 +01:00
rgws rgw: test functionality of conf vars and pool creation for tuning 2017-05-05 10:03:53 -04:00