nova/nova/virt/libvirt
Qin Zhao 7f293ec49c Ensure to store context in thread local after spawn/spawn_n
https://review.openstack.org/#/c/171299/ introduces a wrapper for utils.spawn_n
to update context in thread local store. However, there are other routines in
driver code which calls greenthread.spawn or greenthread.spawn_n, so that they
will not update context in thread local store. The commit adds utils.spawn as a
new wrapper, and also make those codes call spawn/spawn_n of utils, in order to
ensure the context of logging is correct.

Change-Id: I3623e60c49e442e2431cf017540422aa59bc285a
Related-Bug: 1404268
2015-06-03 14:44:05 +00:00
..
__init__.py Remove vi modelines 2014-02-03 14:19:44 +00:00
blockinfo.py Replace dict.iteritems() with six.iteritems(dict) 2015-05-22 11:33:18 -07:00
compat.py Workaround for race condition in libvirt 2015-03-14 20:17:41 -03:00
config.py libvirt: make default value of numa cell memory to 0 when not defined 2015-03-19 04:10:08 -04:00
designer.py Replace dict.iteritems() with six.iteritems(dict) 2015-05-22 11:33:18 -07:00
dmcrypt.py Adds ephemeral storage encryption for LVM back-end images 2014-09-06 12:40:48 -04:00
driver.py Ensure to store context in thread local after spawn/spawn_n 2015-06-03 14:44:05 +00:00
firewall.py libvirt: retry to undefine network filters during _post_live_migration 2015-04-29 10:48:23 -07:00
host.py Fix version unit test on Python 3 2015-05-25 13:33:59 +02:00
imagebackend.py Replace dict.iteritems() with six.iteritems(dict) 2015-05-22 11:33:18 -07:00
imagecache.py libvirt: deprecate the remove_unused_kernels config option 2015-05-12 07:49:12 -07:00
lvm.py Libvirt: Allow missing volumes during delete 2015-02-24 11:55:51 +00:00
quobyte.py Use oslo.log 2015-02-22 07:56:40 -05:00
rbd_utils.py Fixes _cleanup_rbd code to capture ImageBusy exception 2015-04-01 09:45:47 -07:00
remotefs.py Use oslo.log 2015-02-22 07:56:40 -05:00
utils.py libvirt/utils.py: Remove 'encryption' flag from create_cow_image 2015-04-28 09:15:24 +02:00
vif.py Switch nova.virt.libvirt.* to instance dot notation 2015-03-03 18:23:22 -05:00
volume.py Fix version unit test on Python 3 2015-05-25 13:33:59 +02:00