osdmaptool: test --create-with-conf with racks

Make sure we generate a map that will map (and not assert about bad
max_osd/max_device mismatch).

Signed-off-by: Sage Weil <sage@newdream.net>
This commit is contained in:
Sage Weil 2011-11-01 21:20:56 -07:00
parent 885d71481b
commit 2fc01b5292
2 changed files with 1483 additions and 0 deletions

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,5 @@
$ osdmaptool --create-from-conf om -c ceph.conf.manyracks > /dev/null
$ osdmaptool --test-map-pg 0.0 om
osdmaptool: osdmap file 'om'
parsed '0.0' -> 0.0
0.0 raw [] up [] acting []