]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
tests: set pool size to 1 in ceph-override.json
authorGuillaume Abrioux <gabrioux@redhat.com>
Thu, 8 Nov 2018 08:08:28 +0000 (09:08 +0100)
committerSébastien Han <seb@redhat.com>
Wed, 28 Nov 2018 22:11:46 +0000 (23:11 +0100)
setting this setting to 1 makes the CI covering the related code in the
playbook without breaking the upgrade scenarios.

Those scenarios were broken because there is a check `TASK [waiting for
clean pgs...]` in rolling_update.yml, since the pool size for
`cephfs_metadata` and `cephfs_data` are updated to `2` in
`ceph-override.json` and there is not enough osd to honor this size,
some PGs are degraded and make the mentioned check failing.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 3ac6619fb9aa0ea29041ce122b4dfac9a51fc235)

tests/functional/centos/7/cluster/ceph-override.json

index f2ec9711414f18aefba930ebc6526989bb5667aa..d0df1fa78115731c1ffecf0b4bec787523956527 100644 (file)
@@ -8,12 +8,12 @@
                {
                  "name": "cephfs_metadata",
                  "pgs": 8,
-                 "size": 2
+                 "size": 1
                },
                {
                  "name": "cephfs_data",
                  "pgs": 8,
-                 "size": 2
+                 "size": 1
                }
        ],
   "ceph_mon_docker_memory_limit": "2g"