Comment 11 for bug 1821824

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to nova (stable/rocky)

Reviewed: https://review.openstack.org/649602
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=a40bce7f80fc002b1a4d774b1f9394adb747016e
Submitter: Zuul
Branch: stable/rocky

commit a40bce7f80fc002b1a4d774b1f9394adb747016e
Author: mb <email address hidden>
Date: Wed Mar 27 01:48:29 2019 +0100

    Adding tests to demonstrate bug #1821824

    Fixed functional test test_flavor_traits_based_scheduling as it
    would pass 50% of the times even if the required trait was not
    taken into account by adding a new part that disables the compute
    host that has the required trait and retries, expecting a no valid
    host error.

    Added functional test test_flavor_forbidden_traits_based_scheduling
    to test that forbidden traits are taken into account.

    The second test temporarily passes where it should not until the
    next commit where the bug is actually fixed.

    Change-Id: I1c7e2d5ff2e7b5158f8f2c4b2ebce5c20e99a984
    Related-Bug: #1821824
    (cherry picked from commit 13e661792d73c27bcc7616b6bf612b5784e994e3)
    (cherry picked from commit c97466456f9a8525074ef78def44ecb491bfb793)