summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorAdam Young <ayoung@redhat.com>2012-07-03 16:22:13 -0400
committerAdam Young <ayoung@redhat.com>2012-07-05 15:48:59 -0400
commit81cb2ab2f5b7bdcd372491731750687e31c15ae2 (patch)
tree28a6b9ac967ffaa6b56f746917befc557d9b06e3 /bin
parentf584c06aaa3ecb774f6aa68eb72cebd59f772fad (diff)
downloadkeystone-81cb2ab2f5b7bdcd372491731750687e31c15ae2.tar.gz
keystone-81cb2ab2f5b7bdcd372491731750687e31c15ae2.tar.xz
keystone-81cb2ab2f5b7bdcd372491731750687e31c15ae2.zip
Move monkey patch to keystone-all startup.
bug 1020569 Change-Id: I26c467dc6d96476f2a44b875bddf2cf3aec41859
Diffstat (limited to 'bin')
-rwxr-xr-xbin/keystone-all3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/keystone-all b/bin/keystone-all
index fc499967..8942ec47 100755
--- a/bin/keystone-all
+++ b/bin/keystone-all
@@ -2,6 +2,7 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4
import greenlet
+import eventlet
import logging
import os
import signal
@@ -17,6 +18,8 @@ if os.path.exists(os.path.join(possible_topdir,
'__init__.py')):
sys.path.insert(0, possible_topdir)
+eventlet.patcher.monkey_patch(all=False, socket=True, time=True, thread=True)
+
from paste import deploy
from keystone import config