<html><body>
<p><font size="2" face="sans-serif">Hey all, </font><br>
<br>
<font size="2" face="sans-serif">Recently there has been some push to get a unified logging implementation pulled from Oslo-incubator into Keystone (Blueprint: <a href="https://blueprints.launchpad.net/keystone/+spec/unified-logging-in-keystone">https://blueprints.launchpad.net/keystone/+spec/unified-logging-in-keystone</a>). Keystone has been actively working to isolate eventlet code within Keystone and bringing in the current implementation from Oslo-incubator would go against that work, as /oslo-incubator/openstack/common/log.py imports  /oslo-incubator/openstack/common/local.py which has a dependency on eventlet (<a href="https://github.com/openstack/oslo-incubator/blob/master/openstack/common/local.py#L22">https://github.com/openstack/oslo-incubator/blob/master/openstack/common/local.py#L22</a>) and is used for storing references to contexts. I know there has been a couple of projects looking to not be dependent on eventlet and thought this might be a good topic for the mailing list, especially if these changes end up in Oslo-incubator. </font><br>
<br>
<font size="2" face="sans-serif">After discussion with a couple of the Keystone members, one option is to tweak local.py to check if eventlet is even installed (similar to def _ensure_subprocess here: <a href="https://github.com/openstack/python-keystoneclient/blob/master/keystoneclient/common/cms.py#L11">https://github.com/openstack/python-keystoneclient/blob/master/keystoneclient/common/cms.py#L11</a>) and if it isn't then try implementing a different WeakLocal store not using corolocal.local. Any other ideas on how to approach this are more than welcome. Thanks!</font><br>
<br>
<font size="2" face="sans-serif"><br>
<br>
Best Regards, <br>
<br>
Lance Bragstad <br>
Software Engineer - OpenStack  <br>
Cloud Solutions and OpenStack Development<br>
T/L 553-5409, External 507-253-5409 <br>
ldbragst@us.ibm.com, Bld 015-2/C118</font></body></html>