nova/nova
Dan Smith 2fee972bde Sanitize instance in InstanceMetadata to avoid un-pickleable context
This is a more strategic fix for the issue of us trying to pickle
an instance with a context that has complex data structures inside
(i.e. SQLAlchemy connections) into the oslo cache. The right solution
is for us to stop storing random python objects (InstanceMetadata)
in the cache with pickle. However, that's a larger change and more
complex for deployers to roll over. This attempts to sanitize the
instance before we pickle it to get things working again.

Change-Id: Ie7d97ce5c62c8fb9da5822590a64210521f8ae7a
Closes-Bug: #1694666
2017-06-29 11:53:11 -07:00
..
CA
api Sanitize instance in InstanceMetadata to avoid un-pickleable context 2017-06-29 11:53:11 -07:00
cells Handle uuid in HostAPI.compute_node_get 2017-06-19 09:57:49 -04:00
cmd Remove translation of log messages 2017-06-09 09:06:16 +00:00
common
compute Merge "Fix redundant BDM lookups during rebuild" 2017-06-29 14:57:04 +00:00
conductor _schedule_instances() supporting a RequestSpec object 2017-06-22 14:29:31 +02:00
conf Merge "Cleanup the plethora of libvirt live migration options" 2017-06-29 15:03:47 +00:00
console Fix the race condition with novnc 2017-06-07 20:41:27 +00:00
consoleauth Move to proper target_cell calling convention 2017-05-23 08:12:42 -07:00
db Merge "Count floating ips to check quota" 2017-06-20 20:57:39 +00:00
hacking Remove unused variable 2017-06-12 18:19:57 +07:00
image Add service_token for nova-glance interaction 2017-06-07 20:11:06 +00:00
ipv6
keymgr
locale Imported Translations from Zanata 2017-03-03 10:09:38 +00:00
network Merge "Fix the note at the end of allocate_for_instance" 2017-06-29 15:04:31 +00:00
notifications Merge "Transform instance.live_migration_rollback notification" 2017-06-26 18:26:24 +00:00
objects Merge "XenAPI: device tagging" 2017-06-29 16:08:19 +00:00
pci Modify PciPassthroughFilter to accept lists 2017-04-11 19:49:07 +00:00
policies Merge "Update policy description for os-volumes" 2017-05-31 19:32:12 +00:00
scheduler Merge "_schedule_instances() supporting a RequestSpec object" 2017-06-29 14:04:01 +00:00
servicegroup Fix the display of updated_at time when using memcache driver. 2017-05-26 16:48:07 +08:00
tests Sanitize instance in InstanceMetadata to avoid un-pickleable context 2017-06-29 11:53:11 -07:00
virt Merge "XenAPI: device tagging" 2017-06-29 16:08:19 +00:00
vnc
volume Skip microversion discovery check for update/delete volume attachments 2017-06-08 10:30:53 -04:00
wsgi Strengthen the warning on the old broken WSGI script 2017-06-28 07:51:31 -07:00
__init__.py
availability_zones.py Avoid lazy-load error when getting instance AZ 2017-05-25 15:46:22 -04:00
baserpc.py
block_device.py db: Add attachment_id to block_device_mapping 2017-03-16 15:26:33 -04:00
cache_utils.py remove log translation tags from nova.cells 2017-04-10 14:48:07 +00:00
config.py Integrate OSProfiler and Nova 2017-01-18 15:00:14 +07:00
context.py Have nova.context use super from_context 2017-05-25 10:37:26 -04:00
crypto.py
debugger.py
exception.py Plumbing for tagged nic attachment 2017-06-23 20:06:42 +03:00
exception_wrapper.py Remove **kwargs passing in payload __init__ 2017-06-08 08:50:40 +00:00
filters.py
hooks.py
i18n.py
loadables.py
manager.py Integrate OSProfiler and Nova 2017-01-18 15:00:14 +07:00
policy.py [2/3]Replace six.iteritems() with .items() 2017-01-09 09:11:00 +00:00
profiler.py Integrate OSProfiler and Nova 2017-01-18 15:00:14 +07:00
quota.py Count floating ips to check quota 2017-06-19 21:51:46 +00:00
rpc.py Replace messaging.get_transport with get_rpc_transport 2017-06-05 15:05:29 -04:00
safe_utils.py
service.py service: use restart_method='mutate' for all services 2017-05-05 10:54:40 +03:00
service_auth.py Add service_token for nova-cinder interaction 2017-01-11 15:49:16 +00:00
test.py Add a reset for traits DB sync 2017-06-28 17:17:27 +00:00
utils.py trivial: Remove dead code 2017-05-22 17:01:45 +01:00
version.py
weights.py Correct some spelling errors 2017-02-25 02:45:30 +00:00
wsgi.py [2/3]Replace six.iteritems() with .items() 2017-01-09 09:11:00 +00:00