osdmaptool: writing epoch 1 to myosdmap
$ ORIG_FSID="$(osdmaptool --print myosdmap|grep ^fsid)"
+ osdmaptool: osdmap file 'myosdmap'
$ osdmaptool --createsimple 3 myosdmap
osdmaptool: osdmap file 'myosdmap'
$ NEW_FSID="$(osdmaptool --print myosdmap|grep ^fsid)"
+ osdmaptool: osdmap file 'myosdmap'
$ [ "$ORIG_FSID" = "$NEW_FSID" ]
$ osdmaptool --createsimple 1 --clobber myosdmap
$ NEW_FSID="$(osdmaptool --print myosdmap|grep ^fsid)"
+ osdmaptool: osdmap file 'myosdmap'
#TODO --clobber should probably set new fsid, remove the [1]
$ [ "$ORIG_FSID" != "$NEW_FSID" ]
[1]
$ osdmaptool --create-from-conf om -c $TESTDIR/ceph.conf.withracks > /dev/null
+ osdmaptool: osdmap file 'om'
$ osdmaptool --test-map-pg 0.0 om
osdmaptool: osdmap file 'om'
parsed '0.0' -> 0.0