]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph-osd-prestart.sh: check OSD exists.
authorOwen Synge <osynge@suse.com>
Tue, 6 Jan 2015 12:16:22 +0000 (13:16 +0100)
committerNathan Cutler <ncutler@suse.cz>
Mon, 20 Apr 2015 12:34:39 +0000 (14:34 +0200)
commitadb213a3dd5b4192ce4e25fdf6cf136e27bab94c
treeb58df9cf50097b7cb84095bf4340178a98235bf4
parent2466727b96e61a05e5d93641d24cf814980b8f27
ceph-osd-prestart.sh: check OSD exists.

if the directory ${dir_osd-/var/lib/ceph/osd/}/${cluster:-ceph}-${id}
does not exist fail with a clear error message.

https://bugzilla.suse.com/show_bug.cgi?id=895759 fixes # 895759

Signed-off-by: Owen Synge <osynge@suse.com>
(cherry picked from commit 460ef1c25014060c14b9217224355ef3e1ca7284)
(cherry picked from commit 8c8b9a0a6ca1b3600184f5072488e22be5865a96)
src/ceph-osd-prestart.sh