Revert "Revert "oran-shell-release: release image for F""
[pti/rtp.git] / meta-starlingx / meta-stx-integ / recipes-devtools / python / files / python-keystone / keystone-explicitly-import-localcontext-from-oslo.me.patch
1 From 0d6b66b2d5314b454a421bd22fcc8173baf0bc95 Mon Sep 17 00:00:00 2001
2 From: Bruce Ashfield <bruce.ashfield@windriver.com>
3 Date: Mon, 20 Oct 2014 15:59:33 -0400
4 Subject: [PATCH] keystone: explicitly import localcontext from oslo.messaging
5
6 When using apache as a front end to keystone, juno has a problem when
7 authenticating clients due to a failure to import localcontext from
8 oslo.
9
10 We can work around this issue by doing the export explicitly in the
11 entry routine versus in the library itself.
12
13 Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
14 ---
15  httpd/keystone.py | 1 +
16  1 file changed, 1 insertion(+)
17
18 diff --git a/httpd/keystone.py b/httpd/keystone.py
19 index f5ce498c5152..b2b9285ad2ab 100644
20 --- a/httpd/keystone.py
21 +++ b/httpd/keystone.py
22 @@ -32,6 +32,7 @@ from keystone.common import sql
23  from keystone import config
24  from keystone.openstack.common import log
25  from keystone import service
26 +from oslo.messaging import localcontext
27  
28  
29  CONF = config.CONF
30 -- 
31 1.9.1
32