[openstack-dev] Problem with debugging program having eventlet.monkey_patch() code

Monty Taylor mordred at inaugust.com
Thu Sep 27 17:23:56 UTC 2012

On 09/27/2012 10:05 AM, Adam Young wrote:
>> As a quick workaround you can change monkey patching at nova-scheduler
>> script:
>>  eventlet.monkey_patch(thread=False)
> In Keystone, we have been moving toward a command line switch
> --no_monkeypatch that as of now is in the test runner, and I would like
> to submit for the keystone-all code as well.  I origianlly thought I
> would be removing all of the monkeypatching, until I realized that it
> was just the thread monkeypatch that was causing the debugging problem.

When you say "in the test runner" - where do you mean? Monkeypatching
should be occuring the test base classes at this point, no?

Could I make a feature request that the conditional that controls this
also responds to an env-var so that we can have the same functionality
when using standard test runners?

> Can we standardize a name for this, and use it across all projects?
> Something like:
> --standard_threading?
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

More information about the OpenStack-dev mailing list