This patch moves the monkey_patch call into the glance scripts that
needs libs to be monkey_patched. This seems to be a good practice and
has given good results for other projects as well.
This change is needed to avoid loading / initializing modules
before other libs are patched. For example: logging module.
Reviewed: https:/ /review. openstack. org/28279 github. com/openstack/ glance/ commit/ 9ce21bd10c463ba b16c520cb4ddbad fa1e7fa8d3
Committed: http://
Submitter: Jenkins
Branch: stable/grizzly
commit 9ce21bd10c463ba b16c520cb4ddbad fa1e7fa8d3
Author: Flaper Fesp <email address hidden>
Date: Thu Apr 4 11:15:15 2013 +0200
Call monkey_patch before other modules are loaded
This patch moves the monkey_patch call into the glance scripts that
needs libs to be monkey_patched. This seems to be a good practice and
has given good results for other projects as well.
This change is needed to avoid loading / initializing modules
before other libs are patched. For example: logging module.
Fixes bug 1163722
Change-Id: Idee486851606d7 65fb11598967a4f 7d56cf46c97 9b5e351d14f47de ebdedcb001
Cherry-picked: 1c5a4d2bdcc0043