]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
cinder volume service keeps retrying even code exception
authorYang Yu <yuyangbj@cn.ibm.com>
Wed, 17 Apr 2013 08:00:07 +0000 (16:00 +0800)
committerYang Yu <yuyangbj@cn.ibm.com>
Thu, 9 May 2013 06:37:50 +0000 (14:37 +0800)
commit839a6a70211e7b175a5e8f03f2f47b5893120377
treef04490004875044b9bb00a569550048dc531c260
parenta4856c4e3a2a40150fad9257ce489125ca3458f4
cinder volume service keeps retrying even code exception

Make sure that ProcessLauncher does not try to restart the failed
service. And make sure the ProcessLauncher exits, when the number
of the failed services equal the number of total services.

Fixes: bug 1167841
Change-Id: I818c754534c18a62d292e21f0c98086571fe0565
(cherry picked from commit 2cee8fc3a4899097801ad93b5d6e6a4f373ad8fe)
cinder/service.py