X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fceph%2Fsrc%2Ftest%2Fcli%2Fosdmaptool%2Fupmap.t;fp=src%2Fceph%2Fsrc%2Ftest%2Fcli%2Fosdmaptool%2Fupmap.t;h=6e17b204d2ba6ee97a94729ea9be9f9c49a3102e;hb=812ff6ca9fcd3e629e49d4328905f33eee8ca3f5;hp=0000000000000000000000000000000000000000;hpb=15280273faafb77777eab341909a3f495cf248d9;p=stor4nfv.git diff --git a/src/ceph/src/test/cli/osdmaptool/upmap.t b/src/ceph/src/test/cli/osdmaptool/upmap.t new file mode 100644 index 0000000..6e17b20 --- /dev/null +++ b/src/ceph/src/test/cli/osdmaptool/upmap.t @@ -0,0 +1,22 @@ + $ osdmaptool --create-from-conf om -c $TESTDIR/ceph.conf.withracks --with-default-pool + osdmaptool: osdmap file 'om' + osdmaptool: writing epoch 1 to om + $ osdmaptool om --mark-up-in --upmap-max 11 --upmap c + osdmaptool: osdmap file 'om' + marking all OSDs up and in + writing upmap command output to: c + checking for upmap cleanups + upmap, max-count 11, max deviation 0.01 + $ cat c + ceph osd pg-upmap-items 1.7 142 147 + ceph osd pg-upmap-items 1.8 219 223 + ceph osd pg-upmap-items 1.17 171 173 201 202 + ceph osd pg-upmap-items 1.1a 201 202 115 114 + ceph osd pg-upmap-items 1.1c 171 173 201 202 127 130 + ceph osd pg-upmap-items 1.20 88 87 201 202 + ceph osd pg-upmap-items 1.24 32 35 232 233 + ceph osd pg-upmap-items 1.51 201 202 65 64 186 189 + ceph osd pg-upmap-items 1.62 219 223 + ceph osd pg-upmap-items 1.6f 219 223 108 111 + ceph osd pg-upmap-items 1.f8 201 202 + $ rm -f om c