summary refs log tree commit diff
path: root/nixos/tests/ceph-multi-node.nix
diff options
context:
space:
mode:
authorJohan Thomsen <jth@dbc.dk>2020-07-08 15:20:18 +0200
committerJohan Thomsen <jth@dbc.dk>2020-07-11 14:12:42 +0200
commit4f39f93d8eea89516a4db0d69a618a8d85342e27 (patch)
tree99ee031de91c2cb82d2a3d2f46f2f2a9987a1ec8 /nixos/tests/ceph-multi-node.nix
parent0dea5dff3639a4729fce9ec453c4f69cb59d31a1 (diff)
downloadnixpkgs-4f39f93d8eea89516a4db0d69a618a8d85342e27.tar
nixpkgs-4f39f93d8eea89516a4db0d69a618a8d85342e27.tar.gz
nixpkgs-4f39f93d8eea89516a4db0d69a618a8d85342e27.tar.bz2
nixpkgs-4f39f93d8eea89516a4db0d69a618a8d85342e27.tar.lz
nixpkgs-4f39f93d8eea89516a4db0d69a618a8d85342e27.tar.xz
nixpkgs-4f39f93d8eea89516a4db0d69a618a8d85342e27.tar.zst
nixpkgs-4f39f93d8eea89516a4db0d69a618a8d85342e27.zip
nixos/ceph: (test) ceph now has device monitoring and pg_autoscaler enabled by default
- the pg_autoscaler will force new empty pools down to 32 pgs
- device monitoring metrics consumes 1 pool with 1 pg
Diffstat (limited to 'nixos/tests/ceph-multi-node.nix')
-rw-r--r--nixos/tests/ceph-multi-node.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/nixos/tests/ceph-multi-node.nix b/nixos/tests/ceph-multi-node.nix
index 22fe5cada48..e26c6d5d670 100644
--- a/nixos/tests/ceph-multi-node.nix
+++ b/nixos/tests/ceph-multi-node.nix
@@ -183,15 +183,15 @@ let
     monA.wait_until_succeeds("ceph -s | grep 'HEALTH_OK'")
 
     monA.succeed(
-        "ceph osd pool create multi-node-test 128 128",
+        "ceph osd pool create multi-node-test 32 32",
         "ceph osd pool ls | grep 'multi-node-test'",
         "ceph osd pool rename multi-node-test multi-node-other-test",
         "ceph osd pool ls | grep 'multi-node-other-test'",
     )
-    monA.wait_until_succeeds("ceph -s | grep '1 pools, 128 pgs'")
+    monA.wait_until_succeeds("ceph -s | grep '2 pools, 33 pgs'")
     monA.succeed("ceph osd pool set multi-node-other-test size 2")
     monA.wait_until_succeeds("ceph -s | grep 'HEALTH_OK'")
-    monA.wait_until_succeeds("ceph -s | grep '128 active+clean'")
+    monA.wait_until_succeeds("ceph -s | grep '33 active+clean'")
     monA.fail(
         "ceph osd pool ls | grep 'multi-node-test'",
         "ceph osd pool delete multi-node-other-test multi-node-other-test --yes-i-really-really-mean-it",