Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 2B18BE00D07; Wed, 22 Nov 2017 08:09:05 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mail5.wrs.com (mail5.windriver.com [192.103.53.11]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 92223E00C78 for ; Wed, 22 Nov 2017 08:09:04 -0800 (PST) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail5.wrs.com (8.15.2/8.15.2) with ESMTPS id vAMG94P6019957 (version=TLSv1 cipher=AES128-SHA bits=128 verify=OK) for ; Wed, 22 Nov 2017 08:09:04 -0800 Received: from yow-dellw-ma.wrs.com (128.224.56.18) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server id 14.3.361.1; Wed, 22 Nov 2017 08:09:02 -0800 From: Mark Asselstine To: , Date: Wed, 22 Nov 2017 11:08:45 -0500 Message-ID: <1511366926-8247-2-git-send-email-mark.asselstine@windriver.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1511366926-8247-1-git-send-email-mark.asselstine@windriver.com> References: <1511366926-8247-1-git-send-email-mark.asselstine@windriver.com> MIME-Version: 1.0 Subject: [m-c-s][PATCH 2/3] python-keystone: set connection drivername X-BeenThere: meta-virtualization@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Discussion of layer enabling hypervisor, virtualization tool stack, and cloud support" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Nov 2017 16:09:05 -0000 Content-Type: text/plain psycopg2 will be selected by default but this will avoid warnings in the log. Signed-off-by: Mark Asselstine --- 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