Commit Ibaf43858d60e1320c339f2523b5c09c7f7c7f91e caused new problem with
cross thread communication. According to Python documentation, code can
lead to a deadlock if the spawned thread directly or indirectly attempts
to import a module. python-rados spawns new thread to connect to
cluster. So I removed new spawning new thread to connect to rados. All
long-running operations calls whith python-rbd are still implemented in
native Python threads to block eventlet loop.
Reviewed: https:/ /review. fuel-infra. org/9411 ci/fuel- 7.0/2015. 1.0
Submitter: mos-infra-ci <>
Branch: openstack-
Commit: e1967e8b4c6ae74 48a156d2b8f8b34 5deabf515d
Author: Ivan Kolodyazhny <email address hidden>
Date: Thu Jul 16 14:13:24 2015
Fix block eventlet threads on rbd calls
Commit Ibaf43858d60e13 20c339f2523b5c0 9c7f7c7f91e caused new problem with
cross thread communication. According to Python documentation, code can
lead to a deadlock if the spawned thread directly or indirectly attempts
to import a module. python-rados spawns new thread to connect to
cluster. So I removed new spawning new thread to connect to rados. All
long-running operations calls whith python-rbd are still implemented in
native Python threads to block eventlet loop.
Closes-Bug: #1459781 67e9aa2657b7b1b 3c5d30eb2bb
Change-Id: I4b6c3be71f4210