From: Sage Weil Date: Mon, 21 Oct 2013 16:53:14 +0000 (-0700) Subject: init-ceph: pass config file path when adjust crush position X-Git-Tag: v0.77~55 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=6b8d4188db7717ffe79aa39cc44e04911585545f;p=ceph.git init-ceph: pass config file path when adjust crush position Fixes: #6591 Reported-by: Sean Noonan Signed-off-by: Sage Weil --- diff --git a/src/init-ceph.in b/src/init-ceph.in index 17cf05ccbe4..925047f6de1 100644 --- a/src/init-ceph.in +++ b/src/init-ceph.in @@ -325,6 +325,7 @@ for name in $what; do defaultweight="$(do_cmd "df -P -k $osd_data/. | tail -1 | awk '{ d= \$2/1073741824 ; r = sprintf(\"%.2f\", d); print r }'")" get_conf osd_keyring "$osd_data/keyring" "keyring" do_cmd "timeout 10 $BINDIR/ceph \ + -c $conf \ --name=osd.$id \ --keyring=$osd_keyring \ osd crush create-or-move \