Comment 19 for bug 1702454

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/newton)

Reviewed: https://review.openstack.org/516119
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=6ce8bcab7cd73e27adfd26fceee7ec7c397bfa9b
Submitter: Zuul
Branch: stable/newton

commit 6ce8bcab7cd73e27adfd26fceee7ec7c397bfa9b
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
    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.

    Conflicts:
          nova/tests/unit/objects/test_request_spec.py

    NOTE(tonyb): Due to having Icb418f2be575bb2ba82756fdeb67b24a28950746

    Depends-On: I344d8fdded9b7d5385fcb41b699f1352acb4cda7

    Change-Id: Iba0b88172e9a3bfd4f216dd364d70f7e01c60ee2
    Closes-Bug: #1702454
    (cherry picked from commit 69bef428bd555bb31f43db6ca9c21db8aeb9007e)
    (cherry picked from commit bceb176fb00104fb0e39d6f1f3183f616c2b90f7)
    (cherry picked from commit 841121a95d76b10e6738156b55ee8ebc648054b4)