[meta-virtualization] [m-c-s][PATCH 2/3] python-keystone: set connection drivername

Mark Asselstine mark.asselstine at windriver.com
Wed Nov 22 08:08:45 PST 2017


psycopg2 will be selected by default but this will avoid warnings in
the log.

Signed-off-by: Mark Asselstine <mark.asselstine at windriver.com>
---
 meta-openstack/recipes-devtools/python/python-keystone/keystone.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-openstack/recipes-devtools/python/python-keystone/keystone.conf b/meta-openstack/recipes-devtools/python/python-keystone/keystone.conf
index cdeb156..2d635f3 100644
--- a/meta-openstack/recipes-devtools/python/python-keystone/keystone.conf
+++ b/meta-openstack/recipes-devtools/python/python-keystone/keystone.conf
@@ -75,7 +75,7 @@ admin_token=%SERVICE_TOKEN%
 
 [database]
 # The SQLAlchemy connection string used to connect to the database
-connection = postgresql://%DB_USER%:%DB_PASSWORD%@localhost/keystone
+connection = postgresql+psycopg2://%DB_USER%:%DB_PASSWORD%@localhost/keystone
 
 # the timeout before idle sql connections are reaped
 # idle_timeout = 200
-- 
2.7.4



More information about the meta-virtualization mailing list