summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-nova_git.bb
diff options
context:
space:
mode:
authorVu Tran <vu.tran@windriver.com>2014-02-28 09:11:13 -0500
committerBruce Ashfield <bruce.ashfield@windriver.com>2014-03-17 14:24:31 -0400
commite617d0205fc566ef70b61a75c484d78c540ef791 (patch)
treec5969046b73ea732f01c692ddfeef599ecb00eeb /meta-openstack/recipes-devtools/python/python-nova_git.bb
parent2c14cdfb9c34c541a1b3a180ad2a625514300977 (diff)
downloadmeta-cloud-services-e617d0205fc566ef70b61a75c484d78c540ef791.tar.gz
Readjust the start level of openstack components
Currently all the openstack components have default start level of 20. There are other services such as glusterfs, rabbbitmq, database... are also starting at the same start level. On some platform, this can cause racing condition between services which in turn causes some of openstack components not started. By adjusting the openstack components start level to higher will ensure that system services start in the determistic way. Signed-off-by: Vu Tran <vu.tran@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-nova_git.bb')
-rw-r--r--meta-openstack/recipes-devtools/python/python-nova_git.bb10
1 files changed, 9 insertions, 1 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-nova_git.bb b/meta-openstack/recipes-devtools/python/python-nova_git.bb
index e41e796..7f3d2e2 100644
--- a/meta-openstack/recipes-devtools/python/python-nova_git.bb
+++ b/meta-openstack/recipes-devtools/python/python-nova_git.bb
@@ -28,7 +28,7 @@ PV="2013.2.2+git${SRCPV}"
28 28
29S = "${WORKDIR}/git" 29S = "${WORKDIR}/git"
30 30
31inherit update-rc.d setuptools identity hosts useradd 31inherit update-rc.d setuptools identity hosts useradd default_configs
32 32
33do_install_append() { 33do_install_append() {
34 if [ ! -f "${WORKDIR}/nova.conf" ]; then 34 if [ ! -f "${WORKDIR}/nova.conf" ]; then
@@ -268,12 +268,20 @@ INITSCRIPT_PACKAGES += "${SRCNAME}-api"
268# INITSCRIPT_PACKAGES += "${SRCNAME}-controller" 268# INITSCRIPT_PACKAGES += "${SRCNAME}-controller"
269# INITSCRIPT_NAME_${SRCNAME}-controller = "nova-all" 269# INITSCRIPT_NAME_${SRCNAME}-controller = "nova-all"
270INITSCRIPT_NAME_${SRCNAME}-network = "nova-network" 270INITSCRIPT_NAME_${SRCNAME}-network = "nova-network"
271INITSCRIPT_PARAMS_${SRCNAME}-network = "${OS_DEFAULT_INITSCRIPT_PARAMS}"
271INITSCRIPT_NAME_${SRCNAME}-scheduler = "nova-scheduler" 272INITSCRIPT_NAME_${SRCNAME}-scheduler = "nova-scheduler"
273INITSCRIPT_PARAMS_${SRCNAME}-scheduler = "${OS_DEFAULT_INITSCRIPT_PARAMS}"
272INITSCRIPT_NAME_${SRCNAME}-cert = "nova-cert" 274INITSCRIPT_NAME_${SRCNAME}-cert = "nova-cert"
275INITSCRIPT_PARAMS_${SRCNAME}-cert = "${OS_DEFAULT_INITSCRIPT_PARAMS}"
273INITSCRIPT_NAME_${SRCNAME}-conductor = "nova-conductor" 276INITSCRIPT_NAME_${SRCNAME}-conductor = "nova-conductor"
277INITSCRIPT_PARAMS_${SRCNAME}-conductor = "${OS_DEFAULT_INITSCRIPT_PARAMS}"
274INITSCRIPT_NAME_${SRCNAME}-api = "nova-api" 278INITSCRIPT_NAME_${SRCNAME}-api = "nova-api"
279INITSCRIPT_PARAMS_${SRCNAME}-api = "${OS_DEFAULT_INITSCRIPT_PARAMS}"
275 280
276INITSCRIPT_NAME_${SRCNAME}-compute = "nova-compute" 281INITSCRIPT_NAME_${SRCNAME}-compute = "nova-compute"
282INITSCRIPT_PARAMS_${SRCNAME}-compute = "${OS_DEFAULT_INITSCRIPT_PARAMS}"
277INITSCRIPT_NAME_${SRCNAME}-consoleauth = "nova-consoleauth" 283INITSCRIPT_NAME_${SRCNAME}-consoleauth = "nova-consoleauth"
284INITSCRIPT_PARAMS_${SRCNAME}-consoleauth = "${OS_DEFAULT_INITSCRIPT_PARAMS}"
278INITSCRIPT_NAME_${SRCNAME}-novncproxy = "nova-novncproxy" 285INITSCRIPT_NAME_${SRCNAME}-novncproxy = "nova-novncproxy"
286INITSCRIPT_PARAMS_${SRCNAME}-novncproxy = "${OS_DEFAULT_INITSCRIPT_PARAMS}"
279 287