nova/nova/tests/unit/virt/disk/vfs
Matt Riedemann 7c30da1384 Don't launch guestfs in a thread pool if guestfs.debug is enabled
When guestfs.debug is enabled, we're handling callback events
from guestfs and logging them at debug level. When guestfs
is launched to inspect capabilities, that is currently done
in an eventlet thread pool. Because of the concurrent logging
along with the eventlet thread, we can hit an issue where eventlet
tries to switch threads and fails and then we hang the launch
call to guestfs, which hangs creating an instance.

This change simply avoids using a thread pool to launch guestfs
if guestfs.debug is True.

Change-Id: I0ffe93a031154b123c8beff96a695df5a280b935
Closes-Bug: #1737214
2017-12-08 13:15:50 -05:00
..
__init__.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
fakeguestfs.py Guestfs handle no passwd or group in image 2016-12-09 12:48:44 +00:00
test_guestfs.py Don't launch guestfs in a thread pool if guestfs.debug is enabled 2017-12-08 13:15:50 -05:00
test_localfs.py Move blkid calls to privsep. 2017-10-26 07:16:09 +11:00