commit ccb7ef2b017edd1d192b597310c0688e690a9175
Author: Nikola Dipanov <email address hidden>
Date: Tue Nov 18 20:45:28 2014 +0100
Make Instance.save() update numa_topology
This is needed so that we can actually update the given topology with
the updated data after a successful claim.
Deleting it will also be needed when we actually make the resize work
properly for instances with NUMA topology, so we add it here as well.
We do not expose the new InstanceNUMATopology methods as @remotable to
avoid having to bump the object version thus making this an easier
backport target. This is OK since they are only called from
Instance.save() which is @remotable, and can be trivially made remotable
should this be needed later (causing a version bump that need not be
backported).
Partial-bug: #1386236
(cherry picked from commit a59e1a9c7e54efaadc39d366772972463855dfc7)
Reviewed: https:/ /review. openstack. org/137685 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=ccb7ef2b017 edd1d192b597310 c0688e690a9175
Committed: https:/
Submitter: Jenkins
Branch: stable/juno
commit ccb7ef2b017edd1 d192b597310c068 8e690a9175
Author: Nikola Dipanov <email address hidden>
Date: Tue Nov 18 20:45:28 2014 +0100
Make Instance.save() update numa_topology
This is needed so that we can actually update the given topology with
the updated data after a successful claim.
Deleting it will also be needed when we actually make the resize work
properly for instances with NUMA topology, so we add it here as well.
We do not expose the new InstanceNUMATop ology methods as @remotable to
avoid having to bump the object version thus making this an easier
backport target. This is OK since they are only called from
Instance.save() which is @remotable, and can be trivially made remotable
should this be needed later (causing a version bump that need not be
backported).
Partial-bug: #1386236 adc39d366772972 463855dfc7)
(cherry picked from commit a59e1a9c7e54efa
Conflicts: tests/unit/ objects/ test_instance. py
nova/
Change-Id: I64ff2d00ca20bd 065bb17ebaa9c40 b64b8cbb817