ceph-ansible/tests/functional/ubuntu/16.04/cluster
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
..
group_vars mdss: do not make pg_num a mandatory params 2018-05-30 16:20:34 +02:00
Vagrantfile tests: rename the directory for xenial_cluster 2016-12-01 16:49:40 -06:00
ceph-override.json tests: add ceph-override.json for ubuntu/cluster 2017-10-05 12:59:29 +02:00
hosts mgr: always bootstrap mgr right after the mon 2017-09-22 17:26:28 +02:00
vagrant_variables.yml remove kernel.pid_max 2018-02-23 13:57:57 +01:00