From e6918187568dbd01842d8d1d2c808ce16a894239 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 21 Apr 2024 13:54:28 +0200 Subject: Adding upstream version 18.2.2. Signed-off-by: Daniel Baumann --- src/test/cli/osdmaptool/upmap-out.t | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/test/cli/osdmaptool/upmap-out.t (limited to 'src/test/cli/osdmaptool/upmap-out.t') diff --git a/src/test/cli/osdmaptool/upmap-out.t b/src/test/cli/osdmaptool/upmap-out.t new file mode 100644 index 000000000..02b13ec56 --- /dev/null +++ b/src/test/cli/osdmaptool/upmap-out.t @@ -0,0 +1,24 @@ + $ osdmaptool --create-from-conf om -c $TESTDIR/ceph.conf.withracks --with-default-pool + osdmaptool: osdmap file 'om' + osdmaptool: writing epoch 1 to om + $ osdmaptool --osd_calc_pg_upmaps_aggressively=false om --mark-up-in --mark-out 147 --upmap-max 11 --upmap c + osdmaptool: osdmap file 'om' + marking all OSDs up and in + marking OSD@147 as out + writing upmap command output to: c + checking for upmap cleanups + upmap, max-count 11, max deviation 5 + pools rbd + prepared 11/11 changes + $ cat c + ceph osd pg-upmap-items 1.7 142 145 + ceph osd pg-upmap-items 1.8 219 223 + ceph osd pg-upmap-items 1.17 201 202 171 173 + ceph osd pg-upmap-items 1.1a 201 202 + ceph osd pg-upmap-items 1.1c 201 202 + ceph osd pg-upmap-items 1.20 201 202 + ceph osd pg-upmap-items 1.51 201 202 + ceph osd pg-upmap-items 1.62 219 223 + ceph osd pg-upmap-items 1.6f 219 223 + ceph osd pg-upmap-items 1.82 219 223 + $ rm -f om c -- cgit v1.2.3