]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-crush-location: osd_crush_location -> crush_location 9072/head
authorSage Weil <sage@redhat.com>
Wed, 11 May 2016 13:26:38 +0000 (09:26 -0400)
committerSage Weil <sage@redhat.com>
Wed, 11 May 2016 13:27:41 +0000 (09:27 -0400)
This was indirectly broken for OSDs as of 573c349245b7192d599a8edb15e2dade3e7170c3.

Signed-off-by: Sage Weil <sage@redhat.com>
PendingReleaseNotes
src/ceph-crush-location.in

index 8959684cd9961695a04febc8a6189e6ee6b7f087..db109a697ea4baae72353369710d11fa9e467750 100644 (file)
@@ -21,3 +21,5 @@
   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.
index b5043f269a885227e4fe25bb5d25fe048ff0de83..a8c22a8dcf687236e5396f2e3194f4090d805b35 100755 (executable)
@@ -68,13 +68,6 @@ if [ -z "$id" ]; then
     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