Make libguestfs API calls run in a thread pool
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Daniel Berrange |
Bug Description
In the following commit direct use of the libguestfs API was introduced:
commit 74e38f1baefb020
Author: Daniel P. Berrange <email address hidden>
Date: Tue Nov 13 11:03:26 2012 +0000
Introduce a VFS implementation backed by the libguestfs APIs
This implements the VFS APIs using the libguestfs Python APIs.
This removes the need to map the virtual disk image into the
host filesystem, and thus avoids potential symlink attacks
from the guest filesystem. It also performs better than the
libguestfs FUSE module
blueprint: virt-disk-
Change-Id: I3202ec9479f22a
Signed-off-by: Daniel P. Berrange <email address hidden>
as this is a native API though and Nova uses eventlet, this has the effect of blocking all green threads. To fix this concurrency bottleneck the code must be made to use the eventlet tpool for invoking libguestfs APIs.
Changed in nova: | |
milestone: | none → grizzly-rc1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | grizzly-rc1 → 2013.1 |
Fix proposed to branch: master /review. openstack. org/22838
Review: https:/