fix the bug of creating crushmap

Signed-off-by: Lu Yuan <yuan.y.lu@intel.com>