Comment 9 for bug 1745112

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to congress (stable/pike)

Reviewed: https://review.openstack.org/540551
Committed: https://git.openstack.org/cgit/openstack/congress/commit/?id=8b18f0574a6619279b7fc6169f74f2bbea0e30f1
Submitter: Zuul
Branch: stable/pike

commit 8b18f0574a6619279b7fc6169f74f2bbea0e30f1
Author: Eric K <email address hidden>
Date: Fri Feb 2 15:22:36 2018 -0800

    eventlet workaround to avoid import cycle issue

    Do get_hub() before monkey_patch() to workaround issue with
    import cycles in eventlet < 0.22.0;
    Based on the worked-around in eventlet with patch
    https://github.com/eventlet/eventlet/commit/b756447bab51046dfc6f1e0e299cc997ab343701

    Also moved monkey_patch() up as far as possible to make sure all imports
    get patched modules.

    Closes-Bug: 1746136
    Closes-Bug: 1745112

    Conceptually cherry-picked from change I72c349e81dfc02136b22637c707ad4908c9f269e

    Change-Id: I0ed736f30f8fd7a3ec046e5810b84b52910fa4c9