]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Remove disable_service from DBs configuration
authorAssaf Muller <amuller@redhat.com>
Mon, 12 Oct 2015 14:40:49 +0000 (10:40 -0400)
committerIhar Hrachyshka <ihrachys@redhat.com>
Mon, 12 Oct 2015 18:22:00 +0000 (20:22 +0200)
Remove disable_service from configure_for_func_testing.
A recent Devstack patch (Linked in bug report) checks
that a disabled service is not enabled later. This breaks
the code this patch touches. I believe the DBs were disabled
and enabled with the assumption that Devstack expects only
a single DB to be configured at a time, but that doesn't
seem to be the case. Simply removing the disable calls seems
to work fine.

Also exclude oslo.messaging==2.6.0 as per global-requirements.txt.

Closes-Bug: #1505259
Closes-Bug: #1505295

Depends-On: I47ab12f719fba41c2f0c03047b05eb28f4423682
Change-Id: I0fbcc1218e1aa9adbf89f6121c1c2e224ed93cab

requirements.txt
tools/configure_for_func_testing.sh

index 751d14bc8779e99dc5a73c615bd233b2ae655756..3080e542d632b6924fdd239db2d58c0c55c7c4bb 100644 (file)
@@ -31,7 +31,7 @@ oslo.context>=0.2.0 # Apache-2.0
 oslo.db>=2.4.1 # Apache-2.0
 oslo.i18n>=1.5.0 # Apache-2.0
 oslo.log>=1.8.0 # Apache-2.0
-oslo.messaging!=1.17.0,!=1.17.1,>=1.16.0 # Apache-2.0
+oslo.messaging!=1.17.0,!=1.17.1,>=1.16.0,!=2.6.0 # Apache-2.0
 oslo.middleware>=2.8.0 # Apache-2.0
 oslo.policy>=0.5.0 # Apache-2.0
 oslo.rootwrap>=2.0.0 # Apache-2.0
index 9a9619241c470681db0f3ec0b722611e1f8b0032..3a431b02996864bd46104dd5b1159ce70fec9510 100755 (executable)
@@ -124,13 +124,11 @@ function _install_databases {
 
     source $DEVSTACK_PATH/lib/database
 
-    disable_service postgresql
     enable_service mysql
     initialize_database_backends
     install_database
     configure_database_mysql
 
-    disable_service mysql
     enable_service postgresql
     initialize_database_backends
     install_database