From cf83eccec25d945d6278fccf6427d51df0ede2cf Mon Sep 17 00:00:00 2001 From: "ChangBo Guo(gcb)" <eric.guo@easystack.cn> Date: Wed, 29 Jun 2016 17:09:39 +0800 Subject: [PATCH] Add namespace oslo.db.concurrency in nova-config-generator.conf Nova uses oslo_db.concurrency.TpoolDbapiWrapper in [1], and config option use_tpool decides to use of thread pooling for all DB API calls[2]. We should provide this config opitons to users. [1]https://github.com/openstack/nova/blob/master/nova/db/api.py#L43 [2]https://github.com/openstack/oslo.db/blob/master/oslo_db/concurrency.py#L28 Change-Id: Ic596a4db39224b5bb676765b6bcb7ac09d3aaaf4 --- etc/nova/nova-config-generator.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/etc/nova/nova-config-generator.conf b/etc/nova/nova-config-generator.conf index 8a1ba1fcbd80..c11a4153df63 100644 --- a/etc/nova/nova-config-generator.conf +++ b/etc/nova/nova-config-generator.conf @@ -12,6 +12,7 @@ namespace = oslo.policy namespace = oslo.service.periodic_task namespace = oslo.service.service namespace = oslo.db +namespace = oslo.db.concurrency namespace = oslo.middleware namespace = oslo.concurrency namespace = keystonemiddleware.auth_token