When we added the requested_destination field for the RequestSpec object
in Newton, we forgot to pass it to the legacy dictionary when wanting to
use scheduler methods not yet supporting the NovaObject.
As a consequence, when we were transforming the RequestSpec object into a
tuple of (request_spec, filter_props) dicts and then rehydrating a new
RequestSpec object using those dicts, the newly created object was not
keeping that requested_destination field from the original.
Conflicts: nova/objects/request_spec.py
NOTE(mriedem): The conflict is due to not having change
b26ef568077f1bd9af8076c362bad06da3ec7e43 in Newton.
Reviewed: https:/ /review. openstack. org/516119 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=6ce8bcab7cd 73e27adfd26fcee e7ec7c397bfa9b
Committed: https:/
Submitter: Zuul
Branch: stable/newton
commit 6ce8bcab7cd73e2 7adfd26fceee7ec 7c397bfa9b
Author: Sylvain Bauza <email address hidden>
Date: Thu Jul 6 17:17:31 2017 +0200
Pass requested_ destination in filter_properties
When we added the requested_ destination field for the RequestSpec object destination field from the original.
in Newton, we forgot to pass it to the legacy dictionary when wanting to
use scheduler methods not yet supporting the NovaObject.
As a consequence, when we were transforming the RequestSpec object into a
tuple of (request_spec, filter_props) dicts and then rehydrating a new
RequestSpec object using those dicts, the newly created object was not
keeping that requested_
Conflicts:
nova/ objects/ request_ spec.py
NOTE(mriedem): The conflict is due to not having change f1bd9af8076c362 bad06da3ec7e43 in Newton.
b26ef568077
Conflicts:
nova/ tests/unit/ objects/ test_request_ spec.py
NOTE(tonyb): Due to having Icb418f2be575bb 2ba82756fdeb67b 24a28950746
Depends-On: I344d8fdded9b7d 5385fcb41b699f1 352acb4cda7
Change-Id: Iba0b88172e9a3b fd4f216dd364d70 f7e01c60ee2 31f43db6ca9c21d b8aeb9007e) b0e39d6f1f3183f 616c2b90f7) e6738156b55ee8e bc648054b4)
Closes-Bug: #1702454
(cherry picked from commit 69bef428bd555bb
(cherry picked from commit bceb176fb00104f
(cherry picked from commit 841121a95d76b10