]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
tests: do not fully override previous ceph_conf_overrides
authorGuillaume Abrioux <gabrioux@redhat.com>
Thu, 22 Nov 2018 10:33:20 +0000 (11:33 +0100)
committerGuillaume Abrioux <gabrioux@redhat.com>
Mon, 26 Nov 2018 17:22:20 +0000 (18:22 +0100)
We run an initial deployment with `osd_pool_default_size: 1` in
`ceph_conf_overrides`.
When re-running the playbook to test idempotency and handlers, we reset
`ceph_conf_overrides`, we must append a new value instead of just
overwritting it, otherwise, this can lead to error in the CI.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
tests/functional/centos/7/cluster/ceph-override.json

index d0df1fa78115731c1ffecf0b4bec787523956527..cce7e62e8729543daf39af5382978338c28f6d93 100644 (file)
@@ -1,7 +1,8 @@
 {
        "ceph_conf_overrides": {
                "global": {
-                       "osd_pool_default_pg_num": 12
+                       "osd_pool_default_pg_num": 12,
+                       "osd_pool_default_size": 1
                }
        },
        "cephfs_pools": [