change it to a negative value (e.g., -1) to preserve the current
behavior.
+* The `osd crush location` config option is no longer supported. Please
+ update your ceph.conf to use the `crush location` option instead.
usage_exit
fi
-# try a type-specific config, e.g. 'osd crush location'
-location="$($BINDIR/ceph-conf --cluster=${cluster:-ceph} --name=$type.$id --lookup ${type}_crush_location || :)"
-if [ -n "$location" ]; then
- echo $location
- exit 0
-fi
-
# try a generic location
location="$($BINDIR/ceph-conf --cluster=${cluster:-ceph} --name=$type.$id --lookup crush_location || :)"
if [ -n "$location" ]; then