Commit: 945a43ea6d6528e7479fc1f4d6f67dc96ab8ea92
Author: Ivan Kolodyazhny <email address hidden>
Date: Wed Aug 5 15:43:18 2015
Fix block eventlet threads on rbd calls
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/10114 ci/fuel- 6.1/2014. 2
Submitter: Vitaly Sedelnik <email address hidden>
Branch: openstack-
Commit: 945a43ea6d6528e 7479fc1f4d6f67d c96ab8ea92
Author: Ivan Kolodyazhny <email address hidden>
Date: Wed Aug 5 15:43:18 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