nova/nova/virt
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
..
disk Merge "Handle return code 2 from blkid calls" 2015-05-11 18:43:56 +00:00
hyperv Merge "Hyper-V: Fixes cold migration / resize issue" 2015-05-29 15:16:40 +00:00
ironic Merge "Ironic: Fix delete instance when spawning" 2015-05-21 18:09:44 +00:00
libvirt Ensure to store context in thread local after spawn/spawn_n 2015-06-03 14:44:05 +00:00
vmwareapi Ensure to store context in thread local after spawn/spawn_n 2015-06-03 14:44:05 +00:00
xenapi Merge "Removed unused methods and classes" 2015-05-29 00:54:26 +00:00
__init__.py Removed copyright from empty files 2014-02-27 14:27:54 +02:00
block_device.py Merge "virt: make sure convert_all_volumes catches blank volumes too" 2015-05-29 13:54:52 +00:00
configdrive.py Compute: update config drive settings on instance 2015-03-04 08:46:43 -08:00
diagnostics.py Diagnostics: add validation for types 2014-08-05 01:49:17 -07:00
driver.py Merge "remove the CONF.allow_migrate_to_same_host" 2015-04-23 13:46:28 +00:00
event.py Add 'suspended' lifecycle event 2015-04-03 03:59:20 +03:00
fake.py Drop L from literal integer numbers for Python 3 2015-05-11 11:15:33 +02:00
firewall.py Switch nova.virt.* to use the object dot notation 2015-03-03 08:08:16 -05:00
hardware.py Fix missing the cpu_pinning request 2015-03-26 21:36:35 +08:00
imagecache.py Switch to using oslo_* instead of oslo.* 2015-02-06 06:03:10 -05:00
images.py Merge "virt: Fix images test interaction" 2015-03-04 01:24:45 +00:00
interfaces.template Fixes interfaces template identification issue 2014-12-07 17:52:34 +02:00
netutils.py Merge "Don't ignore template argument in get_injected_network_template" 2015-06-01 21:49:30 +00:00
storage_users.py Use oslo.log 2015-02-22 07:56:40 -05:00
virtapi.py Deprecate and remove agent_build_get_by_triple() 2014-06-25 07:18:19 -07:00
volumeutils.py Cache empty results in libvirt get_volume_connector 2014-12-30 20:59:52 +01:00
watchdog_actions.py Add watchdog device support to libvirt driver 2014-03-03 14:59:58 -05:00