Fix some bugs when testing opensds ansible
[stor4nfv.git] / src / ceph / src / test / cli / osdmaptool / upmap-out.t
1   $ osdmaptool --create-from-conf om -c $TESTDIR/ceph.conf.withracks --with-default-pool
2   osdmaptool: osdmap file 'om'
3   osdmaptool: writing epoch 1 to om
4   $ osdmaptool om --mark-up-in --mark-out 147 --upmap-max 11 --upmap c
5   osdmaptool: osdmap file 'om'
6   marking all OSDs up and in
7   marking OSD@147 as out
8   writing upmap command output to: c
9   checking for upmap cleanups
10   upmap, max-count 11, max deviation 0.01
11   $ cat c
12   ceph osd pg-upmap-items 1.7 142 145
13   ceph osd pg-upmap-items 1.8 219 223 99 103
14   ceph osd pg-upmap-items 1.17 171 173 201 202
15   ceph osd pg-upmap-items 1.1a 201 202 115 114
16   ceph osd pg-upmap-items 1.1c 171 173 201 202 127 130
17   ceph osd pg-upmap-items 1.20 88 87 201 202
18   ceph osd pg-upmap-items 1.21 207 206 142 145
19   ceph osd pg-upmap-items 1.51 201 202 65 64 186 189
20   ceph osd pg-upmap-items 1.62 219 223
21   ceph osd pg-upmap-items 1.6f 219 223 108 111
22   ceph osd pg-upmap-items 1.82 219 223 157 158 6 3
23   $ rm -f om c