summaryrefslogtreecommitdiffstats
path: root/nova/utils.py
diff options
context:
space:
mode:
authorStanislaw Pitucha <stanislaw.pitucha@hp.com>2013-03-27 16:17:38 +0000
committerStanislaw Pitucha <stanislaw.pitucha@hp.com>2013-03-28 13:51:35 +0000
commit2da5ea6e5685ae5c349fc1d175594aecbe0a0e23 (patch)
tree2f3d1c897f2e28c3f7c995f672acdf273690136d /nova/utils.py
parentf281afd2ba30c6efa0fb64737a5cb93e1dd28b8c (diff)
downloadnova-2da5ea6e5685ae5c349fc1d175594aecbe0a0e23.tar.gz
nova-2da5ea6e5685ae5c349fc1d175594aecbe0a0e23.tar.xz
nova-2da5ea6e5685ae5c349fc1d175594aecbe0a0e23.zip
Ensure only pickle-able objects live in metadata
Conductor api has been added to InstanceMetadata object, but it cannot be serialised. This breaks storing metadata in memcache, because the information needs to be passed through pickle. Since the field was not used outside of the constructor, it can be removed to fix the problem. Also add a test that pickles a sample InstanceMetadata to catch similar failures in the future. Fixes bug 1160900 Change-Id: I7e8cef5a131290eaa1402d48295026bcac6baff6
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions