nova/nova/conductor
Dan Smith 81af1ab488 Make Serializer able to backlevel objects
This improves handling the situation where nova-api sends newer
objects to an older compute node. In this case, the serializer detects
the IncompatibleObjectVersion error and asks conductor to backlevel it.
This means we call into the conductor with the primitive object that we
can't handle, and basically ask it to hydrate it and call
obj_make_compatible() on our behalf and pass it back to us.

This eliminates the need for API to know whether it's talking to
an older compute and allows a newer conductor to assist older
compute nodes during upgrades to a significant degree.

Adapted for havana/stable from master commit: 0eb7e35

Related-Bug: #1258256
Change-Id: I4b17c8382619e4f73b83c026bf68549ac67a68a2
2013-12-16 10:51:05 -08:00
..
tasks Fix live-migrate when source image deleted 2013-09-09 16:39:53 +00:00
__init__.py Set up 'compute_task' conductor namespace. 2013-05-24 12:52:45 -04:00
api.py Make Serializer able to backlevel objects 2013-12-16 10:51:05 -08:00
manager.py Make Serializer able to backlevel objects 2013-12-16 10:51:05 -08:00
rpcapi.py Make Serializer able to backlevel objects 2013-12-16 10:51:05 -08:00