]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
init-ceph: do not stop start on first failure
authorSage Weil <sage@inktank.com>
Fri, 19 Apr 2013 20:05:43 +0000 (13:05 -0700)
committerSage Weil <sage@inktank.com>
Fri, 19 Apr 2013 20:05:43 +0000 (13:05 -0700)
commitd395aa521e8a4b295ed2b08dd7cfb7d9f995fcf7
tree578b6a2cfa81245b041ff641ea1c5628abdc5c2b
parentbe4807f5b88115bc5a553ecee6f42c0c7d7cfbe2
init-ceph: do not stop start on first failure

When starting we often loop over many daemon instances.  Currently we stop
on the first error and do not try to start other daemons.

Instead, try them all, but return a failure if anything did not start.

Fixes: #2545
Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Gary Lowell <gary.lowell@inktank.com>
src/ceph_common.sh
src/init-ceph.in