Commit: 271464fa14aba4899e5c9bfb2cc39f28c674af7d
Author: Ivan Kolodyazhny <email address hidden>
Date: Wed Aug 5 15:49:07 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/10115 ci/fuel- 6.0-updates/ 2014.2
Submitter: Vitaly Sedelnik <email address hidden>
Branch: openstack-
Commit: 271464fa14aba48 99e5c9bfb2cc39f 28c674af7d
Author: Ivan Kolodyazhny <email address hidden>
Date: Wed Aug 5 15:49:07 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