tripleo-heat-templates/releasenotes/notes/ceph-pools-with-ceph-ansible-f82425e585f90ef6.yaml
Giulio Fidente c10aa7a043 Update CephPools format in the docker templates to fit ceph-ansible
The format which ceph-ansible uses to describe the list of pools
to be created in the cluster is different from the one which
puppet-ceph uses; this commit updates the description and the
the docker templates accordingly.

Change-Id: I1e5b2c3cbf6ae02c19a2275ca119fed6e173319d
Closes-Bug: #1720373
2017-10-25 09:00:44 +02:00

18 lines
771 B
YAML

---
upgrade:
- |
The format to use for the CephPools parameter needs to be updated into the
form expected by ceph-ansible. For example, for a new pool named `mypool`
it should change from:
{ "mypool": { "size": 3, "pg_num": 128, "pgp_num": 128 } }
into:
[ { "name": "mypool", "pg_num": 128, "rule_name": "" } ]
The first is a map where each key is a pool name and its value the pool
properties, the second is a list where each item describes all properties
of a pool, including its name.
other:
- |
With the migration from puppet-ceph to ceph-ansible for the deployment
of Ceph, the format of CephPools parameter changes because the two tools
use a different format to represent the list of additional pools to create.