summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-keystone/keystone-explicitly-import-localcontext-from-oslo.me.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-keystone/keystone-explicitly-import-localcontext-from-oslo.me.patch')
-rw-r--r--meta-openstack/recipes-devtools/python/python-keystone/keystone-explicitly-import-localcontext-from-oslo.me.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-keystone/keystone-explicitly-import-localcontext-from-oslo.me.patch b/meta-openstack/recipes-devtools/python/python-keystone/keystone-explicitly-import-localcontext-from-oslo.me.patch
new file mode 100644
index 0000000..5c152e0
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python-keystone/keystone-explicitly-import-localcontext-from-oslo.me.patch
@@ -0,0 +1,32 @@
1From 0d6b66b2d5314b454a421bd22fcc8173baf0bc95 Mon Sep 17 00:00:00 2001
2From: Bruce Ashfield <bruce.ashfield@windriver.com>
3Date: Mon, 20 Oct 2014 15:59:33 -0400
4Subject: [PATCH] keystone: explicitly import localcontext from oslo.messaging
5
6When using apache as a front end to keystone, juno has a problem when
7authenticating clients due to a failure to import localcontext from
8oslo.
9
10We can work around this issue by doing the export explicitly in the
11entry routine versus in the library itself.
12
13Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
14---
15 httpd/keystone.py | 1 +
16 1 file changed, 1 insertion(+)
17
18diff --git a/httpd/keystone.py b/httpd/keystone.py
19index 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--
311.9.1
32