diff options
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-keystone')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-keystone/keystone-explicitly-import-localcontext-from-oslo.me.patch | 32 |
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 @@ | |||
| 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 | |||
