When an instance with numa topology is re-scheduled the conductor
migrate task blows with circular reference during request spec
serialization. It happens because there are ovos in the request spec
that jsonutils.dumps only serialize if requested explicitly.
This patch makes the explicit request.
This is a stable only bug fix as the borken code was removed in Stein by
the feature patch I4244f7dd8fe74565180f73684678027067b4506e
Conflicts: nova/tests/unit/conductor/tasks/test_migrate.py
The unit test case was re-implemented the test refactoring in
I57568e9a01664ee373ea00a8db3164109c982909 is missing from pike.
Closes-Bug: #1864665
Change-Id: I1942bfa9bd1baf8738d34c287216db7b59000a36
(cherry picked from commit 3871b38fe03aee7a1ffbbdfdf8a60b8c09e0ba76)
(cherry picked from commit 54ca5d9afb11867ea022464d7ecad9f1ce13e453)
Reviewed: https:/ /review. opendev. org/714148 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=f5091a91d0a 977dd43b939317e cdeb1cd5db1980
Committed: https:/
Submitter: Zuul
Branch: stable/pike
commit f5091a91d0a977d d43b939317ecdeb 1cd5db1980
Author: Balazs Gibizer <email address hidden>
Date: Tue Feb 25 16:48:48 2020 +0100
Avoid circular reference during serialization
When an instance with numa topology is re-scheduled the conductor
migrate task blows with circular reference during request spec
serialization. It happens because there are ovos in the request spec
that jsonutils.dumps only serialize if requested explicitly.
This patch makes the explicit request.
This is a stable only bug fix as the borken code was removed in Stein by 65180f736846780 27067b4506e
the feature patch I4244f7dd8fe745
Conflicts:
nova/ tests/unit/ conductor/ tasks/test_ migrate. py 664ee373ea00a8d b3164109c982909 is missing from pike.
The unit test case was re-implemented the test refactoring in
I57568e9a01
Closes-Bug: #1864665
Change-Id: I1942bfa9bd1baf 8738d34c287216d b7b59000a36 a1ffbbdfdf8a60b 8c09e0ba76) ea022464d7ecad9 f1ce13e453)
(cherry picked from commit 3871b38fe03aee7
(cherry picked from commit 54ca5d9afb11867