From 5939eaceb084958b6dde9c5c80665931b3cfd970 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Mon, 28 Oct 2013 15:56:36 -0700 Subject: [PATCH] upstart: fail osd start if crush update fails If the update for the CRUSH position fails for some reason, do not start the OSD. Signed-off-by: Sage Weil --- src/upstart/ceph-osd.conf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/upstart/ceph-osd.conf b/src/upstart/ceph-osd.conf index c0bf4d68c1cb..ab6af5835e0d 100644 --- a/src/upstart/ceph-osd.conf +++ b/src/upstart/ceph-osd.conf @@ -32,8 +32,7 @@ pre-start script "${weight:-${defaultweight:-1}}" \ root=default \ host="$(hostname -s)" \ - $location \ - || : + $location fi journal="/var/lib/ceph/osd/${cluster:-ceph}-$id/journal" -- 2.47.3