X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fceph%2Fsrc%2Ftest%2Fcli%2Fosdmaptool%2Fupmap-out.t;fp=src%2Fceph%2Fsrc%2Ftest%2Fcli%2Fosdmaptool%2Fupmap-out.t;h=bc0a28a0768f48e3892ddba20c74c0469a834b94;hb=812ff6ca9fcd3e629e49d4328905f33eee8ca3f5;hp=0000000000000000000000000000000000000000;hpb=15280273faafb77777eab341909a3f495cf248d9;p=stor4nfv.git diff --git a/src/ceph/src/test/cli/osdmaptool/upmap-out.t b/src/ceph/src/test/cli/osdmaptool/upmap-out.t new file mode 100644 index 0000000..bc0a28a --- /dev/null +++ b/src/ceph/src/test/cli/osdmaptool/upmap-out.t @@ -0,0 +1,23 @@ + $ 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 --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 0.01 + $ cat c + ceph osd pg-upmap-items 1.7 142 145 + ceph osd pg-upmap-items 1.8 219 223 99 103 + 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.21 207 206 142 145 + 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.82 219 223 157 158 6 3 + $ rm -f om c