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.
Related-Bug: #1702454
Change-Id: Id9adb10d2ef821c8b61d8f1d5dc9dd66ec7aaac8
(cherry picked from commit e0e2e065a495b4fa9ebdec987c935e3c83118c46)
Reviewed: https:/ /review. openstack. org/516111 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=de27ede60dd 66f7c4b76fe39c6 3c0305424a7903
Committed: https:/
Submitter: Zuul
Branch: stable/pike
commit de27ede60dd66f7 c4b76fe39c63c03 05424a7903
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 a9ebdec987c935e 3c83118c46)
(cherry picked from commit e0e2e065a495b4f