commit 0eb7e35fbfe5de5f9f00ff1a0cce1d6a61f3a902
Author: Dan Smith <email address hidden>
Date: Mon Dec 2 12:25:04 2013 -0800
Make Serializer/Conductor 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 a new method in 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.
Reviewed: https:/ /review. openstack. org/59560 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=0eb7e35fbfe 5de5f9f00ff1a0c ce1d6a61f3a902
Committed: https:/
Submitter: Jenkins
Branch: master
commit 0eb7e35fbfe5de5 f9f00ff1a0cce1d 6a61f3a902
Author: Dan Smith <email address hidden>
Date: Mon Dec 2 12:25:04 2013 -0800
Make Serializer/ Conductor able to backlevel objects
This improves handling the situation where nova-api sends newer ectVersion error and asks conductor to backlevel it. compatible( ) on our behalf and pass it back to us.
objects to an older compute node. In this case, the serializer detects
the IncompatibleObj
This means we call into a new method in conductor with the primitive
object that we can't handle, and basically ask it to hydrate it and
call obj_make_
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.
Related-Bug: #1258256 f73b83c026bf685 49ac67a68a2
Change-Id: I4b17c8382619e4