Comment 1 for bug 1636338

Revision history for this message
Hans Lindgren (hanlind) wrote :

It looks like [1] changed the way cpu_pinning_requested works without considering backwards compatibility for older instances (instances with InstanceNUMACell < 1.3 that don't store cpu_policy).

     def cpu_pinning_requested(self):
 - return self.cpu_pinning is not None
 + return self.cpu_policy == obj_fields.CPUAllocationPolicy.DEDICATED

Maybe introducing some fallback to the old check if InstanceNUMACell < 1.3 will do the trick.

[1] https://github.com/openstack/nova/commit/dfe6545329e6d7e417615af44f6b5588948699db