Functional regression test for evacuate with a target
In I6ddcaaca37fc5387c2d2e9f51c67ea9e85acb5c5 we forgot to update the
legacy filter properties dictionary so the requested target wasn't
passed to the scheduler when evacuating.
Adding a functional test for verifying the behaviour.
NOTE(sbauza): The issue has been incendentally fixed in Pike by
I434af8e4ad991ac114dd67d66797a562d16bafe2 so the regression test just
verifies that the expected behaviour works.
The Newton and Ocata backports will be slightly different from that one as we
need to verify that host3 will be preferred eventually over host2.
Reviewed: https:/ /review. openstack. org/490997 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=6e332cb7f1f 1b18d117685a0a0 f5bb6a8e0c8e93
Committed: https:/
Submitter: Zuul
Branch: master
commit 6e332cb7f1f1b18 d117685a0a0f5bb 6a8e0c8e93
Author: Sylvain Bauza <email address hidden>
Date: Wed Aug 2 19:28:13 2017 +0200
Functional regression test for evacuate with a target
In I6ddcaaca37fc53 87c2d2e9f51c67e a9e85acb5c5 we forgot to update the
legacy filter properties dictionary so the requested target wasn't
passed to the scheduler when evacuating.
Adding a functional test for verifying the behaviour.
NOTE(sbauza): The issue has been incendentally fixed in Pike by 991ac114dd67d66 797a562d16bafe2 so the regression test just
I434af8e4ad
verifies that the expected behaviour works.
The Newton and Ocata backports will be slightly different from that one as we
need to verify that host3 will be preferred eventually over host2.
Related-Bug: #1702454
Change-Id: Id9adb10d2ef821 c8b61d8f1d5dc9d d66ec7aaac8